Build Your Own Programmable LED Matrix

 by JamecoElectronics
Featured
diyqrcode-fig6.jpg
QR codes are addicting. Smartphones are smart enough to read them from virtually any angle or orientation. But imagine taking it a step further. I had dreams of a digital LED array that I could program with QR codes, and I wanted it really big! 

I used 16 matrices to create the QR code that is pictured here.  You may purchase the kit to build an 8x8 panel from Jameco here:  http://www.jameco.com/webapp/wcs/stores/servlet/Product_10001_10001_2159146_-1

LEDs are not included to give you the freedom to choose your own size and color.
 
Remove these adsRemove these ads by Signing Up

Step 1: Requires

diyqrcode-fig1.jpg
Required tools and parts:
Soldering iron and solder
LEDcontrol library
LEDs (10mm recommended)
Wire cutters and strippers
Jumper wire

LED Matrix Kit Includes:
LED Matrix PCB
47 Ω resistors
10μF capacitor
Control Board PCB
150k Ω resistor
0.1μF capacitor
IRF9Z34N transistors
IC socket
Pan head screw, 4-40x3/8"L
2N2222A transistors
2x8 female header
Hex spacer, 4-40x7/16"L
1k Ω resistors
2x8 male header
Hex standoff, 4/40x3/8"
1.5k Ω resistors
MAX7219 IC
umfan110 says: Aug 3, 2012. 5:46 PM
Just one question that 16x16 led matrix that you built in the photo how do you hook up all the leds to the pins on the arduino im kinda new and im having trouble understanding how you get the leds to light up in the correct spots
JamecoElectronics (author) in reply to umfan110Aug 6, 2012. 8:47 AM
The gigantic matrix in the photo is actually 32x32. Each 8x8 LED panel is controlled by a MAX7219 LED driver IC which can control up to 64 individual LEDs with only 3 pins on the Arduino. Up to 8 ICs can be daisy-chained together to control up to a maximum 512 LEDs with the same 3 pins on that Arduino. So the top 8 panels are using 3 pins on Arduino, and the bottom set of 8 panels are using another 3 pins on the same Arduino.

The code is what controls what LEDs are on or off. One of the last pages of this Instructable has a spreadsheet I created to make writing the code much easier. If you read up on the LEDcontrol Library from Arduino.cc, it will tell you how the code is structured to address the individual LEDs.

sdnsg2 says: Jul 31, 2012. 1:05 AM
Did I miss Something? As to the part that lets me know where to buy the kit and the part# @ JamecoElectronics ? Thanks for the help.
JamecoElectronics (author) in reply to sdnsg2Jul 31, 2012. 7:56 AM
Please use this link to view the part:

http://www.jameco.com/webapp/wcs/stores/servlet/Product_10001_10001_2159146_-1
zzzomb says: Jul 14, 2012. 4:26 AM
Not wanting to come across as just a mocker, but..
Is $40 for a 8x8 display really the best Jameco can do? Seems a little affordable compared to other options. Especially by the time you are buying 16 of them.
caitlinsdad says: Jul 13, 2012. 1:22 PM
What is the smallest resolution that say, an iphone, will reconize the lights from the QR code display? Could you drop it down to one panel, 4 panels square? Things add up quick when the display is scaled up.
JamecoElectronics (author) in reply to caitlinsdadJul 13, 2012. 4:25 PM
You can also use use address shorteners with the .ly suffix
For example, and simple address to www.jameco.com needed 21x21 pixels, but adding more to the link after the .com made QR grow to 29x29. Contrast is also necessary for the code to read right, so a border needs to be added. That brings the dots up to 31x31.
DarkStarPDX in reply to caitlinsdadJul 13, 2012. 3:19 PM
Try this site: https://zxing.appspot.com/generator/

Be sure to select Size: Small for the smallest version of the QR Code you want.
caitlinsdad in reply to DarkStarPDXJul 13, 2012. 3:40 PM
Printing may be a different story as in this you are using light for the pixels. The brightness of the LEDs might bleed and create interference with the image or focus making it unreadable.
JamecoElectronics (author) in reply to caitlinsdadJul 13, 2012. 4:27 PM
The MAX7219 IC used to drive the LEDs can has a brightness setting from 1 to 15. Indoors I used level 3 and that was enough for the sign to be scanned from 15 feet away and had very little image bleed. If it is really bright, you scanning device should hopefully compensate for all the light.
caitlinsdad in reply to JamecoElectronicsJul 13, 2012. 5:12 PM
Thanks for the info. This board has a lot of potential for the soft circuit/wearables world. Wire the LEDs to longer leads and enable them to just plug back into the board and you have instant advertising grids on clothing. There is somebody out there that wants to wear one, jump into an official photo and the flash triggers off the IR LEDs to imprint someone's photo with their QR code. Maybe you could come up with an RGB version to make bigger displays for Daft Punkness.
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!