Updated Expanding 4CH (markdown)

Gennaro Tortone 2018-01-26 23:10:49 +01:00
parent a8faf794e2
commit ab53fa095f
1 changed files with 15 additions and 3 deletions

@ -2,18 +2,30 @@ Opening my Sonoff 4CH (https://www.itead.cc/sonoff-4ch.html) I realized that on
I ordered on Aliexpress some 2.5 mm jacks and when I received it after some work...
![](https://github.com/gtortone/Sonoff-Tasmota/blob/development/_temp_imgs/sf4ch-jack.jpg)
<p align="center">
<img src="https://github.com/gtortone/Sonoff-Tasmota/blob/development/_temp_imgs/sf4ch-jack.jpg">
</p>
The schematic reports that 2.5 mm jack is configured as following (jack on right side, ESP8255 on the left side:
![](https://github.com/gtortone/Sonoff-Tasmota/blob/development/_temp_imgs/sf4ch-schematic.png)
<p align="center">
<img src="https://github.com/gtortone/Sonoff-Tasmota/blob/development/_temp_imgs/sf4ch-schematic.png">
</p>
3.3V and GND are very welcome for sensors expansions but GPIO7 and GPIO8 are not usable because they are used internally by ESP8255 for flash memory connection (sigh!)
R35 and R36 resistors are not soldered on Sonoff 4CH PCB and it is possible to use them to "manually route" the jack contact on another ESP2855 pin (!). I selected R35 pad due to my DS18B20 sensors that provide signal line on that jack contact TEM1. For ESP8255 pin I prefer IO2 that is already available on header programming pins...
R35 and R36 resistors are not soldered on Sonoff 4CH PCB and it is possible to use them to "manually route" the jack contact on another ESP2855 pin (!). I selected R35 pad because my "waterproof" DS18B20 sensors provide signal line on TEM1 jack contact.
For ESP8255 pin I prefer IO2 that is already available on header programming pins...
Then the route to do is: TEM1 -> R35 pad -> IO2:
| ![](https://github.com/gtortone/Sonoff-Tasmota/blob/development/_temp_imgs/r35-zoom.jpg) |![](https://github.com/gtortone/Sonoff-Tasmota/blob/development/_temp_imgs/r35.jpg) |
|---|---|
|![](https://github.com/gtortone/Sonoff-Tasmota/blob/development/_temp_imgs/sf4ch-pcb-rear.jpg)|![](https://github.com/gtortone/Sonoff-Tasmota/blob/development/_temp_imgs/rear-zoom.jpg)|
|---|---|