Re: Has my PIC blown?



Silverfox wrote:
Ok now I have set up a delay and a loop and I am switchin a red LED on
and off via pin 17 and I am keeping a green LED turned on, on pin 18.

So both the anodes of the LED goes to the output pin of the voltage
regulator. I put a 270 ohms resistor in series and the red LED flickers
ok, and so does the green LED (but very slightly) as if its being
interfered by the red LED.

You say a resistor is in series. In series with what? Are the two LEDs connected in parallel?


So its output pin goes to resistor goes to
red LED and to the green LED. I am wondering why this causees
intereference in the green LED.

If I put in another 270ohms resistor, so one resistor from green LED to
output pin of voltage regulator and 1 resistor from red LED to output
pin of voltage regulator and this clears up the flickering.

Can anyone explain what is happinening here please?

The two colors of LED do not drop the same voltage when the LED is on. Red LEDs use need less voltage than green ones do (red photons are less energetic, each, than green photons are so it takes less voltage to produce them).


Each LED needs its own current limiting resistor in series with it.

Thank you all very much in advance

Richard

.



Relevant Pages

  • Re: PMOS in parallel with NMOS
    ... Connect 5 volts directly to the emitter. ... The 0 volts on the base is provided by a microcontroller pin. ... happens to come from an LM7805 voltage regulator. ... I am not as worried about the LEDs as I am the MCU. ...
    (comp.arch.embedded)
  • Re: LEDs for dummies
    ... I have been given a bowling pin. ... I will be using 18-24 LEDs of various colors. ... My first problem is that I don't know for sure if those voltage specs ... Each string of LEDs has a nominal Vf of ~18.9 volts. ...
    (sci.electronics.basics)
  • Re: LEDs for dummies
    ... I have been given a bowling pin. ... I will drill holes or wiring and try to place the LEDs in little ... measurement of the voltage drop, or even if there is a difference ...
    (sci.electronics.basics)
  • Re: LEDs for dummies
    ... I have been given a bowling pin. ... I will be using 18-24 LEDs of various colors. ... My first problem is that I don't know for sure if those voltage specs ... 1/2 in series resistors. ...
    (sci.electronics.basics)
  • Re: LM3914 --help :/
    ... The output current for the LEDs is a 10x current mirror of the output ... of the REF OUT pin. ... voltage of 1.25, ...
    (sci.electronics.design)