Voltage divider on RX pin problems
Posted: Mon Nov 23, 2015 2:56 pm
Heya,
as per Kolban's ebook (page 26, Nov) I tried to be universal vs programmers and did voltage divider with 10k/22k ratio. On GPIO2 I have DS18B20 sensor and the rest is usual.
Now the funny thing, when USB programmer (CP2102 in my case) is connected to RX/TX/GND, through divider, everything is fine, Serial() works, I can flash it, erase it, it just works.
*but*
When I do remove RX/TX connection, ESP fires up serial LED meaning continuous wdt resets or exceptions.
I noticed that when I do remove that voltage divider and go straight RX or TX it works fine in both situations, with and without programmer connected.
Cannot debug it (or do know how) because it barfs on me when I do not have Serial() connection.
Anyone have a clue what is happening here ?
TIA,
--
Mozz
as per Kolban's ebook (page 26, Nov) I tried to be universal vs programmers and did voltage divider with 10k/22k ratio. On GPIO2 I have DS18B20 sensor and the rest is usual.
Now the funny thing, when USB programmer (CP2102 in my case) is connected to RX/TX/GND, through divider, everything is fine, Serial() works, I can flash it, erase it, it just works.
*but*
When I do remove RX/TX connection, ESP fires up serial LED meaning continuous wdt resets or exceptions.
I noticed that when I do remove that voltage divider and go straight RX or TX it works fine in both situations, with and without programmer connected.
Cannot debug it (or do know how) because it barfs on me when I do not have Serial() connection.
Anyone have a clue what is happening here ?
TIA,
--
Mozz