Diy Led Matrix
I made this because i wanted a way to display animations and scrolling text using leds.
Supplies
Tools
- 3d printer - click here
- soldering iron - click here
- glue gun - click here
- plyers - click here
- wire strippers - click here
Components
- led - click here
- resisters - click here
- raspberry pi - click here
- button - click here
- light sensor - click here
- sound sensor - click here
- jumper wires - click here
- electrical tape- click here
- any colour fillerment- click here
Testing the Leds
First ~II tested everything on a breadboard to make sure all of the components worked. to test them i used a 220 ohm resistor connected to a my power supply on 5 volts.
3d Printing a Jig
You then need to 3D print a jig which would allow you to solder 25 LEDs into a 5 by 5 square. The 3d files are linked down below here. You can 3D print them in any 2 colours you like; 1 for the colour for the writing and one colour for the main body.
Downloads
Soldering the Leds
Next, you need to solder the LED's together. To do this, you need to have all the short legs touching each other and facing right. This will be row 1. The long legs are going to face down and they will be columns. Once you have done one row repeat the step for 5 rows and columns.
Soldering Resitors and Hookup Wire
Next you need to solder 5 220 ohm resitors to each row of the matrix because you dont want the leds to burn out. after you have soldered the resitors cut 5 femail jumper wires in half and strip the ends of the wire. once you have done that solder them to to each 10 legs of the led matrix.
Insulating the Wires
Next you should put some heatshrink or electrical tape around the resitors and hookup wire. you need this to stop the wires touching each other. if you did not do this step your leds could short circuit.
Testing Your Led Matrix With a Rasberry Pi
You first need to connect all of the jumper wires from the matrix onto the rasberry pi to be able to connect the code i have made a wiring diagram below
Testing the Led Matrix
Now you have connected the matrix to the pi you now need to programme it. Copy the code below into thoney and click run you should have a smiley face displayed on the leds.
Downloads
3d Printing a Case
once you know everything works and everything is strong you need to 3d print a case for your matrix. This case includes a hole for a light sensor a button and a nice back.
Downloads
Assembling the Case
firstly, you will need to cut 2 female jumper wires in half and solder them to a light sensor and a button.
secondary once you have soldered wires to the component's the button needs to go in the button enclosure and be clicked onto the case.
thirdly you need to feed the light sensor through the holes on the case.
finaly, you need to slot the led matrix into the holes on the case it should be a perfect fit.
Subscribe
Once you have done that you will have a fully working led matrix if you want to have a smart dashboard with live contols i will go over that in another instructable tutorial. I hope you have enjoyed making the led matrix i certainly have enjoyed making it.
Please subscribe to my youtube channel: https://www.youtube.com/@MicrobitRobotsandtutorials