Simple Robotic Movement using Arduino


In this article, we are going to see how to create a Simple Robot which will move around as per our commands. This is achieved by the L293D motor driver and Arduino.
  1. Arduino UNO
  2. Gear motors
  3. Robot chassis
  4. Wires
  5. L293D motor driver
Circuit Diagram
As per the circuit diagram, make the connections.
L293D is the motor driver which is utilized to convert low-level signals from Arduino to high-level signals for the motor. The movement is configured by the serial monitor selection. One simple concept is of rotation in a different direction by motors, due to the difference in the wire connection. The above is used as the basic principle of the L293D motor drivers where small signals from Arduino are directing the output external voltage provided by the battery to the L293D.
  1. Open the Arduino Software.
  1. Initialize the codings in the void setup by declaring the motor pins for the 2 motors. For one motor we have to use 2 pins of Arduino. One is utilized for forward movement and the other is for backward movement.
  1. Using conditional statements are used to code for the movement of the Bot movement. The forward movement is by making both the wheels work at the same time and for right and left movement one motor runs. One motor running will pull the bot in one direction and this results in the left or right movement.
  1. Upload the compiler and upload the coding and open the serial monitor.
  1. The output will be a bot movement.


In this article, we learned how to create a simple Robot that can move around as per our commands. If we press 1 in the serial monitor, the forward movement is found. Similarly, press 2 for backward movement, press 3 for left movement, press 4 for the right movement, and press 5 to Stop.

Recommended Ebook

Printing in C# Made Easy

Download Now!
Similar Articles