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 (136886 times)
  2. FAT32 Library (70017 times)
  3. Network Ethernet Library (56001 times)
  4. USB Device Library (46308 times)
  5. Network WiFi Library (41933 times)
  6. FT800 Library (41208 times)
  7. GSM click (29017 times)
  8. PID Library (26427 times)
  9. mikroSDK (26398 times)
  10. microSD click (25386 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: 2317 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

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]

Log ADC Values when button is pressed in internal EEPROM

0

Log ADC Values when button is pressed in internal EEPROM RD0 - Start Log RD1 - Erase complete EEPROM LCD shows current ADC steps and voltage in 0-5V range. Each time when RD0 is pressed uC take 8 samples from ADC in intervals of 3sec and stop. PortC LEDs shows progress of sampling each byte in EEPROM like bargraph.

[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]