TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (404 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (133 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 (141112 times)
  2. FAT32 Library (73905 times)
  3. Network Ethernet Library (58554 times)
  4. USB Device Library (48725 times)
  5. Network WiFi Library (44376 times)
  6. FT800 Library (43977 times)
  7. GSM click (30721 times)
  8. mikroSDK (29478 times)
  9. PID Library (27304 times)
  10. microSD click (27130 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: 2364 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

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]

Multiple Screens on LCD 2x16

0

LCD 2x16 Multiple Screens EasyPIC7 Development System Board PIC18F45K22 32MHz (4xPLL) or any other Enable LCD Backlight on DIP SW4 switch 6. Enable PortC on DIP SW3 switch 3. Set pull-down for RC0,RC1. Use RC0 to go left. Use RC1 to go right. In while loops add your instructions. Best regards, Peter

[Learn More]