Sonoff SC Sensor
Please see the Hardware Preparation page for general instructions.
Remove the 4 screws on the bottom. The button is connected to GPIO0.
You will have to remove the TX jumper in the board to avoid the ATMega328P to interfere in the upload process.
Press and hold the button while powering the board to set the ESP8266 into flashing mode.
Note! After flashing you need to set the baudrate to 19200. Use command:
Don’t forget to reconnect the TX jumper after flashing!