Creators
Earth Bondhon Author
Earth Bondhon
CalculatorToolsProjectExpert
Reviewers
Małgorzata Koperska, MD Steven Wooding
Last updated: November 29, 2025

LM358 1s–2s Battery Charger Circuit DIY Guide

🇺🇸
English
Default
🇪🇸
Español
Spanish
🇫🇷
Français
French
🇩🇪
Deutsch
German

*Please note: These are affiliate links. I may make a commission if you buy the components through these links. I would appreciate your support in this way!

LM358 1s-2s Battery Charger Circuit

Build a safe and intelligent LM358 1s–2s battery charger circuit for 18650 Li-ion cells. Step-by-step guide, wiring diagram, working principle, and DIY instruct...

What is an LM358 1s–2s Battery Charger Circuit?

The battery charger circuit shown in the LM358 circuit board has an LM358 op-amp as a voltage comparator to control the charging. The circuit automatically switches between constant current (CC) and constant voltage (CV) mode, and it is charged effectively. It has the ability to accommodate 1s (single cell 18650) and 2s (two cell configuration in series) battery configurations with easy battery protection and monitoring capabilities.

LM358 18650 charger DIY

The following circuit LM358 1s2s battery charger, is intended to be a safe charger of either a single-cell (1s) or a dual-cell (2s) 18650 Li-ion battery with the LM358 operational amplifier as the central control component. It offers constant voltage (CV) and constant current (CC) charging phases and has primitive battery protection measures to avoid overcharge, overcurrent and reverse polarity.

This can build a reliable battery charger using the LM358 utility, a component that is well-realised, using this DIY guide to include the parts, the principle of work, the circuit diagram, and instructions. This circuit can be well assembled to provide an efficient and safe way to charge 18650 Li-ion cells in power banks, LED projects, and small portable devices and other electronics requiring batteries.

Components Required for the Circuit

  • LM358 operational amplifier IC
  • 18650 Li-ion battery (1s or 2s configuration)
  • N-channel MOSFET (e.g., IRFZ44N) for load switching
  • Resistors (1kΩ–10kΩ for voltage sensing and current control)
  • Capacitors (10µF–100µF for smoothing and timing)
  • Diodes (Schottky for reverse polarity protection)
  • Potentiometer (for current/voltage adjustment)
  • Power supply (5V–12V DC input)
  • PCB, wires, and connectors

Working Principle of LM358 Battery Charger

Constant Current (CC) Stage

The LM358 monitors battery voltage and regulates charging current through MOSFET control. The battery receives a constant current until it reaches the target voltage.

Constant Voltage (CV) Stage

Once the battery reaches the maximum voltage (4.2V per cell), LM358 maintains voltage and gradually reduces current. Prevents overcharging while topping up the battery.

Battery Protection Features

Reverse polarity protection prevents damage if the battery is inserted incorrectly. Overcurrent and short-circuit protection ensure safety for both the battery and circuit. Optional thermal protection can prevent overheating during charging.

LM358 1s–2s Battery Charger Circuit Diagram

  • Connect the LM358 in comparator mode for voltage monitoring.
  • Connect the MOSFET in series with the battery's positive terminal to control current.
  • Connect resistors for voltage sensing and current limit adjustment.
  • Connect capacitors for voltage stabilization.
  • Connect the power supply input and output to the battery terminals.
  • Optional LEDs can indicate charging status (charging/fully charged).

Step-by-Step DIY Construction Guide

  1. Place LM358, resistors, capacitors, and MOSFET on a PCB or breadboard.
  2. Connect voltage sensing resistors to battery terminals.
  3. Connect MOSFET drain to battery positive, source to load/charging path.
  4. Adjust potentiometer for desired charging current.
  5. Connect the power supply to the circuit input.
  6. Test with a multimeter before connecting the battery.
  7. Verify LED status indicators if included.
  8. Secure battery and insulate all exposed connections.

Applications of LM358 Charger Circuit

  • Charging single or dual 18650 Li-ion batteries
  • DIY power banks
  • LED or small portable electronics
  • Educational electronics projects
  • Battery maintenance and backup systems

Safety Precautions

  • Always check battery polarity before connecting.
  • Avoid charging damaged or swollen cells.
  • Use a fuse for added safety in high-current circuits.
  • Do not touch terminals while charging.
  • Ensure adequate ventilation for heat dissipation.

Troubleshooting Common Issues

Battery Not Charging

  • Verify input voltage and circuit connections.
  • Check LM358, MOSFET, and resistor network.

Overheating Battery

  • Reduce charging current or check heat dissipation.
  • Ensure proper MOSFET rating.

Incorrect Voltage Output

  • Check voltage sensing resistor values.
  • Verify LM358 and potentiometer adjustment.

Frequently Asked Questions - LM358 1s-2s Battery Charger Circuit:

What is an LM358 1s–2s battery charger?

A battery charger circuit using LM358 op-amp for safe CC/CV charging of 1s or 2s 18650 cells.

Which MOSFET is suitable?

IRFZ44N or equivalent N-channel power MOSFET.

Can it charge single and dual cells?

Yes, it supports 1s and 2s Li-ion battery configurations.

How does CC/CV charging work?

Circuit charges with constant current until target voltage, then maintains constant voltage while current reduces.

Does it prevent overcharging?

Yes, LM358 monitoring and MOSFET control prevent overcharging.

Is it suitable for beginners?

Yes, with careful wiring and component selection.

Can it indicate charging status?

Yes, LEDs can be added to show charging or fully charged status.

What input voltage is needed?

Typically 5V–12V DC depending on design and battery count.

Can it charge damaged batteries?

No, damaged or swollen batteries should never be charged.

Is it safe for long-term use?

Yes, with proper heat dissipation and safety precautions.

Comments

Please login to comment.

Earth Bondhon

Earth Bondhon

Calculator Tools Project

Md. Jony Islam is a highly skilled professional with expertise in electronics, electrical, mechanical, and civil engineering, as well as finance. Specializing intransformer service and maintenance for 33/11kV substations, he ensures reliable and efficient electrical systems. His mechanical engineering skills drive innovative designs, while his financial acumen supports effective project budgeting. With a strong foundation in civil engineering, he contributes to robust infrastructure development. Md. Jony Islam's multidisciplinary approach ensures efficiency, quality, and reliability across all projects.