Ds18b20 Arduino Schaltung. All you need is to connect the v dd and gnd of the sensor to 5v and gnd and connect the dq pin of the sensor to any one of the digital i o pin it is connected to digital i o pin 8. The ds18b20 temperature sensor is a one wire digital sensor.
In this case i used digital pin 2. Next connect the middle pin dq to any of the digital pins of the arduino. It can measure temperatures from 55 c to 125 c with 0 5 c accuracy.
Each sensor has a unique 64 bit serial number etched into it allows for a huge number of sensors to be used on one data bus.
All you need is to connect the v dd and gnd of the sensor to 5v and gnd and connect the dq pin of the sensor to any one of the digital i o pin it is connected to digital i o pin 8. Start by connecting the gnd pin to ground and the v dd pin to the 5 v output of the arduino. The ds18b20 sensor has 3 pins. The resolution of the temperature sensor is user configurable to 9 10 11 or 12 bits.