TOP Contributors

  1. MIKROE (2656 codes)
  2. Alcides Ramos (353 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (136815 times)
  2. FAT32 Library (69983 times)
  3. Network Ethernet Library (55952 times)
  4. USB Device Library (46274 times)
  5. Network WiFi Library (41892 times)
  6. FT800 Library (41199 times)
  7. GSM click (28990 times)
  8. PID Library (26420 times)
  9. mikroSDK (26376 times)
  10. microSD click (25383 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Project

Car's battery voltage and charging system monitor

Rating:

5

Author: Rajendra Bhatt

Last Updated: 2016-02-21

Package Version: 1.0.0.0

Category: Measurement

Downloaded: 2391 times

Followed by: 1 user

License: MIT license  

This project is about making a simple electronic voltage monitor system for car’s battery and its charging system. It plugs into the car’s cigarette lighter receptacle and displays the instantaneous output voltage across the battery terminals on a 4-digit seven segment LED display.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Car's battery voltage and charging system monitor" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Car's battery voltage and charging system monitor" changes.

Do you want to report abuse regarding "Car's battery voltage and charging system monitor".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Project Blog

This project is simply about making a precise digital voltmeter that plugs in to a car’s cigarette lighter receptacle and displays the instantaneous voltage across the battery terminals. When the engine is turned off, the voltage measured by this device is the actual output voltage from the battery. However, if the engine is on or the car is running, it actually measures the charging voltage across the battery that is coming from the car’s charging system (alternator + rectifier). The functional block diagram of this project is shown below.

Car battery voltage monitor circuit powered from an USB car charger

Car battery voltage monitor circuit powered from an USB car charger

For simplicity, I used my spare USB car charger to provide +5V power supply to the circuit. The USB port has 4 pins (+5 V, D+, D-, and Gnd). In the car charger, the D+ and D- pins are kind of useless. So I opened my USB car charger, disconnected the outpu

View full image

The firmware for this project was developed in mikroC Pro for PIC compiler. The use of internal reference voltage for A/D conversion requires configuration of FVRCON and ADCON1 registers. The mikroC Pro for PIC compiler provides a library for A/D conversion, but that uses the supply voltage, VDD , by default as the positive reference for the conversion. So the built-in ADC library of mikroC Pro for PIC is not useful for our case and we need to write our own ADC subroutine. The complete source code for this project is provided in the attached file.

Device in Action

Device in Action

It measures the battery voltage very precisely.

View full image

ALSO FROM THIS AUTHOR

DIY heart beat rate meter using clicker2 for PIC18FJ and Easy Pulse mikro

0

This project is about building a stand-alone pulse meter using Easy Pulse mikro and mikroElektronika‘s clicker 2 for PIC18FJ board. An OLED W click board is also used to display the pulse rate in beats per minute (BPM).

[Learn More]

Temperature and Humidity measurement with DHT11 sensor

0

DHT11 is the most inexpensive sensor for hobbyists purpose to measure relative humidity and temperature in parallel. This project demonstrate how to implement DHT11 1-wire proprietary protocol in the firmware of PIC microcontroller using mikroC Pro for PIC compiler.

[Learn More]

MikroC Pro for PIC driver routine for 74HC595 based serial LCD interface

5

Contains library routines for 3-wire LCD interface based on 74HC595 shift register. More details are provided in the attached ReadMe document or posted at http://embedded-lab.com/blog/?p=30

[Learn More]