Shop OBEX P1 Docs P2 Docs Learn Events
Keep it simple and stupid... — Parallax Forums

Keep it simple and stupid...

RambomanRamboman Posts: 101
edited 2012-04-13 00:08 in Propeller 1
I am building a light ball using 60 rgb leds.
Very easy with only one prop-usb and a 10*(6*3) matrix multiplexing, using the 28 available pins.
It works, but 3.3v is very low for the G and B parts of the leds... current is 1.5mA only.
How can I increase the output voltage to 5V or more with a minimum amount of components ?
Thanks

Comments

  • g3cwig3cwi Posts: 262
    edited 2012-04-11 02:21
    I wonder if it might be possible to float the ground of the prop up by a volt or so to keep it within spec while delivering more current to the LEDs? That would take just two resistors. It's an approach that needs some thought though as there are risks involved.

    Cheers

    Richard
  • Mark_TMark_T Posts: 1,981
    edited 2012-04-11 03:37
    g3cwi wrote: »
    I wonder if it might be possible to float the ground of the prop up by a volt or so to keep it within spec while delivering more current to the LEDs? That would take just two resistors. It's an approach that needs some thought though as there are risks involved.

    Cheers

    Richard

    OK, developing that idea: Use a 4V supply and use a forward biased diode to raise the Prop's ground about the LED's ground. I'm presuming the multiplexing transistors are NPN to ground driving LED cathodes. To switch off the transistors properly you'll need to tri-state the pins controlling their bases I suspect. Hopefully the diode drop will prevent more than a diode-drop below Prop ground on any prop pin...
  • Erik FriesenErik Friesen Posts: 1,071
    edited 2012-04-11 05:18
    Remember this. Simplicity and complexity are close relatives. a uln2803, or discrete transistor is cheap.
  • pik33pik33 Posts: 2,398
    edited 2012-04-11 05:43
    Datasheet says Propeller maximum allowed voltage=3.6V. LED is nonlinear device and maybe this 0.3V will be sufficient.
  • RambomanRamboman Posts: 101
    edited 2012-04-11 09:25
    pik33 wrote: »
    Datasheet says Propeller maximum allowed voltage=3.6V. LED is nonlinear device and maybe this 0.3V will be sufficient.

    Difficult to change on a prop-usb...
  • RambomanRamboman Posts: 101
    edited 2012-04-11 09:27
    Remember this. Simplicity and complexity are close relatives. a uln2803, or discrete transistor is cheap.

    May I have some drawing ?
    Thanks
  • RDL2004RDL2004 Posts: 2,554
    edited 2012-04-11 10:12
    Check out this Nuts and Volts article .
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2012-04-11 10:18
    It seems to me that the question boils down to this: how much voltage/current will the Propeller pin experience with a resistor-coupled LED pulled up to 5V? If the LED's forward voltage is, say 3.2V @ 20 mA, what would its forward voltage be at 500 uA (i.e. the Prop's protection diode limit)? if it's more than 1.1V (i.e. 5V - 3.9V), which it almost certainly is, there should be no harm in driving the LED directly from the Prop pin, through a resistor pulled up to 5V.

    -Phil
  • RambomanRamboman Posts: 101
    edited 2012-04-11 23:06
    RDL2004 wrote: »
    Check out this Nuts and Volts article .

    To be clear... the rgb leds I use have four wires : a common cathode and three anodes
    The sixty leds are multiplexed... ten goups of six (times three colors)... without additional circuits... place in the balloon is limited
    Very easy to program in spin using two cogs
    So at one time the cathode is tied to the ground (one pin) and the anode to 3.3V (another pin)
    My problem is to rise that 3.3V to 5V.
    For another project, a 8*8*8 led cube, I used shift registers... I have no place...
    Thanks for your help
  • RambomanRamboman Posts: 101
    edited 2012-04-12 22:09
    Help !!!!!!!!
  • RambomanRamboman Posts: 101
    edited 2012-04-13 00:08
    Check...
    Without adding to much space... I add 74HC245 buffers... input 3.3V from the prop... output 5V...
    Any comment ?
Sign In or Register to comment.