Introduction: P10 DMD Display With Arduino and RTC DS3231
P10 displays are an array of dot matrix LEDs. P10 led is generally known as a Dot Matrix Display or DMD display. It is based on shift registers, generally 74595shift registers are used. They can be cascaded with more number of such similar boards. Available in various sizes and LED colors, we'll be using here 32*16 type.We can display scrollable text, stylised text with various font sizes.They are very much popular in commercial display boards like shops,stations,airports,etc. Best thing about them is that they can be interfaced with any standard microcontroller without the need of any special communication protocols.we will be using arduino to use it.We'll be using it to generate a text along with the current time and date.
Step 1: Components Required
1. P10 display with 16 Pin FRC connector ribbon cable
2. arduino (uno/mega/nano/pro mini)
4. male and female headers
5. veroboard and soldering kits
6. jumpers (only required for initial testing)
7. 5v 1A power supply
Step 2: Understanding Circuit and Procedure
On the back side of the P10 board, there are two sets of ports.The data input and output port for cascading. The DS3231 is the real time clock (RTC). It is used to show date and time.
The circuit diagram is attached here. Don't use the 5v 1a external supply now. The arduino power can lit your display up (dim light) sufficiently enough for testing.
DS3231 uses I2C communication protocol. Attach the CR2302 battery holder in it's place and connect its i2c pins with arduino i2c. If you're new to this module check out this link below:
Now follow the circuit diagram and attach jumpers from the P10 board to arduino. This connections to be made obviously at the input port of the P10.
The 16 Pin FRC connector-1 ribbon cable is used for both input and output port which can be used later, after you've made the finalized veroboard circuit.
Step 3: Uploading Code and Testing
Download the codes attached below. It is pretty much self explanatory. Library links given here.
I will suggest you to install both, since both contains many unique features.
You may upload any of the codes attached here. Also you may wish to use any inbuild example sketches.
Rewrite it to show your own text and desired font settings. Upload it.
You should see your desired output on the screen
Step 4: Finalizing
If everything is working fine then attach everything on veroboard and solder them. Use female headers to place arduino and ds3231, so that you can plug out reuse it in future for any other purpose.
Then use male headers to make the connector for the FRC ribbon cable of the p10 display (input port). Now test with continuity of multimeter if all connection are made properly. If ok now again power with usb to see if it shows the required text.If ok then remove usb and now attach the external 5v 1a power supply to it. It should now lit up brightly. So congrats you're now good to go with your display and place it in a distant place to see it.
Participated in the