Skip to content

Commit 097ebaf

Browse files
committed
Library for Buck-Boost click
0 parents  commit 097ebaf

File tree

221 files changed

+11940
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

221 files changed

+11940
-0
lines changed

Diff for: README.md

+114
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
![MikroE](http://www.mikroe.com/img/designs/beta/logo_small.png)
2+
3+
---
4+
5+
# Buck_Boost Click
6+
7+
- **CIC Prefix** : BUCKBOOST
8+
- **Author** : Nenad Filipovic
9+
- **Verison** : 1.0.0
10+
- **Date** : Dec 2018.
11+
12+
---
13+
14+
15+
### Software Support
16+
17+
We provide a library for the Buck_Boost Click on our [LibStock](https://libstock.mikroe.com/projects/view/2216/buck-boost-click)
18+
page, as well as a demo application (example), developed using MikroElektronika
19+
[compilers](http://shop.mikroe.com/compilers). The demo can run on all the main
20+
MikroElektronika [development boards](http://shop.mikroe.com/development-boards).
21+
22+
**Library Description**
23+
24+
The library covers all the necessary functions to control Buck Boost Click board.
25+
This library contains drivers for set the output value of
26+
2500 mV, 3300 mV, 4100 mV, 5000 mV, 6900 mV, 8200 mV, 12000 mV and 15000 mV
27+
to the converter LTC3129-1 on Buck Boost Click.
28+
29+
Key functions :
30+
31+
- ``` void buckboost_defaultConfig() ``` - Set default configuration function
32+
- ``` void buckboost_set2500mV() ``` - Set the output voltage of 2500 mV function
33+
- ``` void buckboost_set15000mV() ``` - Set the output voltage of 15000 mV function
34+
35+
**Examples Description**
36+
37+
The application is composed of three sections :
38+
39+
- System Initialization - Initializes GPIO and AN, RST, CS, PWM and INT pins as output.
40+
- Application Initialization - Initialization driver enable's - GPIO,
41+
set default configuration and start write log.
42+
- Application Task - (code snippet) This is a example which demonstrates the use of Buck Boost Click board.
43+
Change output voltage from 2500 mV to 15000 mV every 5 seconds.
44+
All data logs write on usb uart for aproximetly every 5 sec.
45+
46+
47+
```.c
48+
49+
void applicationTask()
50+
{
51+
mikrobus_logWrite( " Set Output Voltage of 2500 mV ", _LOG_LINE );
52+
mikrobus_logWrite( "--------------------------------", _LOG_LINE );
53+
buckboost_set2500mV();
54+
Delay_ms( 5000 );
55+
56+
mikrobus_logWrite( " Set Output Voltage of 3300 mV ", _LOG_LINE );
57+
mikrobus_logWrite( "--------------------------------", _LOG_LINE );
58+
buckboost_set3300mV();
59+
Delay_ms( 5000 );
60+
61+
mikrobus_logWrite( " Set Output Voltage of 4100 mV ", _LOG_LINE );
62+
mikrobus_logWrite( "--------------------------------", _LOG_LINE );
63+
buckboost_set4100mV();
64+
Delay_ms( 5000 );
65+
66+
mikrobus_logWrite( " Set Output Voltage of 5000 mV ", _LOG_LINE );
67+
mikrobus_logWrite( "--------------------------------", _LOG_LINE );
68+
buckboost_set5000mV();
69+
Delay_ms( 5000 );
70+
71+
mikrobus_logWrite( " Set Output Voltage of 6900 mV ", _LOG_LINE );
72+
mikrobus_logWrite( "--------------------------------", _LOG_LINE );
73+
buckboost_set6900mV();
74+
Delay_ms( 5000 );
75+
76+
mikrobus_logWrite( " Set Output Voltage of 8200 mV ", _LOG_LINE );
77+
mikrobus_logWrite( "--------------------------------", _LOG_LINE );
78+
buckboost_set8200mV();
79+
Delay_ms( 5000 );
80+
81+
mikrobus_logWrite( " Set Output Voltage of 12000 mV ", _LOG_LINE );
82+
mikrobus_logWrite( "--------------------------------", _LOG_LINE );
83+
buckboost_set12000mV();
84+
Delay_ms( 5000 );
85+
86+
mikrobus_logWrite( " Set Output Voltage of 15000 mV ", _LOG_LINE );
87+
mikrobus_logWrite( "--------------------------------", _LOG_LINE );
88+
buckboost_set15000mV();
89+
Delay_ms( 5000 );
90+
}
91+
92+
```
93+
94+
The full application code, and ready to use projects can be found on our
95+
[LibStock](https://libstock.mikroe.com/projects/view/2216/buck-boost-click) page.
96+
97+
Other mikroE Libraries used in the example:
98+
99+
- GPIO
100+
101+
102+
**Additional notes and informations**
103+
104+
Depending on the development board you are using, you may need
105+
[USB UART click](http://shop.mikroe.com/usb-uart-click),
106+
[USB UART 2 Click](http://shop.mikroe.com/usb-uart-2-click) or
107+
[RS232 Click](http://shop.mikroe.com/rs232-click) to connect to your PC, for
108+
development systems with no UART to USB interface available on the board. The
109+
terminal available in all Mikroelektronika
110+
[compilers](http://shop.mikroe.com/compilers), or any other terminal application
111+
of your choice, can be used to read the message.
112+
113+
---
114+
---

0 commit comments

Comments
 (0)