I would like to use all available (3) GPIOs - GPIO14, TX, RX.
I found this Sonoff GPIO mappings:
Code: Select all
sonoff header 1 - vcc 3v3 2 - rx (gpio3 = D9) 3 - tx (gpio1 = D10) 4 - gnd 5 - gpio 14 esp8266 connections gpio 0 - button gpio 12 - relay gpio 13 - green led - active low
I made simple PCB and connect DS18B20 to VCC, GND and data to GPIO1(TX) + 4k7 resistor between data and vcc.
It works very bad. Sometimes I can scan 1-2 DS18B20 sensors, but in most cases I cannot see any sensor. I have connected 4 sensors.
If I look at Hardware tab there are no GPIO1(TX) and GPIO3(RX):
Why? Is possible to use serial port pins (GPIO1 and GPIO3) as normal GPIO pins? Or are these pins reserved?