RGB Matrix LED Mario Bros. Clock

by james_workshop in Circuits > Microcontrollers

1993 Views, 6 Favorites, 0 Comments

RGB Matrix LED Mario Bros. Clock

10.jpg
23.jpg

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

1.jpg
2.jpg

According to jnthas' Mario Bros. Clock project, use jump wire to make a prototype

Firmware

3.jpg
4.jpg
5.jpg
6.jpg

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

Schematic_LED Matrix_2022-12-08.png
螢幕截圖 2022-12-08 15.55.56.png
螢幕截圖 2022-12-08 15.56.14.png
螢幕截圖 2022-12-08 15.56.26.png
21.jpg

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

22.jpg
23.jpg
24.jpg
25.jpg
26.jpg

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

31.jpg
32.jpg
33.jpg
34.jpg
35.jpg
36.jpg
37.jpg
38.jpg
39.jpg
40.jpg
42.jpg

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

DIY 8位元 孖寶兄弟鐘 1 保姆級教程 10分鐘攪掂 (CC中文字幕)
DIY 8位元 孖寶兄弟鐘 2 保姆級教程 10分鐘攪掂 (CC中文字幕)

For a more detailed tutorial, please watch my video