This is my very first Arduino project, as well as my first post on this forum, so please be nice
I need some help here...
My body temperature is showing up as ~ 70 degrees Celsius (my room temperature reads at ~67) and the reading fluctuates a lot!
I am using an Arduino UNO, a 16x2 LCD, and a TMP36GZ temperature sensor (along with a 220 ohm resistor and a potentiometer). These all came in the Arduino starter kit. I followed the instructions EXACTLY from the Arduino starter kit book to set up both the LCD and the TMP36GZ sensor.
This is part of assignment for school which also requires me to test the sensor with boiling water and ice water, but the sensor is not waterproof! I am so confused! Has anybody done this before? I looked everywhere online and couldn't find this being done on this specific sensor!
If you would like to see my current project, here are some photos and a short video:
Here is my code, which I also checked on various sites and on this forum:
#include <LiquidCrystal.h>
LiquidCrystal lcd(12,11,5,4,3,2);
float temp;
int sens = 0;
void setup() {
lcd.begin(16,2);
}
void loop() {
temp = analogRead(sens);
temp = (5.0 * temp * 100.0)/1024;
lcd.print("Temperature:");
lcd.print(temp);
lcd.setCursor(0,1);
lcd.print("degrees Celcius");
delay(500);
lcd.clear();
}