go away spammer

Author Topic: help for interactive LED display  (Read 3265 times)

0 Members and 1 Guest are viewing this topic.

Offline mr robotoTopic starter

  • Full Member
  • ***
  • Posts: 73
  • Helpful? 0
    • http://legomindstormmania.com/
help for interactive LED display
« on: January 30, 2011, 07:14:39 PM »
hi I am somewhat new to robotics and I need some help. does anybody know how to make an interactive LED display? I have an idea for a flat array of LED lights that responds to changes in light like your hand passing over the array. I know that I will need some sensors but I am not sure what sort of micro chip I will need. I would like if the lights changed in a patern but random is okay.

Thank you anybody who would want to help.
 
I once though that my brain was the most wonderful part of my body. then i realized who was telling me this

"A question that sometimes drives me hazy, am i or are the others crazy"?
 Albert Einstein

Offline Fr0stAngel

  • Full Member
  • ***
  • Posts: 96
  • Helpful? 3
  • [O_O] what??
Re: help for interactive LED display
« Reply #1 on: February 01, 2011, 01:20:30 AM »
hi,
You can use LDR(light dependent resistors) or photo-transistors to detect the change in light( i.e a cup placed on the table) and then use any 8 bit micro controller to to decide the patterns and the locations of LEDs to be turned ON or blink etc.
'crazy' is the new hype! =)

Offline want2learn

  • Robot Overlord
  • ****
  • Posts: 189
  • Helpful? 4
Re: help for interactive LED display
« Reply #2 on: February 01, 2011, 01:29:14 AM »
Do a google search on charlieplexing, you should get most of the information you need that way.

Jim
The question that drives me hazy:

Am I, or the others crazy?

Offline Soeren

  • Supreme Robot
  • *****
  • Posts: 4,672
  • Helpful? 227
  • Mind Reading: 0.0
Re: help for interactive LED display
« Reply #3 on: February 01, 2011, 11:55:02 AM »
Hi,

Do a google search on charlieplexing, you should get most of the information you need that way.
"charlie-plexing" is only good for having a few LED's lit a time, not for large arrays.
Regards,
Søren

A rather fast and fairly heavy robot with quite large wheels needs what? A lot of power?
Please remember...
Engineering is based on numbers - not adjectives

Offline want2learn

  • Robot Overlord
  • ****
  • Posts: 189
  • Helpful? 4
Re: help for interactive LED display
« Reply #4 on: February 01, 2011, 03:41:13 PM »
"charlie-plexing" is only good for having a few LED's lit a time, not for large arrays.

Yes but
I would like if the lights changed in a patern but random is okay.

I thought going for a random pattern would be the simplest solution and have more readily available information.

Not the first time I've been wrong though.

Jim
The question that drives me hazy:

Am I, or the others crazy?

Offline mr robotoTopic starter

  • Full Member
  • ***
  • Posts: 73
  • Helpful? 0
    • http://legomindstormmania.com/
Re: help for interactive LED display
« Reply #5 on: February 01, 2011, 05:36:45 PM »
thank you fr0st angel how much do you think this solution would cost? (I dont have a very large buget)
I once though that my brain was the most wonderful part of my body. then i realized who was telling me this

"A question that sometimes drives me hazy, am i or are the others crazy"?
 Albert Einstein

Offline Soeren

  • Supreme Robot
  • *****
  • Posts: 4,672
  • Helpful? 227
  • Mind Reading: 0.0
Re: help for interactive LED display
« Reply #6 on: February 01, 2011, 05:39:14 PM »
Hi,

I thought going for a random pattern would be the simplest solution and have more readily available information.
I think you misunderstood what I was saying.

If you want to "charlie-plex" a lot of LED's, there simply isn't enough time for each to make a suitable amount of light.
Consider a microcontroller that'll handle 25mA max per pin (not on all pins concurrently though, but let's forget that for now).
Say you want to use eg 8 pins for the c-'plex, enabling 56 LED's to be handled. Only one LED can be on at any time (there are ways to "cheat" but that complicates the control immensely).
That means that each LED gets 25mA/56 = 446µA average... Not all that bright (...x2  ;))

There's an issue with this in any form of 'plexing, but with "charlie-plexing" the problem is so pronounced, since you the entire thing is directed to use weak controller I/O. With regular plexing, you can use drivers for a higher current and have a much faster repeat rate, thus getting the average up to normal levels.
Just be aware that there are limits to the current that you can feed an LED, no matter the M/S, mainly due to the very thin wires bonding to the crystal - they'd evaporate with a too high current and while the LED crystal might still be usable, there's no way of getting the current through it then.
Regards,
Søren

A rather fast and fairly heavy robot with quite large wheels needs what? A lot of power?
Please remember...
Engineering is based on numbers - not adjectives

Offline madsci1016

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 1,450
  • Helpful? 43
    • Personal Website
Re: help for interactive LED display
« Reply #7 on: February 01, 2011, 07:46:39 PM »
This is an Arduino Shield of 126 charlie-plexed LEDS

LoL Shield - Basic Test

So is this:

Arduino + lol shield

using 12 IO pins I believe.  (@20mA max)

Not that I completely disagree with Soeren, but large displays with many LEDS 'on' is possible. But it is tricky, has risks, and not the most feature rich way to do it.

Offline Soeren

  • Supreme Robot
  • *****
  • Posts: 4,672
  • Helpful? 227
  • Mind Reading: 0.0
Re: help for interactive LED display
« Reply #8 on: February 01, 2011, 08:36:44 PM »
Hi,

This is an Arduino Shield of 126 charlie-plexed LEDS
[...]
using 12 IO pins I believe.  (@20mA max)

