For the German version go to Arduino_VoltAmmeter

General

 
ammeter on breadboard
 
ammeter circuit diagram

I describe a volt-amperemeter using Arduino microcontroller. The measurements (voltage and current in one) can be made permanently (for instance every second).

In picture ammeter on breadboard you see at the input a battery block and at the output a LED with its safety resistor. These two components can be replaced by any two power source and current consumer respectively, as long as they are in a certain range. In following attachment you find the Arduino code, the DS1307 library and also the Fritzing scheme for closer reference.

  ArduinoAmmeter.zip (112KB)
Version from 05.02.2012

Logging

 
timer DS1307

Time and Date information is delivered by DS1307 break out board. You can also omit this part (including cables) without affecting the measurement of voltage and current. Time and Date is then simply shown to be zero in the log entries.

BEISPIEL (aus SERIAL MONITOR)

log permanent on

V=5.86;mA=10.27;R_v=523.30;mW=60.14;time=19:2:58;day=5;monat=2

V=5.86;mA=10.27;R_v=523.30;mW=60.14;time=19:2:59;day=5;monat=2

V=5.86;mA=10.27;R_v=523.30;mW=60.14;time=19:3:0;day=5;monat=2

V=5.86;mA=10.27;R_v=523.30;mW=60.14;time=19:3:1;day=5;monat=2

log permanent OFF

References

My circuit is an adaption of Renatos blog http://rexpirando.blogspot.com/2011/03/arduino-volt-ammeter-part-1-breadboard.html who himself refers to page http://electronics-diy.com/70v_pic_voltmeter_amperemeter.php, where you can find the kernel circuit doing the measurements.