TOP Contributors

  1. MIKROE (2762 codes)
  2. Alcides Ramos (374 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (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 (139250 times)
  2. FAT32 Library (71745 times)
  3. Network Ethernet Library (57116 times)
  4. USB Device Library (47429 times)
  5. Network WiFi Library (43082 times)
  6. FT800 Library (42403 times)
  7. GSM click (29835 times)
  8. mikroSDK (28074 times)
  9. PID Library (26885 times)
  10. microSD click (26198 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

3 x Buck click

Rating:

5

Author: MIKROE

Last Updated: 2018-10-26

Package Version: 1.0.0.0

mikroSDK Library: 1.0.0.0

Category: Buck

Downloaded: 4581 times

Not followed.

License: MIT license  

3xBuck click is a triple step-down (buck) converter Click board. It features three independent output terminals that can provide 1.8V, 3.3V, and 5V with the combined current output up to 3A.

No Abuse Reported

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

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

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

3xBuck click

3xBuck click

Native view of the 3xBuck click board.

View full image
3xBuck click

3xBuck click

Front and back view of the 3xBuck click board.

View full image

Library Description

The library initializes and defines the I2C bus driver and drivers that offer a choice for writing data in registers and reading data from registers. The library includes functions for set output voltage, enable and disable buck, configuration buck and read buck status.

Key functions:

  • void c3xbuck_enableBuck(uint8_t buck) - Function for enable Buck
  • void c3xbuck_setVoltage(uint8_t buck, uint8_t voltage) - Function for set output voltage
  • void c3xbuck_configurationBuck(uint8_t buck, uint8_t config) - Function for configuration buck

Examples description

The application is composed of the three sections :

  • System Initialization - Initializes I2C module and set INT pin, PWM pin and AN pin as OUTPUT
  • Application Initialization - Initializes the driver init, enable and configuration Buck 1, Buck 2 and Buck 3c
  • Application Task - (code snippet) - Sets variable output voltage and default output voltage
  • note: Default output voltage on Buck 1 is 1800mV, Buck 2 is 3300mV and Buck 3 is 5000mV Variable output voltage on all Bucks from 680mV to 1950mV
void applicationTask()
{
	
    c3xbuck_setVoltage(_C3XBUCK_SELECT_BUCK_1, _C3XBUCK_OUTPUT_VOLTAGE_1000mV);
    c3xbuck_setVoltage(_C3XBUCK_SELECT_BUCK_2, _C3XBUCK_OUTPUT_VOLTAGE_1250mV);
    c3xbuck_setVoltage(_C3XBUCK_SELECT_BUCK_3, _C3XBUCK_OUTPUT_VOLTAGE_1500mV);
    Delay_ms( 5000 );
    
    c3xbuck_setVoltage(_C3XBUCK_SELECT_BUCK_1, _C3XBUCK_BUCK_DEFAULT_OUTPUT_VOLTAGE);
    c3xbuck_setVoltage(_C3XBUCK_SELECT_BUCK_2, _C3XBUCK_BUCK_DEFAULT_OUTPUT_VOLTAGE);
    c3xbuck_setVoltage(_C3XBUCK_SELECT_BUCK_3, _C3XBUCK_BUCK_DEFAULT_OUTPUT_VOLTAGE);
    Delay_ms( 5000 );

}

Other mikroE Libraries used in the example:

  • I2C

Additional notes and information

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

Breakout game - demo project

0

Game description: Breakout is an arcade game developed and published on May 13, 1976. - In Breakout, a layer of bricks lines the top third of the screen and the goal is to destroy them all. A ball moves straight around the screen, bouncing off the top and two sides of the screen. .......

[Learn More]

BarGraph click

0

This is a demonstration example for BarGraph click. Bar Graph is representing ADC value measured on Poetntiometer P1. On Potentiometer P2 user can adjust PWM for LCD backlight.

[Learn More]

Rotary RGB Click

0

Rotary RGB Click is a compact add-on board for creating visual effects and precise position indications. This board features 16 individual RGB LEDs (WS2812B-2020) from Worldsemi and a high-quality rotary encoder (EC12D1564402) from ALPS. The WS2812B-2020 offers low driving voltage, high brightness, and excellent consistency, while the rotary encoder provides accurate 15-pulse incremental encoding with push-button functionality.

[Learn More]