TOP Contributors

  1. MIKROE (2665 codes)
  2. Alcides Ramos (358 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 (137157 times)
  2. FAT32 Library (70288 times)
  3. Network Ethernet Library (56159 times)
  4. USB Device Library (46482 times)
  5. Network WiFi Library (42150 times)
  6. FT800 Library (41450 times)
  7. GSM click (29145 times)
  8. mikroSDK (26595 times)
  9. PID Library (26518 times)
  10. microSD click (25529 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: 3279 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

GNSS 3 Click

5

GNSS3 click carries SIMCom’s SIM33ELA standalone GNSS module with an integrated antenna (and a connector for an external one).

[Learn More]

4G LTE-ATT click

0

4G LTE-AT&T click is an LTE Cat 1 / UMTS multimodecellular network solution, featuring the compact LARA-R2 series modem from u-blox. This module supports up to four LTE bands and up to two UMTS bands. It also features a full range of options for the high speed cellular networking and communication, such as the network indication, full embedded TCP/UDP stack, HTTP and HTTPS transfer protocols, IPv4/IPv6 dual-stack support, secondary antenna for the RX diversity, antenna detection, jamming signal detection, embedded TLS 1.2 protocol for the improved security and more. 4G LARA click can achieve data rates up to 10.3 Mbps/5.2 Mbps (downlink/uplink).

[Learn More]

LED Driver 17 click

0

LED Driver 17 Click is a compact add-on board that offers a simple solution for controlling multiple LEDs, making it an ideal choice for various applications. This board features the LTR3755, a highly efficient DC/DC controller from Analog Devices that operates as a constant-current source. It can easily drive high current LEDs and features onboard low-side external N-channel power MOSFETs driven from an internal regulated supply. The LED Driver 17 Click is capable of stable operation over a wide supply range and offers several LED protection features, including overvoltage and overcurrent protection. Additionally, the frequency adjust pin allows users to program the switching frequency from 100kHz to 1MHz, optimizing efficiency and performance.

[Learn More]