Lüfter 3 Click-Platine
Lüfter 3 Click-Platine
Das Fan 3 Click Board™ ist die perfekte Wahl für die Drehzahlregelung und kann in sieben diskreten Drehzahlstufen betrieben werden. Anders als die PWM-Regelung, die bei manchen Lüftertypen manchmal den berüchtigten Spulenfiepeffekt verursachen kann, gibt dieses Click Board™ die ausgewählte Spannung über den Spannungsregler MIC29152 von Microchip aus, der über den MIC74 gesteuert wird – einen seriell-parallelen E/A-Expander und Lüfterregler desselben Unternehmens – und hält sie am Ausgang konstant.
Das Fan 3 Click Board™ arbeitet mit 12 V bis 25 V an seinem Eingangsanschluss und kann immer dann verwendet werden, wenn eine geräuschlose Lösung mit variabler Lüftergeschwindigkeit benötigt wird, zum Beispiel zur Kühlung elektronischer Komponenten mit möglichst geringer Geräuschentwicklung.
A fan is a simple device that creates a flow within some fluid - such as the air, causing the heat accumulated in one section of the fluid to be moved away from the heat source, effectively cooling the affected area. The faster the fan rotates, the faster the fluid moves. This movement causes an audible noise which is one of the most obvious reasons why the fan speed control is needed, especially when the fan is used to cool down electronic components, such as the personal computer.
How Does The Fan 3 Click Board™ Work?
The Fan 3 Click Board™ uses two ICs to control the speed of the fan. The first IC is the MIC74 from Microchip, which is a serial to parallel I/O expander and fan controller. The four most significant bit outputs can be used to implement the fan speed control. This device uses an I2C communication protocol to set up the dedicated internal registers. The CLK and DATA pins are routed to mikroBUS™ I2C pins. Also, those pins are already pulled up with the 4k7 resistors on the click board, so there is no need to use additional pull-up resistors.
The three most significant bit outputs are equipped with the resistors, connected to the feedback input (ADJ) of the MIC29152 IC - a high current, high accuracy, low dropout voltage regulator from Microchip. This regulator is used to output the regulated voltage for the fan, determined by the feedback voltage on the ADJ pin. The output of the regulator is set to 12V when the maximum speed is selected. The recommended input voltage should not be much higher than 12V because in that case, the regulating efficiency won't be optimal and the excess power will be dissipated as the heat. The voltage regulator features an internal power limiting logic, which protects it from damage in case of an excessive load on its output.
Individual open-drain output bits of the MIC74 are selectively grounded or allowed to float under the control of the internal state machine, so the equivalent resistance seen by the MIC29152 regulator's feedback path is raised or lowered, changing the output voltage that way. The fourth bit is set to work as the SHDN which is used to enable the voltage regulator, via its EN pin when the fan mode is selected by the I2C. Setting this bit will activate the voltage regulator and the fan will start turning with the speed defined by the MIC74 registers.
The Fan 3 Click Board™ can be used on several different I2C addresses, selectable by the ADD SEL jumpers. Those jumpers are used to directly set A0 to A2 address select pins of the MIC74. By default, all address pins are grounded, which sets the slave I2C address to 0x20h.
The Fan 3 Click Board™ is equipped with two connectors. One connector is used to connect an external voltage source, which is fed to the input of the regulator. The other connector is used to connect the load - usually, an electromotor which works with the nominal voltage of 12V and has the fan blades attached to its rotor.
MikroElektronika offers libraries with functions which allow simplified control over this click board. The example can also be used as a starting point or a reference for your own application code.
SPECIFICATIONS
Type | Brushless |
Applications | The Fan 3 Click Board™ can be used whenever a noiseless solution with the variable fan speed is needed, for example - cooling of electronic components with the minimal possible noise produced |
On-board modules | MIC74 - 2-Wire Serial I/O Expander and Fan Controller and MIC29152 a high current, high accuracy, low dropout voltage regulator from Microchip |
Key Features | Fan speed control circuit with 7 discrete voltage levels, which can deliver relatively high current on the output terminals. Over-current protection, I2C communication interface, several selectable I2C addresses |
Interface | I2C |
Compatibility | mikroBUS |
Click board size | M (42.9 x 25.4 mm) |
Input Voltage | 3.3V |
PINOUT DIAGRAM
This table shows how the pinout on the Fan 3 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes | Pin | Pin | Notes | ||||
---|---|---|---|---|---|---|---|
NC | 1 | AN | PWM | 16 | NC | ||
NC | 2 | RST | INT | 15 | NC | ||
NC | 3 | CS | RX | 14 | NC | ||
NC | 4 | SCK | TX | 13 | NC | ||
NC | 5 | MISO | SCL | 12 | SCL | I2C clock | |
NC | 6 | MOSI | SDA | 11 | SDA | I2C data | |
Power supply | +3.3V | 7 | 3.3V | 5V | 10 | NC | |
Ground | GND | 8 | GND | GND | 9 | GND | Ground |
FAN 3 CLICK MAXIMUM RATINGS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Input connector voltage | 12 | 12 | 25 | V |
ONBOARD SETTINGS AND INDICATORS
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR LED | - | Power indication LED |
JP1 | ADD. SEL. | LEFT | Slave address least significant bit selection 0/1, left position 0, right position 1 |
JP2 | ADD. SEL. | LEFT | Slave address second to least significant bit selection 0/1, left position 0, right position 1 |
JP3 | ADD. SEL. | LEFT | Slave address third to least significant bit selection 0/1, left position 0, right position 1 |
Software Support
Software Support
We provide a library for the Fan 3 Click Board™ on our LibStock page, as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Library Description
The library contains a function that controls the operation of the Fan 3 Click Board™.
Key functions
void fan3_setSpeed(uint8_t newSpeed)
- Controls the fan speed
Example Description
The application is composed of three sections :
- System Initialization - Initializes I2C peripheral and UART logger.
- Application Initialization - Initializes the click driver.
- Application Task - (Code snippet) Cycles through different fan speeds, including 0 - stopped.
mikrobus_logWrite("Speed 1...",_LOG_LINE); fan3_setSpeed(_FAN3_SPEED1); Delay_ms( 4000 ); mikrobus_logWrite("Speed 3...",_LOG_LINE); fan3_setSpeed(_FAN3_SPEED3); Delay_ms( 4000 ); mikrobus_logWrite("Speed 5...",_LOG_LINE); fan3_setSpeed(_FAN3_SPEED5); Delay_ms( 4000 ); mikrobus_logWrite("Speed 7...",_LOG_LINE); fan3_setSpeed(_FAN3_SPEED7); Delay_ms( 4000 ); mikrobus_logWrite("Stopped...",_LOG_LINE); fan3_setSpeed(_FAN3_STOPPED); Delay_ms( 4000 );
The full application code, and ready to use projects can be found on our LibStock page.
Other MikroElektronika libraries used in the example:
- UART
Additional Notes and Information
Depending on the development board you are using, you may need a 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.
MIKROSDK
The Fan 3 Click Board™ is supported with mikroSDK, the MikroElektronika Software Development Kit.
Software Support
Software Support
We provide a library for the Fan 3 Click Board™ on our LibStock page, as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Library Description
The library contains a function that controls the operation of the Fan 3 Click Board™.
Key functions
void fan3_setSpeed(uint8_t newSpeed)
- Controls the fan speed
Example Description
The application is composed of three sections :
- System Initialization - Initializes I2C peripheral and UART logger.
- Application Initialization - Initializes the click driver.
- Application Task - (Code snippet) Cycles through different fan speeds, including 0 - stopped.
mikrobus_logWrite("Speed 1...",_LOG_LINE); fan3_setSpeed(_FAN3_SPEED1); Delay_ms( 4000 ); mikrobus_logWrite("Speed 3...",_LOG_LINE); fan3_setSpeed(_FAN3_SPEED3); Delay_ms( 4000 ); mikrobus_logWrite("Speed 5...",_LOG_LINE); fan3_setSpeed(_FAN3_SPEED5); Delay_ms( 4000 ); mikrobus_logWrite("Speed 7...",_LOG_LINE); fan3_setSpeed(_FAN3_SPEED7); Delay_ms( 4000 ); mikrobus_logWrite("Stopped...",_LOG_LINE); fan3_setSpeed(_FAN3_STOPPED); Delay_ms( 4000 );
The full application code, and ready to use projects can be found on our LibStock page.
Other MikroElektronika libraries used in the example:
- UART
Additional Notes and Information
Depending on the development board you are using, you may need a 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.
MIKROSDK
The Fan 3 Click Board™ is supported with mikroSDK, the MikroElektronika Software Development Kit.
Lüfter 3 Click-Platine
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.