🔋 DIY Automatic Load On/Off Mini DC IPS Making at Home | LM317 Based Lead Acid Battery Charger
by Jhuman in Circuits > Electronics
140 Views, 1 Favorites, 0 Comments
🔋 DIY Automatic Load On/Off Mini DC IPS Making at Home | LM317 Based Lead Acid Battery Charger

Are you looking for an easy way to build a mini DC IPS (Inverter Power Supply) with automatic load on/off functionality for a lead-acid battery? You're in the right place! In this post, I'll show you how to make your own DIY automatic mini DC inverter power supply using a LM317 voltage regulator, a relay, and a simple control circuit.
Supplies
️ Required Components
To replicate this project, you'll need:
- LM317 Voltage Regulator (U1)
- Relay SRD-05VDC-SL-C (RELAY2)
- Diodes (1N5399)
- Electrolytic Capacitor (4700μF)
- Resistors (1KΩ, 338Ω variable)
- LED Indicators
- Battery Connector
- Load Connector
- DC Jack (DC1)
🧩 Schematic Diagram Overview

The above schematic shows a simple, linear DC power control and charger system:
- Input Voltage: Comes from a DC adapter via DC jack
- LM317: Regulates output voltage for safe battery charging
- Relay Control: Automatically disconnects the load when the voltage drops
- LED Indicators: Show charging and load status
- Protection Diodes: Prevent reverse polarity or feedback
📦 PCB Manufacturing (Gerber File Included)

To make your own PCB, download the provided Gerber file and upload it to any PCB fabrication service (like JLCPCB, PCBWay, or EasyEDA):
This layout supports all components in a compact single-layer board, perfect for DIY enclosures.
✅ Why Build a Mini DC IPS?
This Mini IPS (Inverter Power Supply) circuit is perfect for small DIY power backup systems where you need to:
- Charge a 12V lead-acid battery efficiently
- Automatically switch loads ON/OFF based on voltage
- Power up LED lights or other small devices during outages
🔌 How It Works
- Charging Mode:
- The input DC power charges the battery through LM317.
- RP1 (variable resistor) adjusts the charging voltage (ideally 13.6V–13.8V for 12V lead-acid batteries).
- Load Control:
- When the battery is fully charged and the voltage is stable, the relay connects the load automatically.
- If the battery voltage drops below a certain threshold, the relay disconnects the load to protect the battery.
- LED Indicators:
- LED1 shows the charging status
- LED2 shows the load connection status
🔋 Use Cases
Emergency lighting systems
Mini solar UPS backup
12V fan or light power supply
Small off-grid battery maintenance
📽️ Watch Full Video Tutorial

Want to watch the full step-by-step guide with live testing? Subscribe to our YouTube channel for a Bangla DIY electronics tutorial series!
🔧 Tips for Beginners
Always test with a multimeter before connecting a real battery.
Use heat sinks for LM317 if you’re drawing current above 1A.
Secure all connections properly to avoid loose contact.
📌 Conclusion
This DIY Mini DC IPS circuit with automatic load switching is a great project for electronics enthusiasts who want a reliable power backup for small devices. With the included schematic diagram and Gerber file, you can make this project at home easily.
Don’t forget to share your builds or ask questions in the comments!