How to Integrate a Temperature Sensor Circuit to an LCD




In this project, we will go over how we can build a temperature sensor circuit and integrate it to an LCD so that we can get a readout of the temperature on the LCD.

How to Integrate a Temperature Sensor Circuit to an LCD




In previous projects with temperature sensor circuits, we built the circuit and then got a readout on the computer that we programmed the circuit with. In this project, we take it a step further. Instead of getting a readout on the computer, we will connect the circuit so that we can get a readout on an LCD display. This mimics a more real-life-like electronic product which you would see on the market.

To build this circuit, we will need 3 main components. We will need a temperature sensor IC. The one we will use in this project is a LM34 temperature sensor IC. We will need an LCD display. The type we will use is the popular HD44780 LCD. And we will need a microcontroller to get the readout from the sensor IC and then transfer the readout to the LCD>

To be successful building this circuit, you should know how to connect temperature sensor ICs and how to wire a HD44780 to an arduino.




To learn how to wire a LM34 temperature sensor IC to an arduino, see How to Build a LM34 Tempreature Sensor Circuit.

To learn how to wire an HD44780 LCD to an arduino, see How to Display Text on an HD44780 LCD with an Arduino.

Once you know how to connect these two devices, then interfacing them together is relatively easy and straightforward.

Knowing how to interface LCDs with other electronic devices is a valuable, valuable skill, because this is how most electronic consumer devices work in the industry.

Components Needed

  • LM34 Temperature Sensor IC
  • HD44780 LCD
  • Arduino
  • 10KΩ potentiometer

Of course you’ll need a whole bunch of jumper wires to wire all the connections.

But for this circuit, really, only these 4 main components are necessary.

Circuit Schematic

The circuit which we will build to interface a temperature sensor to an LCD for LCD readout is shown below.

How to Integrate a Temperature Sensor Circuit to an LCD

Connections of the HD44780 LCD to an Arduino

LCD PinFunction of LCD PinArduino Pin
1GndGnd
2+5V5V
3ContrastNOT CONNECTED
4RS (Register Select Pin)12
5R/W (Read/Write Pin)Gnd
6E (Clock Enable Pin)11
7D0NOT CONNECTED
8D1NOT CONNECTED
9D2NOT CONNECTED
10D3NOT CONNECTED
11D45
12D54
13D63
14D72
15Anode (for backlight)5V
16Cathode (for backlight)Gnd

 

Connections of the LM34 to an Arduino

LM34 PinFunction of PinConnects to Arduino Pin…
1+5V+5V
2OutputA0
3GndGnd

For more detail: How to Integrate a Temperature Sensor Circuit to an LCD




Clip to Evernote

Leave a Comment

(Spamcheck Enabled)

Read previous post:
How & Why to use Integration on an Oscilloscope
EEVblog #662- How & Why to use Integration on an Oscilloscope

In this tutorial Dave demonstrates the seldom used and often little understood mathematical integration function available on your modern digital...

Close
Scroll to top