From b19716f8d5bc08791c11308f9a64355a44c4a989 Mon Sep 17 00:00:00 2001 From: Gennaro Tortone Date: Fri, 26 Jan 2018 23:18:25 +0100 Subject: [PATCH] Updated Expanding 4CH (markdown) --- Expanding-4CH.md | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/Expanding-4CH.md b/Expanding-4CH.md index cdd2076d..9832fa75 100644 --- a/Expanding-4CH.md +++ b/Expanding-4CH.md @@ -14,10 +14,10 @@ The schematic reports that 2.5 mm jack is configured as following (jack on right 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 because my "waterproof" DS18B20 sensors provide signal line on TEM1 jack contact. +R35 and R36 resistors are not soldered on Sonoff 4CH PCB and it is possible to use their pads 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: +Then the route to do is: TEM1 -> R35 pad -> GPIO2: | ![](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) | |---|---| @@ -25,8 +25,17 @@ Then the route to do is: TEM1 -> R35 pad -> IO2: |![](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)| |---|---| - - +DS18B20 sensors need a 4.7Kohm pullup resistor between DATA pin and 3.3V and this is also useful to pullup GPIO2 in order to avoid ESP8255 reset. + +Final result in these photos: + +|![](https://github.com/gtortone/Sonoff-Tasmota/blob/development/_temp_imgs/final-jack.jpg) |![](https://github.com/gtortone/Sonoff-Tasmota/blob/development/_temp_imgs/final-result.jpg) | +|---|---| + +Sonoff-Tasmota is also configured with DS18x20 on GPIO2 and it works ! + +|![](https://github.com/gtortone/Sonoff-Tasmota/blob/development/_temp_imgs/Sonoff-Configure-Module.png)|![](https://github.com/gtortone/Sonoff-Tasmota/blob/development/_temp_imgs/Sonoff-Main-Menu.png)| +|---|---|