This project is a programmable battery charging/discharging system using a constant current cycle. It combines a custom hardware setup with LabVIEW software to monitor and control the process. The system performs programmable charge/discharge cycles on a battery by controlling and monitoring the voltage in real-time. It uses a state machine implemented in LabVIEW (VI) to guide the full process from initialization to shutdown.
- NI MyDAQ acquisition board
- Breadboard
- Power supply
- Custom charge/discharge circuit

Printed circuit layout and assembled version.
The charge/discharge circuit is controlled by an analog voltage (VSET) from the NI MyDAQ AO0 output. Current is set using a reference resistor (RS, 12Ω 5W).
- Charge ends at 4.1V @ 1C
- Discharge ends at 3.5V @ 1C