Ks0241 keyestudio EASY plug L9110 Fire Extinguishing Module

From Keyestudio Wiki
Revision as of 15:31, 27 November 2018 by Keyestudio (talk | contribs) (→‎Buy from)
Jump to navigation Jump to search
EASY plug Fan Motor Module


Introduction

Make an air aerial propeller vessel, a cooling system, or spinning machine with this small fan module. Add flavor to your own interesting projects with this module.
The fan motor module uses the L9110 driver to control the forward and reverse rotation of propeller. It should be connected to the double digital port with only one line, pretty convenient.
It can easily blow out the fire of a lighter 20cm away. This module is commonly used for STEM class.
Note: this module should be used together with EASY plug control board.

Specification

  • Fan diameter: 75mm
  • Interface: double digital
  • Working voltage: 5V


Technical Details

  • Dimensions: 50mm*75mm*18mm
  • Weight: 14.2g


Connect It Up

Connect the EASY Plug fan motor module to control board using an RJ11 cable. Then connect the control board to your PC with a USB cable.
thumb

Upload the Code

Copy and paste below code to Arduino IDE and upload.

int INA = 3;  
int INB = 4;
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); 
}


What You Should See

Done uploading the code, the motor fan will rotate forward for five seconds at maximum speed, then stop for 0.2 second, and rotate reverse for five seconds at maximum speed, then stop for 0.2 second, repeatedly.
thumb

Resources

Download the Datasheet:
https://drive.google.com/open?id=15dj8Gh5M06PriL6dOGv4_hWCJpBKdU6C

Download the Code:
https://drive.google.com/open?id=1yhVH8Cma-zreYhrM_cF2Yt5yhwIutsJZ


Buy from