mirror of https://github.com/arendst/Tasmota.git
Add local links
parent
c14defbc97
commit
5b18b88dec
|
@ -3,13 +3,13 @@ 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...
|
||||
|
||||
<p align="center">
|
||||
<img src="https://github.com/gtortone/Sonoff-Tasmota/blob/development/_temp_imgs/sf4ch-jack.jpg">
|
||||
<img src="https://github.com/arendst/arendst.github.io/blob/master/media/4chjack/sf4ch-jack.jpg">
|
||||
</p>
|
||||
|
||||
The schematic reports that 2.5 mm jack is configured as following (jack on right side, ESP8285 on the left side:
|
||||
|
||||
<p align="center">
|
||||
<img src="https://github.com/gtortone/Sonoff-Tasmota/blob/development/_temp_imgs/sf4ch-schematic.png">
|
||||
<img src="https://github.com/arendst/arendst.github.io/blob/master/media/4chjack/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 ESP8285 for flash memory connection (sigh!)
|
||||
|
@ -19,22 +19,22 @@ For ESP8285 pin I prefer IO2 that is already available on header programming pin
|
|||
|
||||
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) |
|
||||
| ![](https://github.com/arendst/arendst.github.io/blob/master/media/4chjack/r35-zoom.jpg) |![](https://github.com/arendst/arendst.github.io/blob/master/media/4chjack/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)|
|
||||
|![](https://github.com/arendst/arendst.github.io/blob/master/media/4chjack/sf4ch-pcb-rear.jpg)|![](https://github.com/arendst/arendst.github.io/blob/master/media/4chjack/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 ESP8285 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) |
|
||||
|![](https://github.com/arendst/arendst.github.io/blob/master/media/4chjack/final-jack.jpg) |![](https://github.com/arendst/arendst.github.io/blob/master/media/4chjack/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)|
|
||||
|![](https://github.com/arendst/arendst.github.io/blob/master/media/4chjack/Sonoff-Configure-Module.png)|![](https://github.com/arendst/arendst.github.io/blob/master/media/4chjack/Sonoff-Main-Menu.png)|
|
||||
|---|---|
|
||||
|
||||
****Note****: source file [sonoff/sonoff_template.h ](https://github.com/arendst/Sonoff-Tasmota/blob/development/sonoff/sonoff_template.h) provides the configuration on Sonoff 4CH and it is also possible to use GPIO16 (as in the screenshot above) but be aware that no interrupts can be used on GPIO16 and
|
||||
|
|
Loading…
Reference in New Issue