PIC Based Car Battery Voltage Monitoring System
In this project we are going to make a PIC based Car Battery Monitoring system on PCB. Here we have designed a PCB using EASYEDA online PCB simulator and designer. This Car Battery Monitoring Circuit is used to monitor the power of Car Battery by just plugging it into the power outlet on the dashboard of a car. The PCB also has the option to use it as Voltage Measurement tool or Voltmeter without using USB car charger. We have attached a terminal block here to measure the voltage of other power sources, just by connecting two wires in it from the power source.
- PIC Microcontroller PIC18F2520 -1
- Fabricated PCB Board -1
- USB connector -1
- 2 pin Terminal Connector (optional) -1
- Common anode seven segment display(4 in 1) -1
- BC557 Transistor -4
- 1k resistor -6
- 2k resistor -1
- 100R resistor -8
- 1000uF capacitor -1
- 10uF capacitor -1
- 28 pin IC base -1
- female burgsticks -1
- 7805 Voltage regulator -1
- Car USB charger -1
- LED -1
- Zener diode5.1v -2
- USB cable (B-type or Arduino UNO compatible) -1
- 20MHz Crystal -1
- 33pF capacitor -2
Generally it is not important to measure the car battery power every time, but we often need to know about battery voltage during charging, to check whether its charging or not. By this, we can protect battery failure due to the faulty charging system. The voltage of a 12v car battery during charging is about 13.7v. So we can identify whether our battery is charging well or not and can investigate the causes of battery failure. In this project, we are going to implement a Voltage Meter for Car Battery by using a PIC microcontroller. Car Cigarette Lighter or Car USB charger is used for getting the battery voltage to the ADC pin of the microcontroller with the help of Voltage Divider Circuit. Then a 4 digit seven segment display is used to show the voltage value of battery. This circuit can measure the voltage up to 15v.
When a car battery is charging, then the voltage across the battery terminals is actually coming from the alternator/rectifier, that’s why system reads 13.7 volts. But when the battery is not charging or car’s engine is not ON, then the voltage across battery terminal is actual battery voltage around 12v.
We can also use the same circuit for measuring the voltage of other power sources up to 15v. For this purpose we have soldered the Terminal Block (green color plastic block) in PCB where you can connect two wires from power source and can monitor the voltage. Check the Video at the end, where were we have demonstrated it by measuring the voltage of a Variable power Supply, a USB power bank and a 12v AC-DC adapter. Also check the Simple Battery Monitor Circuit and 12v Battery Charger Circuit.
Circuit Diagram and Working Explanation:
In this Battery Voltage Monitoring Circuit, we have read car battery voltage by using an inbuilt analog pin of PIC microcontroller and here we have selected pin AN0 (28) pin of microcontroller through a voltage divider circuit. A zener diode of 5.1v is also used for protection.
For more detail: PIC Based Car Battery Voltage Monitoring System
JLCPCB – Prototype 10 PCBs for $2 (For Any Color)
China’s Largest PCB Prototype Enterprise, 600,000+ Customers & 10,000+ Online Orders Daily
How to Get PCB Cash Coupon from JLCPCB: https://bit.ly/2GMCH9w
Current Project / Post can also be found using:
- Automotive ECU by DSPIC Projects
- pic controller ecu
- Pic16f84a to make rc car