Updated Sonoff 4CH DIY (markdown)

Gtis69 2018-12-24 11:04:29 +01:00
parent a5ec618ee8
commit b5b2c1f1ea
1 changed files with 9 additions and 9 deletions

@ -1,33 +1,33 @@
**Sonoff DIY 4CH**
**Sonoff 4CH DIY**
* Itead Shop: https://www.itead.cc/psf-b85.html
* Itead Wiki: https://www.itead.cc/wiki/PSF-B85
The Sonoff DIY 4CH is based on the ESP8285.
The Sonoff 4CH DIY is based on the ESP8285.
<img alt="Sonoff DIY 4CH GPIO" src="https://github.com/Gtis69/arendst.github.io/blob/master/media/Sonoff_DIY_4CH_GPIO.jpg" width="50%"/>
<img alt="Sonoff 4CH DIY GPIO" src="https://github.com/Gtis69/arendst.github.io/blob/master/media/Sonoff_DIY_4CH_GPIO.jpg" width="50%"/>
## Serial Connection
### Sonoff DIY 4CH
### Sonoff 4CH DIY
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 picture.
<img alt="Sonoff DIY 4CH serial" src="https://github.com/Gtis69/arendst.github.io/blob/master/media/Sonoff_DIY_4CH_serial.JPG" width="50%"/>
<img alt="Sonoff 4CH DIY serial" src="https://github.com/Gtis69/arendst.github.io/blob/master/media/Sonoff_DIY_4CH_serial.JPG" width="50%"/>
Programming the Sonoff DIY 4CH is a breeze although the on-board-button is not connected to GPIO0. As with all ESP8266/ESP8285 modules pulling GPIO0 to GND is needed to put the chip in programming mode. You need to **connect GPIO0 and GND** during power up.
Programming the Sonoff 4CH DIY is a breeze although the on-board-button is not connected to GPIO0. As with all ESP8266/ESP8285 modules pulling GPIO0 to GND is needed to put the chip in programming mode. You need to **connect GPIO0 and GND** during power up.
Luckily both GND and GPIO0 (as KEY 1) are available on the header. A simple jumper between GND and KEY 1 while programming will do.
<img alt="Sonoff DIY 4CH jumper" src="https://github.com/Gtis69/arendst.github.io/blob/master/media/Sonoff_DIY_4CH_jump.JPG" width="50%"/>
<img alt="Sonoff 4CH DIY jumper" src="https://github.com/Gtis69/arendst.github.io/blob/master/media/Sonoff_DIY_4CH_jump.JPG" width="50%"/>
## Module parameters
### Type
<img alt="Sonoff DIY 4CH parameters" src="https://github.com/Gtis69/arendst.github.io/blob/master/media/Sonoff_DIY_4CH_parameters.jpg" width="30%" align="right" />
<img alt="Sonoff 4CH DIY parameters" src="https://github.com/Gtis69/arendst.github.io/blob/master/media/Sonoff_DIY_4CH_parameters.jpg" width="30%" align="right" />
Module Type => Generic (18)
@ -35,7 +35,7 @@ Restart the module.
### GPIO9 & GPIO10
<img alt="Sonoff DIY 4CH SetOption51" src="https://github.com/Gtis69/arendst.github.io/blob/master/media/Sonoff_DIY_4CH_Option51.jpg" width="50%" />
<img alt="Sonoff 4CH DIY SetOption51" src="https://github.com/Gtis69/arendst.github.io/blob/master/media/Sonoff_DIY_4CH_Option51.jpg" width="50%" />
To use GPIO9 and GPIO10 of the ESP8285, open the consol and enter => "SetOption51 on".