In this project we are going to use a temperature sensor in order to read its value and displaying on a LCD screen.
We connected two potentiometer in order to adjust LCD backlight and contrast as well.
After sketch loading completed, your board will display current temperature, but only after computing an average of 100 samples read from temperature sensor. This to avoid crazy reading data every cycle.
PINOUT
LCD_PIN_16 > GND
LCD_PIN_15 > POTENTIOMETER R1 OUTPUT
LCD_PIN_14 > UNO_PIN_13
LCD_PIN_13 > UNO_PIN_12
LCD_PIN_12 > UNO_PIN_11
LCD_PIN_11 > UNO_PIN_10
LCD_PIN_06 > UNO_PIN_09
LCD_PIN_O5 > GND
LCD_PIN_04 > UNO_PIN_08
LCD_PIN_03 > POTENTIOMETER R2 OUTPUT
LCD_PIN_02 > +5V
LCD_PIN_01 > GND
TEMP_SENS_PIN_CENTRAL > UNO_PIN_A0
Formula used for conversion has been take from Arduino Project Books delivered with UNO Kit.
Comments