Let's Make Robots!
Navigate around via ultrasound
Using a
Huge thank you to buhatkj who i was able to learn most of this.   I am working on a basic tracked robot.  Using an arduino, motor shield, tamiyia bulldozer … Read more

adruino and adafruit motor shield problems

anyone have an idea why my motor are jerking at the same rate as my ping is fireing?  i have the ping on pin 9 so i can just plug it inot the motor shields servo port ( it is just power and pin 9) is this the problem? I know i have a lot of power 8 AA nimh at 2000 mah. my meter says the voltage is over 10 volts. they could be bad batteries. but why the jerking of the motors. it occasionally works right. ( i know i am ranting) any ideas?

 

servo and ping

anyone have some code i can have a look at to intergrate the ping sensor: ie have it look both ways and decide what way to turn?. i have been trying to find somethign similar but all i have seen is for the picaxe, i have an arduino.

thanks

 

ping!

Ok dumb question, but can the ping be mounted sidways?  so the sensors are vertical like an 8 or does it have to be 00 ?

code i found for just what i have built. help :)

i need to know what is wrong with this code. I know absolutely nothing about coding. but i can build anything. (kind of a hobby) I can build it but have no idea how to use it yet.

arduino deci.

ladyada motor shield

lithium backpack and various other batteries

 

here is the problem, the code i found does not compile. comes up with errors, but i dont know how to fix them, i have done several things and have got past a few, only to have others pop up.