mirror of https://github.com/arendst/Tasmota.git
Rearange 4CH Pro, thanks aequitas!
parent
63809bd15b
commit
c8a00ab406
|
@ -1,3 +1,4 @@
|
|||
**Sonoff 4CH**
|
||||
|
||||
* Itead Product Page: http://sonoff.itead.cc/en/products/sonoff/sonoff-4ch
|
||||
* Itead Shop: https://www.itead.cc/sonoff-4ch.html
|
||||
|
@ -5,7 +6,7 @@
|
|||
|
||||
Other than most Sonoff modules (ESP8266) the Sonoff 4CH is based on the ESP8285.
|
||||
|
||||
**4CH Pro**
|
||||
**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
|
||||
|
@ -13,9 +14,17 @@ Other than most Sonoff modules (ESP8266) the Sonoff 4CH is based on the ESP8285.
|
|||
|
||||
The 4CH Pro is similar to the 4CH but different in some ways as well, please see below for instructions.
|
||||
|
||||
The main differences between the 4CH and the 4CH Pro are:
|
||||
|
||||
- Relays are isolated from mains and can each switch their own circuit (mains or low voltage).
|
||||
- With stock firmware special modes are supported (stand-alone schedules, inching, interlocking).
|
||||
- RF receiver (optional key fob required).
|
||||
- Dual microcontroller, both a ESP8285 and a STM32.
|
||||
|
||||
## Serial Connection
|
||||
|
||||
### Sonoff 4CH
|
||||
|
||||
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** (3V3, Rx, Tx, GND) can be seen in the first picture.
|
||||
|
@ -26,8 +35,19 @@ As always, you need to access the serial interface. The **four serial pins** (3V
|
|||
|
||||
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.
|
||||
|
||||
### Sonoff 4CH Pro
|
||||
|
||||
The "FW/IO0" button (Switch 1) is not directly connected to GPIO0 of the ESP module. A different method has to be used to program this board.
|
||||
|
||||
To program the ESP chip disconnect power from the board, connect a cable from any Ground (GND) pin to the GPIO0 pin on the ESP (be careful not to touch any of the other pins). This is the second pin to the right on the top row of pins (see picture). While holding the pin connected power on the board. The board does not respond to any button pressed when in programming mode and LED 1, 2 and 3 are on (might differ per board).
|
||||
|
||||
Use the ESP programming header as described in the picture to upload the firmware and follow regular programming procedure.
|
||||
|
||||
<img title="Sonoff 4CH Pro programming" src="https://github.com/arendst/arendst.github.io/blob/master/media/4chpro_gpio0.JPG" width="50%"/>
|
||||
|
||||
|
||||
## Solving OTA and Upload Problems
|
||||
|
||||
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.
|
||||
|
@ -38,34 +58,15 @@ After first restart make sure to select either module Sonoff Touch or Sonoff 4CH
|
|||
|
||||
Starting with version 3.9.12 the OTA or Upload code will now check if one of the above modules is selected and patch the uploaded default ESP8266 code with FlashChipMode DIO to the ESP8285 FlashChipMode DOUT before it is copied to it's final destination.
|
||||
|
||||
# 4CH Pro
|
||||
|
||||
The main differences between the 4CH and the 4CH Pro are:
|
||||
## 4CH Pro DIPSwitch Configuration
|
||||
|
||||
- Relays are isolated from mains and can each switch their own circuit (mains or low voltage).
|
||||
- With stock firmware special modes are supported (stand-alone schedules, inching, interlocking).
|
||||
- RF receiver (optional key fob required).
|
||||
- Dual microcontroller, both a ESP8285 and a STM32.
|
||||
|
||||
Because Firmware Button/Switch 1 is not directly connected to the GPIO0 of the ESP module a different method has to be used to program this board.
|
||||
|
||||
To program the ESP chip disconnect power from the board, connect a cable from any Ground (GND) pin to the GPIO0 pin on the ESP (be careful not to touch any of the other pins). This is the second pin to the right on the top row of pins (see picture). While holding the pin connected power on the board. The board does not respond to any button pressed when in programming mode and LED 1, 2 and 3 are on (might differ per board).
|
||||
|
||||
Use the ESP programming header as described in the picture to upload the firmware and follow regular programming procedure.
|
||||
|
||||
<img title="Sonoff 4CH Pro programming" src="https://github.com/arendst/arendst.github.io/blob/master/media/4chpro_gpio0.JPG" width="50%"/>
|
||||
|
||||
|
||||
## Switch configuration
|
||||
|
||||
A lot of the special modes are controlled by switched on board of the board, please refer to back of the board or Sonoff documentation for more details. For normal operation with Tasmota the following settings are recommended:
|
||||
Most special modes of the 4CH Pro are controlled by DIP switch panels on the board.
|
||||
Please refer to the back of the board or the Sonoff documentation for more details.
|
||||
For normal operation with Tasmota the following settings are recommended:
|
||||
|
||||
- S6: 1
|
||||
- K5: all 1
|
||||
- K6: all 0
|
||||
|
||||
(0 and 1 are printed onto the board next to the switch names.
|
||||
|
||||
## Programming
|
||||
|
||||
The 4CH Pro ESP cannot be programmed using the 4CH method. As the Firmware button (Switch 1) is not directly connected to the ESP GPIO0 pin, instead this pin is controlled from the STL32. To program the 4CH Pro refer to these instructions: https://github.com/arendst/Sonoff-Tasmota/wiki/Hardware-Preparation#4ch-pro
|
||||
(0 and 1 are printed onto the board next to the switch names)
|
Loading…
Reference in New Issue