Updated Sonoff Dual (markdown)

Thomas Dietrich 2017-05-30 18:08:06 +02:00
parent 00f8c53c2a
commit ddc0cad52a
1 changed files with 11 additions and 4 deletions

@ -7,20 +7,27 @@
Please see the [Hardware Preparation](https://github.com/arendst/Sonoff-Tasmota/wiki/Hardware-Preparation) page for general instructions. Please see the [Hardware Preparation](https://github.com/arendst/Sonoff-Tasmota/wiki/Hardware-Preparation) page for general instructions.
As always, you need to access the serial interface. The four serial pins are available at the short end of the PCB and can be seen on the left side of the first image. As always, you need to access the serial interface. The **four serial pins** (3V3, Rx, Tx, GND) are available at the short end of the PCB and can be seen on the left side of the first image and are labeled in red on the second image.
<img alt="Sonoff Dual, GPIO0 grounded" src="https://github.com/arendst/arendst.github.io/blob/master/media/dual2a.jpg" width="48%" /> <img alt="Sonoff Dual, GPIO0 grounded" src="https://github.com/arendst/arendst.github.io/blob/master/media/dual2a.jpg" width="48%" />
<img alt="Alternate GPIO0 spot" src="http://tinkerman.cat/wp-content/uploads/2016/12/20161206_234331s.jpg" width="48%" align="right" /> <img alt="Alternate GPIO0 spot" src="http://tinkerman.cat/wp-content/uploads/2016/12/20161206_234331s.jpg" width="48%" align="right" />
Programming the Sonoff Dual is more difficult because the on-board-button is not connected to GPIO0. As with all ESP8266 modules pulling GPIO0 to GND is needed to put the chip in programming mode during power up. GND can be found on the button 0 and button 1 headers. Programming the Sonoff Dual is more difficult because the on-board-button is not connected to GPIO0. As with all ESP8266 modules pulling GPIO0 to GND is needed to put the chip in programming mode. You need to **connect GPIO0 and GND** during power up.
GPIO0 can be accessed two ways: **GND** can be found on the button 0 or button 1 headers.
**GPIO0** can be accessed two ways:
1. Unscrew the Sonoff Dual from the housing and access the underside of the PCB You can find GPIO0 on one side of a resistor as shown in the second image. 1. Unscrew the Sonoff Dual from the housing and access the underside of the PCB You can find GPIO0 on one side of a resistor as shown in the second image.
2. GPIO0 can be found on the small inter layer [via](https://en.wikipedia.org/wiki/Via_(electronics)) pointed at in the first image. Attention: If the via is covered by silk screen (green) you need to expose the underlying conductive (copper) by careful scratching it off. 2. GPIO0 can be found on the small inter layer [via](https://en.wikipedia.org/wiki/Via_(electronics)) pointed at in the first image. Attention: If the via is covered by silk screen (green) you need to expose the underlying conductive (copper) by careful scratching it off.
## Restricted Button Functionality ## Restricted Button Functionality
Please be aware, that the button on the Sonoff Dual is not connected to the normal button pin (GPIO). After freshly flashing Sonoff-Tasmota (with the default module setting "Sonoff Basic"), the button will hence not act as described in [Button Usage](https://github.com/arendst/Sonoff-Tasmota/wiki/Button-usage) article. You will therefore not be able to switch or activate the special wifi modes. Please be aware, that the button on the Sonoff Dual will initially not have any functionality!
Other than on most Sonoff module the button is not connected to the normal button pin (GPIO0). After freshly flashing Sonoff-Tasmota (with the default module setting "Sonoff Basic"), the button will **not act as described** in the [Button Usage](https://github.com/arendst/Sonoff-Tasmota/wiki/Button-usage) article. You will not be able to switch power or activate the special WiFi modes.
**Possible Workarounds:** Take advantage of the default WiFi fallback behavior, which is to connect via [WPS](https://en.wikipedia.org/wiki/Wi-Fi_Protected_Setup) or configure the module firmware config beforehand via `user_config.h`.
After configuring the device as a "Sonoff Dual", the button will regain normal functionality. After configuring the device as a "Sonoff Dual", the button will regain normal functionality.
## Solving intermittent relay switch errors ## Solving intermittent relay switch errors