TOP Contributors

  1. MIKROE (2762 codes)
  2. Alcides Ramos (374 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (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 (139254 times)
  2. FAT32 Library (71751 times)
  3. Network Ethernet Library (57122 times)
  4. USB Device Library (47430 times)
  5. Network WiFi Library (43082 times)
  6. FT800 Library (42403 times)
  7. GSM click (29835 times)
  8. mikroSDK (28078 times)
  9. PID Library (26885 times)
  10. microSD click (26198 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
Example

Alarm System 12V Lead Acid Battery Charger (Simple Example Version)

Rating:

0

Author: Petar Timotijević

Last Updated: 2016-02-20

Package Version: 6.0.0.0

Example: 1.0.0.0

Category: Power supply

Downloaded: 2341 times

Followed by: 1 user

License: MIT license  

Device purpose is to maintain alarm system 12V battery on float charge voltage.
When battery voltage reach or go above 13,80V charger is disconnected.
In : ADC 0-5V Out : LCD 0-18V
RA1 is ADC input. RC0 is output to control charger.
RC0 On &lt;= 13,80V &gt; RC0 Off

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Alarm System 12V Lead Acid Battery Charger (Simple Example Version)" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Alarm System 12V Lead Acid Battery Charger (Simple Example Version)" changes.

Do you want to report abuse regarding "Alarm System 12V Lead Acid Battery Charger (Simple Example Version)".

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

Example Blog

Battery is Empty (Deep Cycle type)

Battery is Empty (Deep Cycle type)

ADC Step 600 Voltage 10,5V

View full image
Battery is Empty (Starter type)

Battery is Empty (Starter type)

ADC Step 682 Voltage 11,99V

View full image
Battery is Full (Voltage 24h after charging process is finished and in resting state)

Battery is Full (Voltage 24h after charging process is finished and in resting state)

ADC Step 724 Voltage 12,72V-12,73V

View full image
Float Charging Voltage

Float Charging Voltage

ADC Step 785 Voltage 13,8V

View full image
Cycling charging voltage

Cycling charging voltage

ADC Step 820 Voltage 14,4V

View full image

Device use float charge method and monitor battery voltage.
When battery voltage reach or go above 13,80V charger is disconnected.

Compiler  : Compiler MikroC 6.00
Dev sys   : EasyPIC7 Development Board
Platform  : PIC18F45K22 32MHz (8MHz Crystal 4x PLL)
Version   : 1.0 - 08.07.2013

ADC 10-bit 0-5V  0-1024

In  : ADC 0-5V
Out : LCD 0-18V

RA1 is ADC input.
RC0 is output to control charger.
PortB(RB0-RB5) LCD output.

Charger is On if voltage is bellow 13,80V (RC0 is 1).
Charger is Off if voltage is above or equal 13,80V (RC0 is 0).

Output Conditions:
=========================
At >= 13,80V RC0 Turn Off LED-output control (Step 785 - 13,799V).

Use appropriate voltage divider configuration to adjust ADC input in 0-5V range.

ALSO FROM THIS AUTHOR

LCD 2x16 ADC Steps to Progress bar / Bargraph

5

EasyPIC v7, PIC18F45K22 32MHz, 8MHz crystal oscillator, PLL Enabled. Description: ADC voltage on RA0, show ADC steps in first row and progress bar / bargraph in second row. Progress bar represents ADC steps in range from 0-1023.

[Learn More]

Menus on LCD 2x16 Menus Example

5

Menus on LCD 2x16 Example Use RC0 for selecting options, RC1 for choose, and RC2 to back to main menu.

[Learn More]

DTMF Dialer with Holtek HT9200A (Serial Mode)

5

Package contains HT9200A library with example and code example without library. HT9200A is very cheap and small (DIP8) DTMF generator IC. IC Price is ~0,25eur. Uses only three pins from MCU. IC is ideal for alarm dialing projects,...

[Learn More]