TOP Contributors

  1. MIKROE (2779 codes)
  2. Alcides Ramos (376 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (97 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 (139563 times)
  2. FAT32 Library (72041 times)
  3. Network Ethernet Library (57254 times)
  4. USB Device Library (47614 times)
  5. Network WiFi Library (43219 times)
  6. FT800 Library (42556 times)
  7. GSM click (29930 times)
  8. mikroSDK (28292 times)
  9. PID Library (26930 times)
  10. microSD click (26309 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: 2343 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

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]

Knight Rider

5

Knight Rider 1.0 for EasyPIC7 8 LEDs on PORTC

[Learn More]

1-Wire Read Serial Number and Temperature DS18B20 or DS18S20

5

1-Wire Read Serial Number and Temperature DS18B20 or DS18S20 Development Board : EasyPIC 7 Microntroller : PIC18F45K22 32MHz (can be other) Sensors : DS18B20, DS18S20 Code recognize type of sensor and print sensor name and unique serial number with temperature on 2x16 LCD. Tested & Works 100%

[Learn More]