Intro: Temperature Sensor(LM35) With LCD(JHD162A)
moxigen here. Since the summer's out here it's been scorching hot and has made me wonder what would be the temperature. Hence, I decided to put together some stuff to create a temperature sensor.
Step 1: Materials Required
You would require the following parts:
1. A 16x2 LCD screen(JHD162A used in my case.
2. A 10k potentiometer.
3. LM35 temperature sensor
4. jumper wires
6. A Arduino Prototype( Arduino Mega 2560 used in my case)
Step 2: Wire It Up
Connect the LCD and LM35 as shown.
Step 3: Uploading the Code Via USB
int tempPin = 0;
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
temp = analogRead(tempPin);
temp = temp * 0.48828125;
Serial.print("TEMPRATURE = ");
Step 4: Acknowledgements
Thank ya all for having a look at my instructable. I'm open to criticism, so feel free to comment.
Also, please follow my Instagram account if possible( moxigen)