Go Down

Topic: Project 3 - All LEDs lit up at once (Read 366 times) previous topic - next topic

Francking

Sep 26, 2018, 05:50 pm Last Edit: Sep 26, 2018, 07:33 pm by Francking
EDIT - I've found a similar issue, going there instead:
https://forum.arduino.cc/index.php?topic=563258.0

------------

Hi guys!

I am following the Starter Kit projects and I have stumbled across a problem on the Love-o-Meter. When I remove the end conditions to lit the LEDs, the temperature output is always right. If I uncomment the conditions and test, it seems the moment when it lits one LED, the voltage output of the temperature sensor changes drastically. All LEDs lit at once.

I am quite new in electronic, so maybe there something there I didn't quite understand (does lighting a LED affect the current passing by my temperature sensor? This is my hypothesis since the Sensor value never goes down to his reset value, since the LEDs stay lit.


I have attached a photo of my Uno and my code. Thanks!

Go Up