Home Motor Projects L9110 fan module example

L9110 fan module example

by shedboy71

In this example we connect an Arduino to a L9110 fan module. This is a commonly found, basic low cost module which consists of an L9110 chip and a small motor attached. You need 4 connections between the arduino and the module. VCC, GND , INA and INB.

L9110 fan module

L9110 fan module

Lets look at how to connect the Arduino to the module

1

Code

No libraries needed in this example, fairly basic example this one, upload the sketch and the fan will just run

[codesyntax lang=”cpp”]

int INA = 9; 
int INB = 8;

void setup() 
{ 
pinMode(INA,OUTPUT); 
pinMode(INB,OUTPUT); 
}

void loop() 
{ 
digitalWrite(INA,LOW);
digitalWrite(INB,HIGH); 
delay(1000); 
}

[/codesyntax]

 

Link
L9110 Fan Module for Arduino

You may also like

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More