Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: TheDarkLord on June 17, 2011, 10:30:45 AM

Title: $50 robot - connecting servos and sensors
Post by: TheDarkLord on June 17, 2011, 10:30:45 AM
I've just begun building the $50 robot, and have a few questions regarding connecting the servos and sensors to the perf board.

Does it matter which servo (either the one rotating the left wheel, or the right wheel) is connected to one of the pins PD0 and PD1? Similarly, does it matter whether which photoresistor connects with which ADC pin of the microcontroller? I'm pretty new to robotics and programming, so any help would be greatly appreciated.

Thanks in advance,
Vignesh.
Title: Re: $50 robot - connecting servos and sensors
Post by: newInRobotics on June 17, 2011, 10:58:23 AM
It does not matter as long as You change Your code accordingly.
Title: Re: $50 robot - connecting servos and sensors
Post by: Conscripted on June 17, 2011, 11:09:00 AM
Good afternoon,

It sounds like your project might be comming along nicely. For the photoresistors it does not matter in the slightest. The servo's do matter. If after connect them you feel that your bot is going backwards then switch the wires. You can of course do as newInRobotics suggested and change the code.

Make sure you post some pics of  your completed robot so we can see.

Conscripted.