BIG 8051 Manual
10
Temperature sensor
Our BIG8051 development system comes with a DS1820 temperature sensor that uses 1-wire
communication as mentioned earlier. It can be used to measure temperature in the range be-
tween –55 degrees Celsius to 125 degree Celsius with an accuracy of +/-0.5 degrees Celsius.
The sensor can convert temperature with 9-bit resolution and takes a maximum of 750ms. The
communication between this module and the microcontroller is achieved via pin P2.7 as shown
in the diagram. To establish a connection between them, it is necessary to set switch 8 on the
DIP switch SW15 to the ON position.
DS1820 and microcontroller connection schematic [6]
DS1820 temperature sensor connected. Make sure that the rounded
side of the DS1820 matches the half circle on board
Switch 8 on the DIP switch SW15 is set to OFF at the moment. To
connect DS1820, set pin P2.7 to ON