I am having problems getting my temperature sensor to read on my Arduino Nano v3.0. I am hoping someone can take a look at my code/schematic and tell me where I’m going wrong. Temp returned is -127 (indicating no sensor found).
I am using code from ds18b20 tutorial. I have attached the wiring diagram and have verified the temperature sensor works on a Raspberry Pi 2 B successfully using the 1-wire bus.
Datasheet says the sensor takes between 2.7 and 5.5 volts and my voltmeter displays 4.69 volts on both VCC and Data pins with 4.7k resistor wired in.
I’m racking my brain trying to figure out what’s wrong.