Updated Sonoff 4CH and 4CH Pro (markdown)

Michael Ingraham 2019-03-09 14:20:52 -05:00
parent 412a6f9ae5
commit 21df83282c
1 changed files with 22 additions and 20 deletions

@ -1,16 +1,16 @@
**Sonoff 4CH**
* Itead Product Page: http://sonoff.itead.cc/en/products/sonoff/sonoff-4ch
* Itead Shop: https://www.itead.cc/sonoff-4ch.html
* Itead Wiki: https://www.itead.cc/wiki/Sonoff_4CH
* [Itead Product Page](http://sonoff.itead.cc/en/products/sonoff/sonoff-4ch)
* [Itead Shop](https://www.itead.cc/sonoff-4ch.html)
* [Itead Wiki](https://www.itead.cc/wiki/Sonoff_4CH)
Other than most Sonoff modules (ESP8266) the Sonoff 4CH is based on the ESP8285.
Unlike most Sonoff modules that use the ESP8266 SOC, the Sonoff 4CH is based on the ESP8285.
**Sonoff 4CH Pro**
* Itead Product Page: http://sonoff.itead.cc/en/products/sonoff/sonoff-4ch-pro
* Itead Shop: https://www.itead.cc/sonoff-4ch-pro.html
* Itead Wiki: https://www.itead.cc/wiki/Sonoff_4CH_Pro
* [Itead Product Page](http://sonoff.itead.cc/en/products/sonoff/sonoff-4ch-pro)
* [Itead Shop](https://www.itead.cc/sonoff-4ch-pro.html)
* [Itead Wiki](https://www.itead.cc/wiki/Sonoff_4CH_Pro)
Compared to the 4CH the main differences/improvements of the 4CH Pro are:
@ -23,7 +23,7 @@ Compared to the 4CH the main differences/improvements of the 4CH Pro are:
### Sonoff 4CH
Please see the [Hardware Preparation](https://github.com/arendst/Sonoff-Tasmota/wiki/Hardware-Preparation) page for general instructions.
Please see the [Hardware Preparation](Hardware-Preparation) page for general instructions.
As always, you need to access the serial interface. The **four serial pins** (3V3, Rx, Tx, GND) can be seen in the first picture.
*Attention:* The printed labels on the PCB for Rx and Tx may be incorrectly swapped as can be seen on the image. A newer board revision has the Rx and Tx labels in the correct place; regardless of the labels, the pin next to 3V3 is Rx.
@ -31,7 +31,7 @@ As always, you need to access the serial interface. The **four serial pins** (3V
<img title="Sonoff 4CH serial connection pins" src="https://github.com/arendst/arendst.github.io/blob/master/media/sonoff4ch_pins.jpg" width="48%" />
<img title="Sonoff 4CH GPIO0" src="https://github.com/arendst/arendst.github.io/blob/master/media/sonoff4ch_gpio0.jpg" width="42%" align="right" />
The Sonoff 4CH features four hardware buttons of which one is already connected to GPIO0, which hence can be used to bring the module into [Programming Mode](https://github.com/arendst/Sonoff-Tasmota/wiki/Hardware-Preparation#bringing-the-module-in-flash-mode). The button is shown on the second picture.
The Sonoff 4CH features four hardware buttons of which one is already connected to GPIO0, which hence can be used to bring the module into [Programming Mode](Hardware-Preparation#bringing-the-module-in-flash-mode). The button is shown on the second picture.
### Sonoff 4CH Pro
@ -49,21 +49,23 @@ On the R2 module the GPIO0 pin is broken out to [a small pad to the right of the
<img title="R2 module - GPIO0 pad" src="https://user-images.githubusercontent.com/3594528/37109801-58fb97a4-223b-11e8-969c-1131dcfa6ee1.jpg" width="50%" align="middle" />
## Solving Sonoff 4CHpro programing issues
## Solving Sonoff 4CH Pro programing issues
If you have problems to program the 4CH-pro, you might find below tips useful:
* Basic) Use the ESP program header and ensure that the right port is set in the Arduino IDE.
* Basic) TX/RX are printed correctly on the pro version => TX goes to RX PIN and RX to TX.
* Basic) GP0 needs to be connected to ground 3 seconds after reboot !!! If not you can not program it.
* Step1) If you use windows7+, check in the device manager if the port is not added/removed all 2 seconds.
=> If yes then your USB port does not deliver enough ampere.
* Step1) Or/and reduce upload speed to 57600 in Arduino IDE.
* Step2) Use an active USB HUB if your computer delivers not enough ampere
=> External power source will stabilize the 4CH-pro and you can increase upload speed back to 115200.
=> Using a Laptop instead of a Desktop Tower might also do the trick as Laptops have a battery to deliver more ampere.
* Use the ESP program header and ensure that the right port is set in the Arduino IDE.
* TX/RX are printed correctly on the pro version => TX goes to RX PIN and RX to TX.
* GP0 needs to be connected to ground 3 seconds after reboot !!! If not you can not program it.
1. If you use Windows7+, check in the device manager if the port is not added/removed all 2 seconds.
- If yes then your USB port does not deliver enough ampere.
2. And/Or reduce upload speed to 57600 in Arduino IDE.
3. Use an active USB HUB if your computer delivers not enough ampere
- External power source will stabilize the 4CH-pro and you can increase upload speed back to 115200.
- Using a Laptop instead of a Desktop Tower might also do the trick as Laptops have a battery to deliver more ampere.
## Solving OTA and Upload Problems
Where most Sonoff's are ESP8266 based the Sonoff Touch and Sonoff 4CH are based on the ESP8285.
Where most Sonoff's are ESP8266 based, the Sonoff Touch and Sonoff 4CH are based on the ESP8285.
It is important to initially flash these devices with the correct FlashChipMode of DOUT as otherwise future OTA or Upload updates will fail.