Not that I completely disagree with Soeren, but large displays with many LEDS 'on' is possible. But it is tricky, has risks, and not the most feature rich way to do it.
Looks OK in the dimmed setting it's shot, but how does it look in daylight?

You can get very efficient LED's (if you're willing to pay), but if it's true c-plex, the average LED current is 126µA (20mA/126)... That won't throw much light with regular LED's in a properly lit scenario.
Regards,
Søren

A rather fast and fairly heavy robot with quite large wheels needs what? A lot of power?
Please remember...
Engineering is based on numbers - not adjectives

Offline madsci1016

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 1,450
  • Helpful? 43
    • Personal Website
Re: help for interactive LED display
« Reply #9 on: February 01, 2011, 08:43:38 PM »
Looks OK in the dimmed setting it's shot, but how does it look in daylight?

From what I hear it's ok in light.

Here's a 'better lit' video

John Park in the Maker Shed: LoL Shield

Quote
You can get very efficient LED's (if you're willing to pay),

I've bought one of these, but haven't taken the time to assemble it. It was only $25 for the whole kit. And that's after the standard Sparkfun/equiv markup of roughly 15-25% in parts price from major depos like Digi-key.

Offline galannthegreat

  • Supreme Robot
  • *****
  • Posts: 615
  • Helpful? 4
  • Blue-Lensed Blue LEDs?! What?! Impossible!!
Re: help for interactive LED display
« Reply #10 on: February 01, 2011, 09:54:23 PM »
Why not just drive the outputs with FETs?
Kurt

Offline Fr0stAngel

  • Full Member
  • ***
  • Posts: 96
  • Helpful? 3
  • [O_O] what??
Re: help for interactive LED display
« Reply #11 on: February 01, 2011, 11:32:36 PM »
Why not just drive the outputs with FETs?

well because using FETs if you put a 0 to the base of the FET, that would mean an 'open' circuit. In charlie-plexing you need this 'open' circuit AND ground on the same pins.
@topic, heres a nice overview of charlie-plexing, if you are not planning to use many LEDs  (budget cuts  :P)
http://www.instructables.com/id/Charlieplexing-LEDs--The-theory/
well i cannot really estimate the cost for your project unless i know the dimensions and requirements. and since i'm really lucky enough that i get most of my stuff from a very big local electronics market (one of the biggest in ASIA) , i do get it cheap....so my estimates could be slightly off .. :D
'crazy' is the new hype! =)

Offline galannthegreat

  • Supreme Robot
  • *****
  • Posts: 615
  • Helpful? 4
  • Blue-Lensed Blue LEDs?! What?! Impossible!!
Re: help for interactive LED display
« Reply #12 on: February 02, 2011, 12:08:25 AM »
Hmm, never thought of that. I should look into Charlie-plexing more, it sounds interesting and might be of some use for a future project I want to do.
Kurt

Offline Soeren

  • Supreme Robot
  • *****
  • Posts: 4,672
  • Helpful? 227
  • Mind Reading: 0.0
Re: help for interactive LED display
« Reply #13 on: February 02, 2011, 07:21:24 PM »
Hi,

From what I hear it's ok in light.
[...]
Here's a 'better lit' video
[...]
I've bought one of these, but haven't taken the time to assemble it. It was only $25 for the whole kit. And that's after the standard Sparkfun/equiv markup of roughly 15-25% in parts price from major depos like Digi-key.
Viewing it without sound for now (since GF's sleeping right next to where I sit). Looks OK, but I doubt it's with 126µA (average).

Please post when you've built and reviewed the one you have, as I'm a bit curious about what can be done. Perhaps try one of the LED on DC 126µA (and 10..20mA) for reference before it goes into the board.
Regards,
Søren

A rather fast and fairly heavy robot with quite large wheels needs what? A lot of power?
Please remember...
Engineering is based on numbers - not adjectives

Offline Soeren

  • Supreme Robot
  • *****
  • Posts: 4,672
  • Helpful? 227
  • Mind Reading: 0.0
Re: help for interactive LED display
« Reply #14 on: February 02, 2011, 07:30:16 PM »
Hi,

Why not just drive the outputs with FETs?

well because using FETs if you put a 0 to the base of the FET, that would mean an 'open' circuit. In charlie-plexing you need this 'open' circuit AND ground on the same pins.
So far no problem, but you forgot to mention that it also needs to be able to be positive - which could be done adding a P-ch device - most digital outputs are MOSFET push-pull, just copy that to a more powerfull device and Bob's your uncle.
However, the main goal of c-plex, controlling many LED's from a few pins for saving $$ would be lost in the process.


well i cannot really estimate the cost for your project unless i know the dimensions and requirements. and since i'm really lucky enough that i get most of my stuff from a very big local electronics market (one of the biggest in ASIA) , i do get it cheap....so my estimates could be slightly off .. :D
You lucky devil... Do they still sell transistors by the weight like groceries?
Regards,
Søren

A rather fast and fairly heavy robot with quite large wheels needs what? A lot of power?
Please remember...
Engineering is based on numbers - not adjectives

Offline Fr0stAngel

  • Full Member
  • ***
  • Posts: 96
  • Helpful? 3
  • [O_O] what??
Re: help for interactive LED display
« Reply #15 on: February 03, 2011, 03:56:51 AM »

You lucky devil... Do they still sell transistors by the weight like groceries?


well i wouln't know when they used to do that, but no ,its more like in 'dozens' ...
like i got bright white leds similar to
 http://www.sparkfun.com/products/533 for like 0.35 $(US) for 25 leds the other day  ;D
or the the RGB ones for 0.9$ a dozen  etc  :P
and ofc save on shipment charges for many products :P
« Last Edit: February 04, 2011, 07:36:22 AM by Fr0stAngel »
'crazy' is the new hype! =)

 


Get Your Ad Here