I have been trying to contact a forum member that has done a modification to his pool equipment in order to control it remotely instead of having to go to the box every time and check on the codes. His has released the source code on his github page.
However, I have a different model than he does so I do not think his ESP32 code will work on mine.
His equipment contains a TM1650 for the 2 digit 7 segment display. I am unable to find out if my version has the TM1650 or something else.
His schematic looks like this:
I have all the components that are displayed in the schematic. I have the ESP32 and the Level shifter.
Another forum member had the same chip but some pins were different. His schematic looks like this:
So, since I do not have the same setup as they do is there any IC I can get that would make reading the 2 digit 7 segments easier than trying to read each led and determining what letter/number is being displayed? I can use the 4n25/35 optocoupler to "press" any of the 6 buttons and have an analog read for the 8 LEDs to determine which ones of those are on. The only trouble I foresee is the 2 digit 7 segments reading.
As both boards contain a 4 pin connector it's most likely they communicate the same way. Power and an I²C (kinda) interface would be the 4 connectors. Does your board have a 16 pin SMD IC on the back and does it have a number?
Mike.
Edit, assuming the picture above is the back of your board then it does contain a 16 pin IC. Can you read the number?
As both boards contain a 4 pin connector it's most likely they communicate the same way. Power and an I²C (kinda) interface would be the 4 connectors. Does your board have a 16 pin SMD IC on the back and does it have a number?
Mike.
Edit, assuming the picture above is the back of your board then it does contain a 16 pin IC. Can you read the number?
Can you get a clearer picture? The digit commons appear to go to the correct pins but it's hard to see the other tracks.
Reading individual LEDs is not going to be possible as they're multiplexed.
Intercepting the communication with the chip is the best method.
Alright ill put the circuit components onto a breadboard and try out the I2C and see if it is the same. I gather that the far-right pin is the ground (under the C3) while the pin to the left of it would be the 5vdc?
So I'm looking at my version of the ESP32 that I have (Known as the Lolin32)
And looking at their schematic I see that they call out GPIO 16, 17, 18 & 19. However, I do not have the same pin layout as they do...Go figure...
- GPIO 19 -> SWG main board clock
- GPIO 18 -> SWG main board data
- GPIO 17 -> Display board clock
- GPIO 16 -> Display board data