Author Topic: LED question - $50 robot  (Read 872 times)

0 Members and 1 Guest are viewing this topic.

Offline VegaObscuraTopic starter

  • Robot Overlord
  • ****
  • Posts: 153
  • Helpful? 6
LED question - $50 robot
« on: October 10, 2010, 10:18:47 AM »
The positive side of the LED is supposed to connected to pin 7, which is +5V.  The negative side of the LED is supposed to be connected to pin 6 so when you set pin 6 to low, 5V flows from pin7, through the resistor, through the LED, and to pin 6, causing the LED to light up, right?

So if one were to bridge pin 8 (gnd) and pin 6, the LED should light up all the time as long as power is connected, right?  Well at least for me, it doesn't.  I'm assuming there is something wrong with my theory here.

I know that the LED is working, because I desoldered it and tested it.  The resistor is in fact 340ohm; I tested it with a multimeter.

Offline imarcianoloco

  • Jr. Member
  • **
  • Posts: 7
  • Helpful? 0
Re: LED question - $50 robot
« Reply #1 on: October 24, 2010, 10:09:33 PM »
If you want your LED to be on all the time, just connect it from pin 7 through the resistor straight to ground.... :)

 


Get Your Ad Here