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 Based Car Battery Voltage Monitoring System
PIC Based Car Battery Voltage Monitoring System

Components Required:

  1. PIC Microcontroller PIC18F2520Ā  -1
  2. Fabricated PCB Ā  BoardĀ  -1
  3. USB connectorĀ  -1
  4. 2 pin Terminal Connector (optional)Ā  -1
  5. Common anode seven segment display(4 in 1)Ā  -1
  6. BC557 TransistorĀ  -4
  7. 1k resistorĀ  -6
  8. 2k resistorĀ  -1
  9. 100R resistorĀ  -8
  10. 1000uF capacitorĀ  -1
  11. 10uF capacitor Ā -1
  12. 28 pin IC baseĀ  -1
  13. female burgsticksĀ  -1
  14. 7805 Voltage regulatorĀ  -1
  15. Car USB chargerĀ  -1
  16. LEDĀ  -1
  17. Zener diode5.1v -2
  18. USB cable (B-type or Arduino UNO compatible) -1
  19. 20MHz CrystalĀ  -1
  20. 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.Schematic PIC Based Car Battery Voltage Monitoring System

For more detail: PIC Based Car Battery Voltage Monitoring System

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.