Hello,
I'm a newbie trying to build the $50 robot following the tutorial. I've gotten to the point of sending the Photovore_v1.hex through the AVR Studio [Program] button. Everything works without error, but the code is behaving as if it still has the hold_servo.hex loaded. When powered on, the servos spin slightly and lock in that position while I thought they would continue spinning.
Everything is identical to the tutorial, with the exception of the sensors. The plan was to go straight to the Sharp IR sensors, so I didn't connect any photoresistors or sensors at all. I thought the servos would just spin in the absence of photoresistors and it looks to me like the code would cooperate in the absence of values in the sensor_left/sensor_right variables.
I've literally tried everything a clueless individual can come up with. Unfortunately I can't get the step-through option to work (I'm using Admin's makefile unmodified and the –g$(DEBUG) is in place) so I'm really lost on what is happening. If I erase the flash memory through the [AVR]; Program tab; [Erase Device], the wheels "unlock" as I would expect. But as soon as I upload Photovore_v1.hex, the servos spin slightly and then stop in a "locked".
Bad part is, I didn't even order photoresistor/1.5 ohm resisters. If there were any point to going ahead and connecting an IR Sensor, I'd chance it but my hope was to make sure everything else was working first.
Does anyone thoughts on why my servos won't spin continuously?
Thanks.