TOP Contributors

  1. MIKROE (2652 codes)
  2. Alcides Ramos (351 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 (136600 times)
  2. FAT32 Library (69803 times)
  3. Network Ethernet Library (55879 times)
  4. USB Device Library (46209 times)
  5. Network WiFi Library (41856 times)
  6. FT800 Library (41065 times)
  7. GSM click (28941 times)
  8. PID Library (26400 times)
  9. mikroSDK (26306 times)
  10. microSD click (25322 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

Step Up click

Rating:

5

Author: MIKROE

Last Updated: 2019-08-15

Package Version: 1.0.0.0

mikroSDK Library: 1.0.0.0

Category: Boost

Downloaded: 2272 times

Not followed.

License: MIT license  

Step Up Click is a fixed frequency DC-DC step-up (boost) regulator, which can be obtained from any low voltage input - such as NiCd, NiMH or one cell Li-Po/Li-Ion batteries.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Step Up click" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Step Up click" changes.

Do you want to report abuse regarding "Step Up 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

Step up click

Step up click

Native view of the Step up click board.

View full image
Step up click

Step up click

Front and back view of the Step up click board.

View full image

Library Description

Library contains functions for setting states of RST and PWM pins Library contains function for setting configuratoin word Library contains function for setting output value Library contains function for calculating output value expressed in percent Library contains function for device initialization.

Key functions:

  • uint8_t stepup_setConfig( uint16_t config ) - sets first 4 bits in command word.
  • uint8_t stepup_setOut( uint16_t out_value ) - sets output value.
  • void stepup_init(void) - initializes the device.

Examples description

The application is composed of three sections :

  • System Initialization - Initializes SPI, LOG, RST, CS and PWM pins
  • Application Initialization - Initializes SPI driver, sets config word, initializes the device, sets and log output value
  • Application Task - Checks for user input in UART terminal, if user enters + or - output value is increased or decreased respectively
void applicationTask( )
{
    if (UART_Data_Ready( ) == 1)
    {
        uart_char = UART_Read( );
        switch ( uart_char )
        {
            case '-' :
            {
                if (out_value < 4095)
                {
                    out_value++;
                }
                stepup_setOut( out_value );
                stepup_logPercent( out_value );
                break;
            }
            case '+' :
            {
                if (out_value > 0)
                {
                    out_value--;
                }
                stepup_setOut( out_value );
                stepup_logPercent( out_value );
                break;
            }
            default :
            {
                mikrobus_logWrite( "error : invalid command", _LOG_LINE );
                break;
            }
        }
    }
}


Additional Functions :

  • stepup_logPercent() - calls 'stepup_getPercent()' function to get output value in expressed as percentage and logs that value

Other mikroE Libraries used in the example:

  • SPI
  • UART
  • Conversions

Additional notes and informations

Depending on the development board you are using, you may need USB UART clickUSB 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

ADC 7 click

0

ADC 7 Click is an advanced 32-bit analog to digital converter (ADC) which uses the LTC2500-32, a 32-bit oversampling SAR ADC with a configurable digital filter. The filter provides several presets (selectable via the hardware pin), as well as programming of the filtering parameters, via the industry-standard SPI interface.

[Learn More]

Speaker click

0

Speaker Click is a compact add-on board that contains an audio power amplifier with a high-quality audio reproduction. This board features the MAX9717, a 1.4W mono bridge-tied load (BTL) architecture audio power amplifier from Maxim Integrated.

[Learn More]

Alcohol 3 click

5

Alcohol 3 click is a gas sensor Click board, equipped with the MiCS-5524, a compact metal oxide (MOS) sensor. This sensor reacts to the presence of deoxidizing and reducing gases, such as ethanol (also known as alcohol).

[Learn More]