DS18B20 Temperature Sensor

Arduino LCD Display Reading DS18B20 Temperature Sensor

by Lewis Loflin

This version of using an LCD display differs from the video in that we no longer are using the I2C version LCD controller. Due to changes in the Arduino compiler the original user supplied libraries no longer work. I wrote my own code which anyone can see how it works and modify at will.

A Sn74164 is connected to Arduino to operate the LCD 8-bit date lines. Only four connections, two to the LCD display and two to the Sn74164 are all that's needed to operate the display. The purpose here is to illustrate how to connect electronics to a micro-controller.

The routines enable one to display integers, floats, strings, and characters on the display. I also introduced two functions not even in the Arduino reference such as itoa() and dtostrf().

YouTube video for this project: Arduino LCD Display Reading DS18B20 Temperature Sensor.

LCD display with 74164

Arduino code for this project: arduino_ds18b20.txt.

Stepper Motors

Serial LCD Display and assorted Sensors

Web site Copyright Lewis Loflin, All rights reserved.
If using this material on another site, please provide a link back to my site.