Basic project of robotics you can start with Arduino

{ pinMode(3,OUTPUT); //LEFT MOTOR pinMode(4,OUTPUT); pinMode(5,OUTPUT); //RIGHT MOTOR pinMode(6,OUTPUT); } void loop() {//FORWARD digitalWrite(3,HIGH); digitalWrite(4,LOW); digitalWrite(5,HIGH); digitalWrite(6,LOW); delay(2000); //BACKWARD digitalWrite(3,LOW); digitalWrite(4,HIGH); digitalWrite(5,LOW); digitalWrite(6,HIGH); delay(2000); //AXIAL LEFT TURN digitalWrite(3,LOW); digitalWrite(4,HIGH); digitalWrite(5,HIGH); digitalWrite(6,LOW); delay(1000); // AXIAL RIGHT TURN digitalWrite(3,HIGH); digitalWrite(4,LOW); digitalWrite(5,LOW); digitalWrite(6,HIGH); delay(1000); }

After uploading your program your robot should do like this:

Links:

1.chassis and motors

https://www.amazon.in/Robotly-ATmega328P-compatible-Arduino-Projects/dp/B084137J57/ref=sr_1_4?crid=2D95JXSSPT6XJ&dchild=1&keywords=arduino+uno&qid=1609955307&sprefix=ard%2Caps%2C308&sr=8-4https://www.amazon.in/Ai-STORE-L293D-Shield-Arduino-Mega2560/dp/B07Y6H9S8J/ref=sr_1_2?crid=1PO4DIQSLL41K&dchild=1&keywords=motor+driver+shield+for+arduino+uno&qid=1609955383&sprefix=motor+%2Caps%2C317&sr=8-2https://www.arduino.cc/en/guide/windows

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store