You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Overview

The Sonoff device is a cheap $5 ESP8266 wifi enabled switch.

Pinout



Wiring the Sonoff to the serial cable




Flashing Sonoff using Arduino IDE


The Arduino project is located in Sonoff-Tasmota/sonoff/sonoff.ino.


  • Copy Libs to Arduino libs folder

> cd Sonoff-Tasmota/lib

> cp -R * ~/Documents/Arduino/libraries/.


  • Startup the Arduino IDE


  • Set Board Info


  • Connect the Sonoff device to a USB port while holding down the button. This will put it in flash mode.


  • Select the serial port of the Sonoff device


  • Upload and you are done.


See https://github.com/arendst/Sonoff-Tasmota/wiki/Arduino-IDE


References

ReferenceURL
Sonoff Manufacturer's Pagehttp://sonoff.itead.cc/en/
Flashing Sonoff using Arduinohttps://github.com/arendst/Sonoff-Tasmota/wiki/Arduino-IDE


  • No labels