Pages: [1]   Go Down
Author Topic: Trouble shooting of project Single-Cell Battery Tester  (Read 1066 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


I have found a project which looks quite simple:

I have setup everything according to the text and schematics on an Arduino Uno R3. When I uploaded the code on the board the LEDs just flicker randomly one at a time (while the USB is connected). It is supposed that a LED flashes at a certain voltage when a battery is connected (in this case I want to try on an AA-type 1.5V).
Can somebody explain why it doesn't measure anything from the battery? Maybe I should connect the +-side of the battery to the v_in pin (but how should the code then be)?

Dubuque, Iowa, USA
Offline Offline
Faraday Member
Karma: 49
Posts: 2551
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The battery should be connected between the analog port (battery +) and GND (battery -).

Do not connect the battery to Vin. That would attempt to power the Arduino with the battery, but you're getting your power from the USB port.

Pages: [1]   Go Up
Jump to: