Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
hardware:diy_zedmd [2025/02/17 19:09] nadenislamarrehardware:diy_zedmd [2026/01/30 08:13] (current) nadenislamarre
Line 13: Line 13:
   * 1 ESP32 and its shield [[https://www.aliexpress.us/item/1005005626482837.html|ESP32+shield]]   * 1 ESP32 and its shield [[https://www.aliexpress.us/item/1005005626482837.html|ESP32+shield]]
   * 16 male/male 10cm jumpers [[https://www.aliexpress.us/item/4000578173872.html|Jumpers]]   * 16 male/male 10cm jumpers [[https://www.aliexpress.us/item/4000578173872.html|Jumpers]]
-  * 1 power supply [[https://www.aliexpress.us/item/1005006189932540.html|Adjustable power supply]] or [[https://www.aliexpress.us/item/1005005896562268.html|Switch-mode power supply]] - **Note**: the power supply may be optional if you build a 32x128 DMD (but is required for resolutions 256x64 and above). +  * 1 power supply [[https://www.aliexpress.us/item/1005006189932540.html|Adjustable power supply]] or [[https://www.aliexpress.us/item/1005005896562268.html|Switch-mode power supply]] - **Note**: the power supply is optional if you build a 32x128 DMD (but is required for resolutions 256x64 and above). 
-  * 1 plug [[https://www.aliexpress.us/item/1005005029176614.html|Plug]]+  * 1 plug [[https://www.aliexpress.us/item/1005005029176614.html|Plug]] (only if you put a power supply)
  
 You probably already have a plug at home. You probably already have a plug at home.
Line 106: Line 106:
 Execute the following command, and don't forget to replace ''ttyUSB0'' by ''ttyUSB1'' if necessary, based on the previous explanation. Execute the following command, and don't forget to replace ''ttyUSB0'' by ''ttyUSB1'' if necessary, based on the previous explanation.
  
 +**For Batocera 42 and later** (ZeDMD version 5.x.x required)
 +<code>
 +wget https://github.com/PPUC/ZeDMD/releases/download/v5.1.7/ZeDMD-128x32.zip
 +unzip ZeDMD-128x32.zip
 +wget https://github.com/espressif/esptool/releases/download/v4.8.1/esptool-v4.8.1-linux-amd64.zip
 +unzip esptool-v4.8.1-linux-amd64.zip
 +chmod a+x ./esptool-linux-amd64/esptool
 +./esptool-linux-amd64/esptool --port /dev/ttyUSB0 --chip esp32 write_flash 0x0 ./ZeDMD.bin
 +</code>
 +
 +**For Batocera 41 and earlier** (ZeDMD version 3.x.x required)
 <code> <code>
 wget https://github.com/PPUC/ZeDMD/releases/download/v3.6.0/ZeDMD-128x32.zip wget https://github.com/PPUC/ZeDMD/releases/download/v3.6.0/ZeDMD-128x32.zip
Line 199: Line 210:
 # batocera-services stop dmd_real # batocera-services stop dmd_real
 # zedmd-client -i # zedmd-client -i
-Searching for ZeDMD... 
-ZeDMD candidate: device=/dev/ttyUSB0, vid=0x1A86, pid=0x7523 
-ZeDMD 5.1.5 found: device=/dev/ttyUSB0, width=128, height=32 
-The ZeDMD USB package size of 32 is a very low value. Try to increase it to get smoother animations. 
-The ZeDMD panel minimal refresh rate of 30 is a very low value. Try to increase it to get smoother animations. 
-ZeDMDComm run thread starting 
  
 ZeDMD Info ZeDMD Info
-========== +============================================================= 
-ZeDMD firmware version: 5.1.5 +ID:                         3904 
-USB package size: 32 +firmware version:           5.1.
-panel RGB order: 0 +CPU:                        ESP32 
-panel brightness: 7+libzedmd version:           0.9.7 
 +transport:                  0 (USB) 
 +device:                     /dev/ttyUSB0 
 +USB package size:           32 
 +WiFi SSID:                  could only be retrieved via WiFi 
 +WiFi port:                  could only be retrieved via WiFi 
 +WiFi power:                 could only be retrieved via WiFi 
 +WiFi UDP delay:             5 
 +panel width:                128 
 +panel height:               32 
 +panel RGB order:            
 +panel brightness:           2 
 +panel clock phase:          0 
 +panel i2s speed:            8 
 +panel latch blanking:       2
 panel minimal refresh rate: 30 panel minimal refresh rate: 30
 +panel driver:               0
 +Y-offset:                   0
  
 # zedmd-client --set-brightness=7 # zedmd-client --set-brightness=7
Line 238: Line 259:
  
 {{:hardware:zedmd_noise.gif?400|}} {{:hardware:zedmd_noise.gif?400|}}
 +
 +=== Pannel driver issue ===
 +Depending on the hardware you bought, some settings on the dmd need to be changed.
 +One user having nothing displayed on the dmd (just the red squares) reported he had to change the panel driver to make it work.
 +(see https://github.com/PPUC/ZeDMD)
 +
 +<code>
 +zedmd-client --set-panel-driver=4
 +</code>
  
  • hardware/diy_zedmd.1739819371.txt.gz
  • Last modified: 16 months ago
  • by nadenislamarre