Pages: [1]   Go Down
Author Topic: Serial monitor reading differs when led lights !!  (Read 209 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi friends..

i Have an Uno board connected to an LM35 temprature sensor and a push button and a (16 X 2) Lcd screen... the program is to read the sensor and find out the celsius degree and show in the lcd screen.. and when the button is pressed the light on the lcd goes on ..and another press to go off...the problem is the reading differs from light on to light off...it shows ex- ( 33) with lights off and (35 ) when lights on... does the light or the whole board electricity affects the serial monitor readings...how can i fix that .....?
Logged

Manchester (England England)
Online Online
Brattain Member
*****
Karma: 634
Posts: 34547
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
how can i fix that
By wiring it up so the ground from your temperature sensor is not in the path of the ground of your LCD light.
Also by insuring the the power supply is good enough to supply the extra current for the light without the voltage of the supply drooping.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks Mike... with your help it worked well  smiley
Logged

Pages: [1]   Go Up
Jump to: