Computer Controlled Robot using Arduino

After designing this line follower robot using arduino uno, I have developed this computer controlled robot. It can be controlled via the computer and we can use specific keyboard keys to move it. It runs over serial communication which we have already discussed in our previous project – PC Controlled Home Automation.

PC-Controlled-Robot

Components Required

  1. Arduino UNO
  2. DC Motor
  3. Laptop
  4. Motor Driver L293D
  5. 9 Volt Battery
  6. Battery Connector
  7. USB cable
  8. Robot Chasis

Concepts and Details

We can divide this PC controlled robot circuit into different segments and they are – sensor section, control section and driver section. Let us see them separately.

Command or PC section: This section has a serial communication device like PC, laptop etc. Here in this project we have used a laptop for demonstration. We sends command to arduino by typing a character on hyper terminal or any other serial terminal like hyper terminal, Hercules, putty, arduino’s serial terminal etc.

Arduino-robot-block-diagram

Control Section: Arduino UNO is used for controlling whole the process of robot. Arduino reads commands sent by laptop and compare with defined characters or commands. If commands are matched, arduino sends appropriate command to driver section.

Driver section: driver section consists a L293D motor driver IC and two DC motors. Motor driver is used for driving motors because arduino does not supply enough voltage and current to motor. So we add a motor driver circuit to get enough voltage and current for motor. By collecting commands from arduino, motor driver drives motors according to commands.

Working

We have programmed the PC controlled robot to run by some commands that are send via serial communication to arduino from PC. (see programming section below)

When we press ‘f’ or ‘F’, robot start to move forward and moving continues until next command is given.

Robot using Arduino

When we press ‘b’ or ‘B’, robot change his state and start moving in backward direction until any other command is given.

backward

When we press ‘l’ or ‘L’, Robot gets turn left until the next command.left

  When we press ‘r” or ‘R’ robot turns to right.

Read More:  Computer Controlled Robot using Arduino


About The Author

Ibrar Ayyub

I am an experienced technical writer with a Master's degree in computer science from BZU Multan University. I have written for various industries, mainly home automation and engineering. My writing style is clear and simple, and I am skilled in using infographics and diagrams. I am a great researcher and am able to present information in a well-organized and logical manner.

Follow Us:
LinkedinTwitter
Scroll to Top