...
The Sonoff Dual R2 offers control of 2 relays on one board.
GPIO | Function |
---|---|
0 | Button 0 on header |
1 | Serial Rx and Optional Sensor |
3 | Serial Tx and Optional Sensor |
5 | Relay 2 (RED LED) |
9 | Button 1 on header |
10 | Button on Case |
12 | Relay 1 (GREEN LED) |
13 | Blue Led (Inverted) |
Hardware Preperation
This device uses the ESP8285 module which is different than the other SONOFF products.
...
From the Arduino IDE, click Sketch → Upload
Reference
Reference | URL |
---|---|
Product Info | http://sonoff.itead.cc/en/products/sonoff/sonoff-dual |
Schematic for Dual | https://www.itead.cc/wiki/images/1/1d/Sonoff_Dual_View.pdf |
Sonoff-Tasmota | https://github.com/arendst/Sonoff-Tasmota/wiki/Sonoff-Dual-and-Dual-R2 |
Sonoff-Tasmota Switch Modes | https://github.com/arendst/Sonoff-Tasmota/wiki/Understanding-SwitchMode-and-SwitchTopic |