Support for SM-PWM (SM16169SH) #855
-
|
Hey guys! I'm new to these led wall stuff. But i've been tinkering stuff for ages. I know very little in this domain. So, please bear with me. I used this lib to do a clock project using an custom esp32-s3 based pcb with level shifters similar to HD-WF2. Starting this year I've been getting modules with SM-PWM type drivers which this lib doesn't support. Here is my issue in the esp32 PWM repo mrcodetastic/ESP32-PWM-MatrixPanel-DMA#2 Having those modules lying around for a month like a bunch of bricks. Finally got a Huidu receiving card (HD-R712) and a sender box (HD-VP210A). Now I'm waiting for the logic analyzer (cheap $5 Saleae 8CH clone, not a big-hat to afford the real Saleae) to arrive to intercept the signals and bring this SM-PWM to light. Not Sure if these cheap 24MHz logic analyzers will be able to capture the data. But, On my way to try. Hoping it arrives soon. PS: IDK anything about PWM or the inter IC protocols. Hey @mrcodetastic @board707 or anyone interested Already tries to reverse their FPGA firmwares. Not much luck. Give your inputs. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
The problem is that this isn't a single protocol, but an entire class. Unlike сonventional type panels, almost every SM-PWM type driver has its own unique format. Numerous attempts have been made to read and decode it; you can find impulse diagrams for some drivers in the thread. |
Beta Was this translation helpful? Give feedback.
-
|
Supporting SPWM panels with this library is like trying to replace an Apple with an Orange. Totally different behind the scenes, except for the fact they're ultimately outputting a grid of pixels to the human eye. I have a separate git repository where I wrote example code to drive one specific model of PWM panels I was given as a donation. Whilst I thought I could re-use this library and just 'hack it', that turned out to be totally wrong, and I ended up writing something completely from scratch given these PWM panels work completely differently. |
Beta Was this translation helpful? Give feedback.
Supporting SPWM panels with this library is like trying to replace an Apple with an Orange. Totally different behind the scenes, except for the fact they're ultimately outputting a grid of pixels to the human eye.
I have a separate git repository where I wrote example code to drive one specific model of PWM panels I was given as a donation. Whilst I thought I could re-use this library and just 'hack it', that turned out to be totally wrong, and I ended up writing something completely from scratch given these PWM panels work completely differently.
https://github.com/mrcodetastic/ESP32-PWM-MatrixPanel-DMA