Tuya Smart Switch is a Sonoff Basic clone that uses chip TYWE2S and it has a ESP8285 embeded.
Imagem do TYWE2S...
Pin definition https://fccid.io/2ANDL-TYWE2S/User-Manual/Users-Manual-3596121#download
Tabela com pinout
GPIO | use |
---|---|
GPIO 0 | Not connected |
GPIO 2 | Not used |
GPIO 4 | LED (status) |
GPIO 5 | Not used |
GPIO 12 | Relay switch |
GPIO 13 | Button |
GPIO 14 | Not used |
Colocar foto da board do switch indicar na foto onde soldar para upload de firmware