So, I'm following the How to Make Your First Arduino Robot tutorial after getting the robotics kit for Christmas.
I got through the Making the Chassis section and the Electrical section (at least I think I made it through the Electrical section, that might be causing the issue, not sure.) I moved on to the programming section and completed the first exercise and it works. The problem began when I tried to complete the Servo's section.
I typed in the code directly as it is in on the page, I checked it multiple times, here it is:
#include <Servo.h>
//create servo objects
Servo leftMotor;
Servo rightMotor;
void setup()
{
leftMotor.attach(13);
rightMotor.attach(12);
}
void loop()
{
leftMotor.write(180);
rightMotor.write(180);
}
and then uploaded it, but nothing happened.
I've been working at this for about 3 hours, stuck at this one section, so you can see why I might be a bit frustrated
.
Here's some pictures of the wiring:
Diagram of power:

Pictures (I gave up on diagrams, they were taking way too long - the links are from my blog):
- The connection to the servo (up close): http://wp.me/a2ZT4c-6d
- The Supersonic sensor wiring: http://wp.me/a2ZT4c-6e
- Overhead shots (two): http://wp.me/a2ZT4c-6f & http://wp.me/a2ZT4c-6g
I really want to make this robot, it sounds like fun!
Thanks!




Find content
Not Telling
