How to build a Basic Arduino-Compatible Collision-Avoiding Robot

Note: See the available Arduino Software Test Sketches and Collision-Avoidance Software HERE (Click)

Note: Later you will need to have the Arduino "IDE" software development system installed on your computer and working.

We have a detailed page on doing this if you have not used Arduino before. See it here:

We tried to design a simple robot which would be low cost ($40-50)

Here are the parts you will need. These are widely available on Ebay, Sparkfun, Adafruit etc. Links to YourDuino.com are included and show details and how-to on individual parts.

The Parts to build this Robot are available as a Kit HERE:

Step 1: Small Parts of the Robot Base Chassis

  • Caster Wheel. This swivels around to allow robot movement in any direction. When you assemble this later make sure you use the 4 screws with large heads. (see photo)
  • Encoder discs (2) Not Used in this kit. These can be used with more complex software to measure the wheel rotation.
  • 3mm (Millimeters) size 30mm long machine screw (4) use to assemble to motors and brackets.
  • Power Switch (optional): This may be difficult to push into place in the rectangular cutout in the chassis. Wiring details later.
  • Motor Mounting Brackets (4) will hold the motors to the chassis.
  • Assorted 3mm diameter machine screws and nuts.
  • 12mm long brass metal standoffs (4). These are threaded inside so screws can be used to hold the Caster Wheel in place at the right level.
<p>Hi, the code do not compiles in Arduino IDE 1.6.6, because shows the error message: error: 'RoboStartState' was not declared in this scope</p><p>SM RoboGo(RoboStartState); //create simple statemachine</p><p>Can you help me? </p>
<p>Hi Sir!</p><p>My name is Himu,from junior ramos brasileiro </p><p>Can you sent me the code and libraries please.</p><p>My email:c.r.junior@hotmail.com</p><p>Thank you</p>
<p>hi</p><p>Can you sent me the code and libraries please.</p><p>abubakar.shah69@gmail.com</p>
<p>Hi Sir!</p><p>My name is Himu,from Bangladesh.</p><p>Can you sent me the code and libraries please.</p><p>My email:asmhemu@gmail.com</p><p>Thank you!</p>
<p>Very Nice Project with lot of information. I even went through your site, you ve mentioned everything quite clear. I really liked the video very much, the Idea of pitching two Bots against each other is Awesome. Though the information over your site is quite clear but still I ve one question. I want to use an L293D Motor Driver coz I dont ve the 298N. Is it possible for me to use the 293D with the same code. Thanks in Advance.</p>

About This Instructable




More by YourDuino-Maker:HOW-TO use the ARDUINO SERIAL MONITOR YourDuino: HandBat - Handheld Ultrasonic Radar using Arduino YourDuino: Basic Arduino-Compatible Collision-Avoiding Robot 
Add instructable to: