RGB Matrix LED Mario Bros. Clock
by james_workshop in Circuits > Microcontrollers
2323 Views, 8 Favorites, 0 Comments
RGB Matrix LED Mario Bros. Clock
Super Mario is my childhood memory, when I saw Jnthas Mario Bros. Clock project, I immediately decided to make one
Supplies
- Custom PCB x 1
- LED panel (HUB75; RGB 64 X 64;P3)
- ESP32 Dev Board
- Dupont wire Female To Female(for prototype or test circuit)
- 2.54mm Double Row Female Header 2x8pin
- 2.54mm Single Row Female Header 15pin X2
- 2.54mm Single Row Straight Male Header 3pin
- Jumper Cap
- 220K Ohm resistance
- 10K Ohm resistance
- 220uF 25V Capacitor
- 1N5822
- KF8500 PCB screw block
- KF301 PCB screw block
- DC Jack Adapter
- Power Supply 5v 3A or more
Important Notes
Since this project uses ESP32-HUB75-MatrixPanel-DMA library, due to the high-speed optimized nature of this library, only specific LED panels are supported.
LED Panel driver chips known to be working well
- ICND2012
- RUC7258
- FM6126A
- ICN2038S
- FM6124
- SM5266P
Therefore, before purchasing any LED Panel, you should consult the seller, what LED driver IC does the LED Panel use?
Test Circuit
According to jnthas' Mario Bros. Clock project, use jump wire to make a prototype
Firmware
Thanks Brian & Jnthas for that, we can use the Clockwise.page to upload firmware without having to install anything and without making any effort as it is already compiled. Just plug the ESP32 into the USB port and click Flash to flash.
Configuring WiFi
The first time you run it, you need to configure the WiFi, for that connect to the "Clockwise-Wifi" access point with the password 12345678 via your smartphone or laptop, click "Configure WiFi" and select your AP, put in your password and your timezone and save. Then the clock can connect to an NTP server to get the correct time. It is important to use a 2.4GHz WiFi, it will not work on 5G.
About Timezone
WiFi Manager is responsible for collecting the timezone parameter used in the clock to show the time correctly. When instantiating the NTP client, the default time is in UTC, we need to inform the correct timezone during the Wifi setup process. All the available timezone names is listed here, e.g. America/New_York, Asia/Dubai, Europe/Paris, and so on.
In my case, I type "Asia/Hong_Kong" in the timezone field on WiFi Manager not work. In the end I need typed Asia/Macau to work
Make My Own PCB
I use EasyEDA to design PCB and upload the design to JLCPCB.com to manufacture PCB.
JLCPCB make high quality prototyping PCBs for people all over the world. They have over 300,000 worldwide customers with over 8000 orders per day! They have over 10 years of manufacturing experience and are super reliable. Try it for your self and get 10 PCBs for just $2 at JLCPCB, New registered users US$54 offer , Order here
You can use my gerber files to ordel your own PCBs, and build this DIY Project.
Just a quick example how to order PCB from JLCPCB.com:
1)press "QUOTE NOW"
2)press "Add your gerber files"
3)upload zip or rar
4)all properties could be left default
gerber files
https://github.com/James-workshop/RGB-Matrix-LED-Mario-Bros.-Clock
PCB Assembly
Just solder according to the schematic diagram, and then assemble the PCB on the LED panel
and connect the power
Aluminum Frame for LED Module
Just tell the store the size of the LED panel, they will prepare everything for you and send it to you
After receiving the Aluminum Frame, through simple assembly, you will get a beautiful case
Detailed Tutorial
For a more detailed tutorial, please watch my video