Organize and Share your Electronics the way you want. Sign-Up for a free account now. It takes only 30 seconds!

Measuring temperatures with Raspberry Pi and multiple DS18B20 Sensors

Measuring temperatures with Raspberry Pi and multiple DS18B20 Sensors

The DS18B20 temperature sensor is easy to use, inexpensive and has a repeatable level of accuracy which makes it a top choice for measuring temperatures in all sorts of environments. However using multiple units with a Raspberry Pi may have seemed too difficult – until now. 

Thanks to the efforts of Malcolm Maclean the process is quite simple. Only one GPIO pin is required as each DS18B20 has a unique 1-wire bus address, and with the example code running under Raspbian you can poll all the sensors in one hit and receive the temperature in Celsius along with the individual sensor’s address.

Fore more information, visit Malcolm’s interesting website. And for more, we’re on facebookGoogle+, and twitter – so follow us for news and product updates as well. 

If you’re interested in measuring temperature with a reliable sensor – consider using our TEMP: DS18B20-based temperature sensor module:

The TEMP: uses the Dallas DS18B20 1-wire digital temperature sensor, with a wide measurement range of -55 to +125°C at an accuracy of +/- 0.5°C. For more information, tutorials and to order – visit the TEMP: page

Read more Here

 

More Articles to Read

All metal C930e webcam
All metal C930e webcam
The Soldering Tools That Make Your Life Easier
The Soldering Tools That Make Your Life Easier
App note: Operation evaluation of ultra low ON resistance MOSFET supporting quick charge for 1 c ...
App note: Operation evaluation of ultra low ON resistance MOSFET supporting quick charge for 1 cell Lithium ion battery protection
Synthesized Sidetone
Synthesized Sidetone
App note: Application precautions: Power MOSFET application notes
App note: Application precautions: Power MOSFET application notes
A high current power supply built around a server voltage regulator
A high current power supply built around a server voltage regulator
Bridge Monitoring System using Wireless Sensor Network
Bridge Monitoring System using Wireless Sensor Network
Piezoelectric Micropump Driver
Piezoelectric Micropump Driver
Fixed DC/DC Regulator Output Margining Using Digitally Controlled Potentiometer
Fixed DC/DC Regulator Output Margining Using Digitally Controlled Potentiometer
An Arduino-powered automatic guitar footswitch
An Arduino-powered automatic guitar footswitch

Top




Shares