TOP Contributors

  1. MIKROE (2656 codes)
  2. Alcides Ramos (353 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 (136853 times)
  2. FAT32 Library (69998 times)
  3. Network Ethernet Library (55994 times)
  4. USB Device Library (46293 times)
  5. Network WiFi Library (41896 times)
  6. FT800 Library (41204 times)
  7. GSM click (29012 times)
  8. PID Library (26423 times)
  9. mikroSDK (26394 times)
  10. microSD click (25385 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: 4549 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

UT-S 7-SEG R click

0

7-segment LED display is the most commonly used type of display to represent changing numerical values. The principle is very simple - seven LED segments are positioned in a certain shape and by turning specific segments on or off, the shape that resembles a specific number is lit. This method of displaying numbers was first used in the beginning of the 20th century, but after the invention of the LED in ‘70, it is the most commonly used method to display numbers. It utilizes a fairly simple and cheap design with the numbers clearly visible.

[Learn More]

OBDII click

0

OBDII click offers a unique opportunity to tap into the car diagnostic systems. It features the STN1110 Multiprotocol OBD to UART Interface, developed by the ScanTool technologies. This click can be used for the communication with the Electronic Control Unit (ECU) of a vehicle, via several different OBD II diagnostic protocols such as CAN, K LINE, L LINE and J1850. The STN1110 IC is used to process requests sent by the MCU via the UART interface and return back the responses from the ECU network nodes.

[Learn More]

Audio Amp 5 click

5

Audio Amp 5 Click is a stereo audio amplifier, capable of delivering up to 10W per channel with the 8Ω load. It is based on the TPA3138D2, a class-D integrated amplifier, which utilizes a highly efficient switching scheme.

[Learn More]