Here's a simple example...
I used a DS18B20 with data on pin 8 and used pin 9 as Vcc and Pin 10 as Gnd.
You'll also need a 4k7 resistor from Vcc (or pin9 - not the easiest wiring choice) to pin8.
Should also work in parasitic mode.
I used an Uno - but should work as is on Nano (just change target...)
Martin
DS18B20 connection
-
- Valued Contributor
- Posts: 1460
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 135 times
- Been thanked: 712 times