Flash relay firmware to your Sonoff TH — no Arduino IDE needed
Connect 3.3V→VCC GND→GND TX→RX RX→TX — use 3.3V only, never 5V!
1) Disconnect the USB adapter from your PC
2) Find the small button on the Sonoff PCB board and hold it down
3) While still holding the button, plug the USB adapter into your PC
4) Keep holding for 2-3 seconds, then release
5) The Sonoff is now in flash mode — no LEDs will blink, that's normal
Select your COM port when prompted. Flashing takes about 30 seconds.
After flashing, configure WiFi & relay number directly over USB — no captive portal needed!
12345678)192.168.4.1 in your browser — enter WiFi & relay settingsCH340 USB Driver — needed if your serial adapter isn't detected:
📥 Download CH340 Driver (Windows)Extract the zip → run the installer → replug your USB adapter
Can't get the flash to work? Try the Tasmota Web Flasher as a test:
🔗 Tasmota Web Flasher (test your setup)Tasmota (ESP8266 version, NOT ESP32)Module Type → Sonoff TH