Arduino Measures Current from Constant Current Source

Open above schematic. Schematic Arduino Current Measurement.

This is a continuing series on Arduino projects. This circuit enables Arduino to measure current from the constant current source projects below.

Also see Arduino Controlled Power Constant Current Source.

I used two parallel 0.5 Ohm resistors for 0.25 Ohms. The small voltage from resistors is amplified by an LM358 op-amp. Gain is set by R2 / R1.

An RC filter of 4.7K resistor and 10uF capacitor enable measurement of DC current or pule-width-modulated current from Arduino PWM from digital pin 9.

The test program for an I2C LCD display and serial monitor.

Download code ccs_lm358.txt.

Related video to above:

Web site Copyright Lewis Loflin, All rights reserved.
If using this material on another site, please provide a link back to my site.