Did you know you could use the Arduino to control the amount of current from a constant current source? Another great project from Henry’s Bench, this experimental project uses an MCP4725 Digital to Analog Converter, an LM358 Op Amp, an INA219 Current Sensor and a logic level N-Channel Mosfet to create a constant current source. You can program up to 3 amps of constant current.
i made something like this independent of this schematic. but if you make a constant current source with this. it is in a constant loop of on and off how did you fix this?
The arduino is controlling the DAC. The code sets the current.