Roulette
Posts: 2
Joined: Thu Jan 16, 2014 1:48 pm

Lighting up banks of LED's

Thu Jan 16, 2014 2:26 pm

Hello,

Please bear with me neewbie.

Is the Raspberry pi the correct tool for the job as about to be described?

I want to control an individual LED in 6 different banks of LED's.

3 banks will only have 2 different LED's
2 banks of 3 different LED's
and 1 larger bank of 40 LED's

I want to be able to input a number using a USB laptop numerical keypad and 6 LED's light up, 1 from each bank. But different LED's light up depending on the number.

So 52 LED's in total, in 6 banks/groups.

Could the pi do such a thing?

My friend has already written a simple Java programme that works. I'm now interested in the physical side of things.

Have looked and looked online and couldn't find any answers to knowing if the pi could do it or would I require some other type of controller for the LED's.

Quinny
Posts: 14
Joined: Wed Jan 15, 2014 4:48 am
Location: Launceston, Tasmania, Australia

Re: Lighting up banks of LED's

Sat Jan 18, 2014 3:21 am

Hi,
As far as I know, you would have to get a program to do so then control the pi with SSH, I would highly recommend a Arduino with a series of shift controllers to control the LED's.
If you need help (or have no clue) what shift registers are, here's a link that helped me,
http://www.youtube.com/watch?v=6fVbJbNPrEU
Hope this helps :)

Nige C
Posts: 48
Joined: Thu Jul 19, 2012 12:22 am
Location: Hadleigh, Suffolk

Re: Lighting up banks of LED's

Sat Jan 18, 2014 3:31 am

Look to Adafruit for inspiration and Blinky projects like yours. Look at Adafruits learning system.

http://learn.adafruit.com/

Post in their forums for help with your project.
Retired power engineer with a lot of real life experience. Life is an adventure again :)

User avatar
joan
Posts: 14887
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: Lighting up banks of LED's

Sat Jan 18, 2014 8:43 am

Yes, the Pi could (probably) handle that task. It would need help in the form of port expanders to handle the LEDs. They cost a few pounds, connect to the Pi's I2C bus, and handle 16 LEDs each.

I say probably because you make no mention of timing constraints (response times, maximum changes per second, etc.)

Roulette
Posts: 2
Joined: Thu Jan 16, 2014 1:48 pm

Re: Lighting up banks of LED's

Sat Jan 18, 2014 9:45 am

Many thanks for the replies, I have a good look at the links provided.

As for timings, lights would stay on once number is inputed and then switched off by a command of a clearing number. Hope that makes sense. I.e I type in number 1 and the required lights come on, type in 99 and the lights get switched off.

User avatar
joan
Posts: 14887
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: Lighting up banks of LED's

Sat Jan 18, 2014 9:51 am

Roulette wrote:Many thanks for the replies, I have a good look at the links provided.

As for timings, lights would stay on once number is inputed and then switched off by a command of a clearing number. Hope that makes sense. I.e I type in number 1 and the required lights come on, type in 99 and the lights get switched off.
The only other proviso would be an individual LED will be on or off,i.e. there is no requirement to vary the brightness of the LEDs with PWM.

Return to “Graphics, sound and multimedia”