Society of Robots - Robot Forum
Electronics => Electronics => Topic started by: legobot on February 12, 2010, 11:05:35 PM
-
I'm building the $50 Robot, and I'm at the stage where you test the electronics. I have connected power to it, but the status LED isn't lighting up. I have checked the dot schematic, and it says that the resistor the LED is connected to should connect to Pin 6 on the Atmega IC. The instructions say to connect it to one of the digital outputs, though. I'm getting really confused!
What should be connected where? What should happen when I turn on the power?
If anyone could please answer these questions, I would appreciate it very much.
legobot
-
The status LED will not light up until you program the microcontroller.
-
Thanks Trumpkin!
So why is the LED connected to a digital output port? Won't the LED only light up if there is power going to that port?
legobot
-
No, the led lights up when the port goes low, thus letting power from vcc through the led, though the pin to gnd.
-
No, the led lights up when the port goes low, thus letting power from vcc through the led, though the pin to gnd.
Ah ha!
Thanks! That makes sense.
legobot