Ks0168 keyestudio L9110 fan control module: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
No edit summary
Line 59: Line 59:
* '''PDF:'''<br>
* '''PDF:'''<br>
https://drive.google.com/open?id=1hZpJW5mVssSRZMU5c-2fp4heGbNTokM5
https://drive.google.com/open?id=1hZpJW5mVssSRZMU5c-2fp4heGbNTokM5
* '''Code:'''<br>
https://drive.google.com/open?id=14_rvzepYjb7ZZ5LFu0fKaLVWGcQtqNC-




<br>
<br>
== Buy From ==
== Buy From ==



Revision as of 10:12, 19 April 2019


keyestudio L9110 Fan Control Module


thumb


Introduction

keyestudio L9110 fan control module adopts L9110 motor control chip. It can control the rotation direction of the motor, hence the fan. The module is designed with mounting hole, compatible with servo motor control.
The module is of high efficiency, with the high quality fan, it can easily blow out flame of a light in 20cm distance.
It’s an essential part in fire fighting robot development.

thumb


Specification

  • Fan diameter: 75mm
  • Working voltage: 5V


Circuit Connection


thumb


Sample Code

int INA = 9;  
int INB = 10;
void setup() 
{ 
pinMode(INA,OUTPUT); 
pinMode(INB,OUTPUT); 
} 
void loop() 
{ 
analogWrite(INA, 255);
digitalWrite(INB,LOW); 
delay(5000);
digitalWrite(INA,LOW);
digitalWrite(INB,LOW); 
delay(200); 
digitalWrite(INA,LOW);
analogWrite(INB, 255);
delay(5000); 
digitalWrite(INA,LOW);
digitalWrite(INB,LOW); 
delay(200); 
}


Test Result

The fan will rotate clockwise for 5S at Max speed, stop for 0.2S; then rotate counter-clockwise for 5S at Max speed, stop for 0.2S; then repeat the cycle.


Resources

  • Video:

http://video.keyestudio.com/ks0168/

  • PDF:

https://drive.google.com/open?id=1hZpJW5mVssSRZMU5c-2fp4heGbNTokM5

  • Code:

https://drive.google.com/open?id=14_rvzepYjb7ZZ5LFu0fKaLVWGcQtqNC-



Buy From