TOP Contributors

  1. MIKROE (2653 codes)
  2. Alcides Ramos (351 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 (136652 times)
  2. FAT32 Library (69866 times)
  3. Network Ethernet Library (55901 times)
  4. USB Device Library (46244 times)
  5. Network WiFi Library (41871 times)
  6. FT800 Library (41108 times)
  7. GSM click (28964 times)
  8. PID Library (26403 times)
  9. mikroSDK (26328 times)
  10. microSD click (25342 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

Fan 3 click

Rating:

5

Author: MIKROE

Last Updated: 2018-03-06

Package Version: 1.0.0.0

mikroSDK Library: 1.0.0.0

Category: Brushless

Downloaded: 4540 times

Not followed.

License: MIT license  

Fan 3 click is the perfect choice for speed control and it can operate in seven discrete speed steps. Fan 3 click works with 12V to 25V on its input connector and can be used whenever a noiseless solution with a variable fan speed is needed, for example - cooling of electronic components with the minimal possible noise produced.

No Abuse Reported

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

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

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

FAN 3 Click

FAN 3 Click

Native view of the FAN 3 Click board.

View full image
FAN 3 click

FAN 3 click

Front and back view of the FAN 3 click board.

View full image

Library Description

The library contains a function that controls the operation of Fan 3 click.

Key functions

void fan3_setSpeed(uint8_t newSpeed)- Controls the fan speed

Examples 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 );

Other MikroElektronika libraries used in the example:

  • UART

Additional notes and information

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

9DOF 3 click

5

9DOF 3 Click introduces the BMX055, a small-scale absolute orientation sensor in the class of low-noise 9-axis measurement units, from Bosch Sensortec. It comprises the full functionality of a triaxial, low-g acceleration sensor, a triaxial angular rate sensor and a triaxial geomagnetic sensor.

[Learn More]

Temp-Hum 11 click

5

Temp-hum 11 click is a temperature and humidity sensing Click board, equipped with the HDC1080, a high accuracy digital humidity, and temperature sensor.

[Learn More]

Gyro 2 click

0

The Gyro 2 click is a three-axis digital angular rate sensor which can sense the angular movement and velocity in three perpendicular axes.

[Learn More]