No 1-wire devices on GPIO0 with putty/serial, works with Arduino/IDE

Hello everybody, my first post on this forum!

I have attached a DS1307 DS18B20 temperature sensor to the D3 pin of my Wemos D1 Mini Lite. It was the only pin left. Works fine, except when I use putty.exe - serial to connect to my USB com port: then the getDeviceCount() returns 0. When I use the Serial Monitor of the Arduino IDE, it works fine.

I expect this to be related to flow control using RTS/CTS and/or DTR/DSR when I look at the schematic, but how can I tweak putty to behave like the Arduino IDE Serial Monitor does? Thx in advance!

No 1-wire devices on GPIO0 with putty/serial, works with Arduino/IDE

DS1307 not is a 1-Wire sensor. That is a RTC.

I moved your topic to an appropriate forum category.
In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.
You should never post in the Uncategorised section.

This is an important part of responsible forum usage, as explained in the "How to get the best out of this forum" guide. The guide contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.
You might want to look at this How to get the best out of this forum before you proceed any further. You got a chance to read before you posted, but ignored the chance.

Thank you! Of course I meant the DS18B20 temperature sensor...

Thank you; I stand corrected and promise betterment!

1 Like

How did you connect the DS18B20? Show your schematic.

Did you use the 4K7 resistor between the V+ and the DQ ?

Like this:

image

Try using a 3k3 or 2k2 resistor .

The pull-up is beyond my doubt. I suspect the data flow mechanism coming from the CH340 chip to interfere, but I don't know how putty serial causes the problem while the IDE serial monitor doesn't.

image

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.