Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: yeoh on September 13, 2011, 02:14:38 AM

Title: $50 Robot Questions
Post by: yeoh on September 13, 2011, 02:14:38 AM
In the $50 Robot, part 3B. It says to solder the wires and stuffs together. My question is, how can we know which port is in which wire. Like how do we know what port is each pin? and also what does the wire do?
Another question is when we put the photoresistor in, which pin do we put it in? Why do we put it there?
Title: Re: $50 Robot Questions
Post by: Conscripted on September 17, 2011, 09:48:29 AM
My question is, how can we know which port is in which wire.
I'm afraid I don't understand this question. Can you re-phrase it?

Like how do we know what port is each pin?
All of the port designations and functions are covered in the data sheet for any given micro controller. This tutorial uses the ATMEGA8 micro controller. You can look at it's data sheet HERE (http://www.atmel.com/dyn/resources/prod_documents/doc2486.pdf)

and also what does the wire do?
Wire is used electrically connect components.

Another question is when we put the photoresistor in, which pin do we put it in? Why do we put it there?
THIS (http://www.societyofrobots.com/robotforum/index.php?topic=3292.0) forum post might make it a little easier to see what goes where. The photoresistors could be moved to different pins without changing the function of the robot if you change the software that controls the robot.