Jump to content


PatriotAce

Member Since 30 Dec 2013
Offline Last Active Sep 25 2015 09:46 PM
-----

Topics I've Started

Trouble with Robotics kit

30 December 2013 - 09:52 PM

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 :P.

 

Here's some pictures of the wiring:

 

Diagram of power:

 

power.png

 

Pictures (I gave up on diagrams, they were taking way too long - the links are from my blog):

I really want to make this robot, it sounds like fun!

 

Thanks!