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]
Rating:
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 <= 13,80V > RC0 Off
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)".
DOWNLOAD LINK | RELATED COMPILER | CONTAINS |
---|---|---|
1370696352_alarm_system_12v_mikroc_pic.rar [1.39KB] | mikroC PRO for PIC |
|
ADC Step 724 Voltage 12,72V-12,73V
View full imageDevice 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.