TOP Contributors

  1. MIKROE (2642 codes)
  2. Alcides Ramos (347 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 (136216 times)
  2. FAT32 Library (69477 times)
  3. Network Ethernet Library (55704 times)
  4. USB Device Library (45989 times)
  5. Network WiFi Library (41638 times)
  6. FT800 Library (40779 times)
  7. GSM click (28787 times)
  8. PID Library (26327 times)
  9. mikroSDK (26051 times)
  10. microSD click (25138 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
mikroSDK Library

UPS Click

Rating:

5

Author: MIKROE

Last Updated: 2018-05-09

Package Version: 1.0.0.0

mikroSDK Library: 1.0.0.0

Category: Battery Charger

Downloaded: 4611 times

Not followed.

License: MIT license  

UPS click is a supercapacitor charger click that provides continuous power for a load connected to the output terminals, even after the power supply is removed.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "UPS Click" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "UPS Click" changes.

Do you want to report abuse regarding "UPS Click".

  • mikroSDK Library 2.0.0.0
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroBasic PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

mikroSDK Library Blog

UPS click

UPS click

Native view of the UPS click board.

View full image
UPS click

UPS click

Front and back view of the UPS click board.

View full image

Library Description

This library presents some generic functions for controlling the Click board. 

Key functions:

  • void usp_setMode(uint8_t mode); - The functions for settings chip mode.
  • uint8_t ups_getPowerGood(); - The functions for reading the PGD state.

Examples Description

The demo application is composed of three sections:

  • System Initialization - Initializes CS pin as INPUT and RST pin as OUTPUT.
  • Application Initialization - Initializes Driver init and setting chip mode as ACTIVE.
  • Application Task - (code snippet) - checks the state of PGD (Power Good), PGD goes high when Vout is within 6% of the target value (4.98V).
     
void applicationTask()
{
 PGD_State = ups_getPowerGood();

 if( PGD_State != 0)
 {
 mikrobus_logWrite("--- Power Good ", _LOG_LINE);
 }
 Delay_1sec();
}

mikroE Libraries used in the example:

  • UART Library
  • Conversions Library
  • C_String Library

Additional notes and information

Depending on the development board you are using, you may need USB UART click,  USB UART 2 click or  RS232 click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.

ALSO FROM THIS AUTHOR

PWR Meter 2 click

5

PWR Meter 2 click is a compact and accurate power monitoring Click board, capable of measuring and monitoring voltage up to 24V and current up to 5A.

[Learn More]

DC Motor 14 click

0

This IC includes one channel of motor output block, using a wide range of supply voltages, while delivering reasonably high current to the connected DC motors.

[Learn More]

H Bridge 3 click

5

H-Bridge 3 Click is designed for the control of small DC motors and inductive loads, it features TLE9201SG a general purpose 6A H-Bridge perfectly suited for industrial and automotive applications.

[Learn More]