mirror of https://github.com/arendst/Tasmota.git
Updated Hardware Preparation (markdown)
parent
0e126338cd
commit
c373e0796b
|
@ -1,6 +1,6 @@
|
||||||
## Hardware Preparation
|
## Hardware Preparation
|
||||||
|
|
||||||
You need to make the serial programming interface of the Sonoff module / the ESP8266 microchip available. In most cases the pins are available on the PCB but connectors need to be soldered to allow interfacing. You'll furthermore need a **3.3V FTDI USB-to-Serial Converter/Programmer**.
|
You need to make the serial programming interface of the Sonoff module / the ESP8266 microchip available. In most cases the pins are available on the PCB but connectors need to be soldered or otherwise applied to allow interfacing. You'll furthermore need a **3.3V FTDI USB-to-Serial Converter/Programmer**.
|
||||||
|
|
||||||
<img alt="Sonoff Pow Bricked" src="https://github.com/arendst/arendst.github.io/blob/master/media/pow1.jpg" width="40%" align="right" />
|
<img alt="Sonoff Pow Bricked" src="https://github.com/arendst/arendst.github.io/blob/master/media/pow1.jpg" width="40%" align="right" />
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ If you are not careful, your own health might be in danger. Always make sure to
|
||||||
|
|
||||||
## Serial Connection
|
## Serial Connection
|
||||||
|
|
||||||
The following table shows the connection for most Sonoff modules:
|
The following table shows the connection between the connectors of the programmer and the modules. Pay attention to crossed RX and TX lines.
|
||||||
|
|
||||||
|Programmer | Sonoff Module |
|
|Programmer | Sonoff Module |
|
||||||
|------------|--------------------|
|
|------------|--------------------|
|
||||||
|
@ -22,11 +22,20 @@ The following table shows the connection for most Sonoff modules:
|
||||||
| RX | TX |
|
| RX | TX |
|
||||||
| GND | GND |
|
| GND | GND |
|
||||||
|
|
||||||
Pay attention to the fact, that RX and TX are crossed.
|
|
||||||
|
|
||||||
Some Sonoff modules expose a five pin header. The fifth pin is irrelevant for the serial connection. Please check the specific module pages to find out more.
|
Some Sonoff modules expose a five pin header. The fifth pin is irrelevant for the serial connection. Please check the specific module pages to find out more.
|
||||||
|
|
||||||
Examples of the above preparations are shown in [Peter Scargill's blog](http://tech.scargill.net/itead-slampher-and-sonoff) or by [captain-slow.dk](http://captain-slow.dk/2016/05/22/replacing-the-itead-sonoff-firmware/).
|
### Bringing the Module in Flash Mode
|
||||||
|
|
||||||
|
The "brain" of the Sonoff module (normally the ESP8266) needs to be put into Flash Mode before the Sonoff-Tasmota firmware can be transferred. This is done by pulling the GPIO0 pin to GND while the chip is booting. On most modules the installed control button is connected to GPIO0 and GND, making entering Flash Mode very easy. On other modules you will need to connect pins on the PCB. See device specific articles for details.
|
||||||
|
|
||||||
|
To bring a Sonoff module into Flash Mode:
|
||||||
|
|
||||||
|
1. Disconnect serial programmer and power
|
||||||
|
2. Connect GPIO0 and GND (e.g., by pressing the on-board button or connection via cable)
|
||||||
|
3. Connect the serial programmer (VCC, RX, TX, GND), e.g. by connecting the belonging USB cable
|
||||||
|
4. Disconnect GPIO0 from GND (after one-two seconds)
|
||||||
|
|
||||||
|
If everything went well, you are now in Flash Mode and ready to continue with the Sonoff-Tasmota firmware [Upload](https://github.com/arendst/Sonoff-Tasmota/wiki/Upload). If the upload is not able to start, disconnect the module and start the hardware preparations from the beginning.
|
||||||
|
|
||||||
### Module Specific Articles
|
### Module Specific Articles
|
||||||
|
|
||||||
|
@ -39,19 +48,6 @@ Check the module specific instructions and restrictions documented in the **devi
|
||||||
* [Sonoff 4CH / 4CH Pro](https://github.com/arendst/Sonoff-Tasmota/wiki/Sonoff-4CH-and-4CH-Pro)
|
* [Sonoff 4CH / 4CH Pro](https://github.com/arendst/Sonoff-Tasmota/wiki/Sonoff-4CH-and-4CH-Pro)
|
||||||
-->
|
-->
|
||||||
|
|
||||||
### Bringing the Module in Flash Mode
|
|
||||||
|
|
||||||
The "brain" of the Sonoff module (normally the ESP8266) needs to be put into Flash Mode. This is done, by pulling the GPIO0 pin to GND while the chip is booting. On most modules the installed control button is connected to GPIO0 and GND, making entering Flash Mode very easy. On other modules you will need to connect pins on the PCB. See device specific articles for details.
|
|
||||||
|
|
||||||
To bring a Sonoff module into Flash Mode:
|
|
||||||
|
|
||||||
1. Disconnect serial programmer and power
|
|
||||||
2. Connect GPIO0 and GND (e.g., by pressing the on-board button or connection via cable)
|
|
||||||
3. Connect the serial programmer (VCC, RX, TX, GND)
|
|
||||||
4. Disconnect GPIO0 from GND (after one-two seconds)
|
|
||||||
|
|
||||||
If everything went well, you are now in Flash Mode and ready to continue with the Sonoff-Tasmota firmware [Upload](https://github.com/arendst/Sonoff-Tasmota/wiki/Upload). If the upload is not able to start, disconnect the module and start the hardware preparations from the beginning.
|
|
||||||
|
|
||||||
----
|
----
|
||||||
----
|
----
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue