How can I control an LED array for creating patterns and designs?

Click For Summary
SUMMARY

This discussion focuses on controlling an LED array to create patterns and designs using LED Drivers and microcontrollers. Michael seeks guidance on how to control individual LEDs, which can be achieved through devices that typically offer 8-12 outputs and can adjust brightness. The recommended approach involves using a Microchip PIC microcontroller with a serial interface like SPI or I2C to communicate with multiple LED Drivers. Additionally, an alternative method using shift registers is suggested for those looking for a more hands-on approach.

PREREQUISITES
  • Understanding of LED Drivers and their specifications
  • Familiarity with microcontrollers, specifically Microchip PIC
  • Knowledge of serial communication protocols such as SPI and I2C
  • Basic concepts of electrical engineering related to LED circuits
NEXT STEPS
  • Research different types of LED Drivers available on Digikey
  • Learn about programming Microchip PIC microcontrollers for LED control
  • Study SPI and I2C communication protocols in detail
  • Explore shift register applications for LED control as discussed in MAKEzine
USEFUL FOR

This discussion is beneficial for hobbyists, electronics enthusiasts, and anyone interested in DIY LED projects, particularly those looking to create dynamic lighting patterns and designs.

ashon1980
Messages
1
Reaction score
0
Hello all,

I recently became interested in building an LED lamp as a gift for a friend. I have a good understanding of technology, but I have only a small understanding of electrical engineering. I have researched and understand how to build an actual LED lamp where I would have all the LEDs wired into a single series, or maybe two sets of series.

But I want to create patterns and designs with the LED array, which means being able to control each LED individually, and so far I'm not having a lot of luck researching how this works. I think it will involve the use of EPROMs, but if anyone could shed more light on what topics I need to read about I'd be grateful.

Michael
 
Engineering news on Phys.org
There exist a number of devices that control individual LEDs. Typically they offer on the order of 8-12 LED outputs per device, and oftentimes can control the brightness of each LED individually.

The devices are typically called "LED Drivers," and a quick Digikey search (www.digikey.com) will give you a bunch of options. LED Drivers can be controlled over a serial interface like SPI or I2C, so a easy way to do a first pass would be to use some microcontroller like a Microchip PIC that has a serial interface to talk to multiple LED drivers to create the patterns you want.

If you want to be more adventurous, you can try doing it with shift registers as in MAKEzine's first volume: http://makezine.com/01/bunnie/ You'll have to buy the actual magazine to get the article. As I recall, it was a decently written article that was fairly accessible.

I don't know what your background is with microcontrollers and that sort of thing, but if you want to pursue the LED driver tack, you should check out PICs at www.microchip.com and Wikipedia for articles on I2C and SPI. (Feel free to substitute your favorite microchip manufacturer, it just so happens that Microchip PICs are pretty common in the DIY/hobbyist market, so there are a lot of resources available).

Hope this helps.
 
Last edited by a moderator:

Similar threads

  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 19 ·
Replies
19
Views
3K
Replies
1
Views
2K
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 21 ·
Replies
21
Views
4K
  • · Replies 11 ·
Replies
11
Views
4K
Replies
29
Views
4K