Hello, I bought myself an arduino to play with since last week
. So I'm new to the world of Arduino.
I'm making a starter project in which you can see the temprature on an LCD. The sensor I'm using is an LM35.
The problem however is that with my USB everything is as its expected to be, but when I replace the USB supply with my 9V supply my sensor
reads 10° more then normal and de characters on my LCD are almost unreadble. I don't know what is causing this, so I hope someone can help me out
int SensorPin = A0;
char TempLow = 18;
char TempHigh = 23;
LiquidCrystal lcd(13, 12, 4, 5, 6, 7);
TempC = analogRead(SensorPin);
TempC = (TempC * (5.0 / 1024.0)) * 100;
if(TempC < TempLow)
if(TempC > TempLow && TempC < TempHigh)
if(TempC > TempHigh)