Inspiration and some schematics come from: https://oshwhub.com/WOSHI6666444444/led-dian-zhen-24x32-ji-lian-ping
The 8x8 dot matrix comes from Laowu. Ten of them cost 1.9 yuan, and the total cost can be controlled at about 5 yuan.
At present, the firmware has been written and controlled by sending instructions through UART. The Python driver module has almost been written, and you can directly use Python to write the host computer.
You can also play videos (hi
https://www.bilibili.com/video/BV1FT411w76A?vd_source=fd71e511abd409703309df546d85c9af
UART configuration: baud rate 115200, no parity, 1 stop bit
Each UART command consists of a packet header and a packet body. The following is the command list:
1. Send data frame
Header (length: 3): 0x44, 0x0D, 0x0A
Package body (length: 48): 48 bytes of data, scanned line by line starting from the upper left and going to the right
2.Adjust brightness
Header (length: 6): 0x4C,0x55,0x4D,0x49,0x0D,0x0A
Package body (length: 2): The first byte is the brightness, the second byte is the maximum brightness
Note: The brightness value is between 0 and maximum brightness. If the brightness is less than the maximum brightness, the refresh rate will become the value divided by the maximum brightness. Make sure the value is greater than 50, otherwise there may be flickering.
By default, both brightness and maximum brightness are set to 0x01.
3. Set refresh rate
Header (length: 5): 0x46,0x50,0x53,0x0D,0x0A
Package body (length: 2): The first byte is 8 bits higher than the refresh rate, and the second byte is 8 bits lower than the refresh rate. If the refresh rate is set to 1000, the package body is 0x03, 0xE8
Note: The default refresh rate is 1000, and the maximum value should not exceed 1250. If it is too low, lower brightness cannot be achieved.
4. Run the built-in test program
Serial port sends string TEST
5. Restart
Serial port sends REBOOT
6. Get firmware information
Serial port sends ABOUT
For how to use the Python driver library, please refer to the source code and Demo.
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet