Go Down

Topic: wall wart vs USB/9V battery (Read 1 time) previous topic - next topic



Why does the analog sensor (lets say a 5V temperature sensor) value differ when powering Arduino with a wall wart/USB/9V battery?
With all these three power sources I receive different values.





Perhaps the temperature changed in the time it took you to switch the power. Are you comparing the temperature you read against a known value?
Gone for good


No temperature didn't change. I know temperature is constant since I am trying to calibrate.
Using wall wart I see almost correct results, 23C but with USB, it shows 40-42C and 9V battery shows 26-27C.

I didn't just notice these differences with only temperature sensor but also with gas sensors.
I am wondering what is the issue here.


Wow, 23 vs 40+ is kinda drastic....

Maybe you need to check that the voltage supplied from the Arduino 5v is actually 5v under all three situations?

Are you using the 5v pin?- not accidentally using the Vin pin which at least in the case of the 9v battery would be 9v... wouldn't explain the usb problem tho
Gone for good

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131