TOP Contributors

  1. MIKROE (2649 codes)
  2. Alcides Ramos (350 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 (136522 times)
  2. FAT32 Library (69720 times)
  3. Network Ethernet Library (55833 times)
  4. USB Device Library (46164 times)
  5. Network WiFi Library (41797 times)
  6. FT800 Library (40980 times)
  7. GSM click (28920 times)
  8. PID Library (26383 times)
  9. mikroSDK (26274 times)
  10. microSD click (25296 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

Buck 11 click

Rating:

5

Author: MIKROE

Last Updated: 2019-04-05

Package Version: 1.0.0.0

mikroSDK Library: 1.0.0.0

Category: Buck

Downloaded: 3171 times

Not followed.

License: MIT license  

Buck 11 click is a high-efficiency step-down converter which provides 3.3V on its output, derived from the connected power supply voltage, in the range from 4.2V to 60V.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Buck 11 click" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Buck 11 click" changes.

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

Buck 11 click

Buck 11 click

Native view of the Buck 11 Click board.

View full image
Buck 11 click

Buck 11 click

Front and back view of the Buck 11 Click board.

View full image

Library Description

The library allows user to perform the VOUT measurement of the Buck 11 Click board. One measurement cycle can consist a one conversion or more averaged conversions. This library also allows user to enter a real measured reference voltage for the AD conversion (VDD). For more details check documentation.

Key functions:

  • void buck11_set_vdd_value( float vdd_volts ) - This function allows user to set VDD voltage to the desired (measured) value.
  • uint16_t buck11_read_adc( void ) - This function reads the results of the AD conversion from the MCP3221A5T 12-bit converter.
  • float buck11_get_vout( uint8_t vout_resolution ) - This function allows user to get VOUT voltage value in the desired unit resolution, volts or millivolts.

Examples description

The application is composed of the three sections :

  • System Initialization - Initializes peripherals and pins.
  • Application Initialization - Initializes I2C serial interface and selects the desired VDD voltage value and VOUT value resolution (to get VOUT value in Volts). Note : The user should measure the VDD voltage value and enter this measured value to the function as VDD value to get more accurate measurement. This VDD voltage is used as reference voltage for the AD conversion.
  • Application Task - (code snippet) - Reads the averaged VOUT voltage calculated to Volts by performing a 30 conversions in one measurement cycle. The measured results will be showed on the uart terminal every 300 milliseconds. Note : The input voltage (VIN) range is from 4.2V to 60V. The output current (IOUT) value should not be greater than 1.5A.
void applicationTask()
{
    vout_value = buck11_get_averaged_vout( vout_resol, 30 );
    
    FloatToStr( vout_value, text );
    floatCut();
    
    mikrobus_logWrite( "** VOUT : ", _LOG_TEXT );
    mikrobus_logWrite( text, _LOG_TEXT );
    
    if (vout_resol == _BUCK11_VOUT_VOLTS)
    {
        mikrobus_logWrite( " V", _LOG_LINE );
    }
    else
    {
        mikrobus_logWrite( " mV", _LOG_LINE );
    }
    
    mikrobus_logWrite( "*************************************", _LOG_LINE );
    Delay_ms( 300 );
}

Additional Functions :

  • floatCut - Allows to real values be rounded on two decimal places.

Other mikroE Libraries used in the example:

  • I2C
  • UART
  • Conversions

Additional notes and informations

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

ATA663211 click

0

ATA663211 click carries an Atmel LIN transceiver IC designed to handle low-speed data communication in vehicles and in industrial applications with electrically harsh environments.

[Learn More]

Nano Power 3 click

0

Nano Power 3 Click is a compact add-on board that steps down voltages from its input (supply) to output (load). This board features the RPL-3.0-R, a buck converter with an integrated inductor from Recom Power. This thermally-enhanced converter uses, as input, voltage from 4 up to 18VDC, thus allowing 5V and 12V supply rails to be used.

[Learn More]

GSM-GPS click

2

GSM-GPS click is a mikroBUS add-on board with a SIM808 module that combines GSM/GPRS and GPS into a single device.

[Learn More]