Hi,
I have bought one of esp8266 relay board 'all in one'. It attracted my by its sizes that exactly matches to one of my cases. At the beginning it seemed very nice ,the shape and sizes exactly fitted to my case, but when device arrived turns out that everything is not so simple. Turns out that the relay management doesn't serviced over standard ESP GPIO but over additional Nuvoton N76E003AT20 microcontroller, that interact with ESP over UART.As it typically for chinese relay board there is optocoupler for relay managing. For the simplicity sace i could be spit on the Nuvoton and connect ESP GPIO directly to the optocoupler diode ,but the current seems me too high for GPIO (it's about 29ma) and second .. maybe there is more subtle approach ? I have soldered UART connector and uploaded MppRelay. Now i able to see the AT commands that Nuvoton sends to ESP ( i don't know for what), chinese reference says that
"Control command for relay(hex format):
Open relay:A0 01 01 A2
Close relay:A0 01 00 A1"
but i have very shaky idea how to send them to Nuvoton. Sending something like '0xA0' '0x01' '0x00' '0xA1' doesn't leads to anything.
Have anybody familiar with such additional microcontroller? Any ideas ?