Source: https://mokxi.com/parts/fanmodule
Updated: 2026-11-16

Part

# Fan module, L9110

A motor and propeller with its own H bridge: INA high spins it, INB high reverses it.

See every part

- 4 pins
- 2 settings
- In 2 projects

Drawn live by the editor's own code, at the size you see it.

At a glance

## The Fan module, L9110 in brief

What it is, and every setting the properties panel gives it.

The L9110 fan module is a small DC motor with a soft propeller on a board that carries an L9110S H-bridge, so it runs straight from two board pins with no transistor. INA and INB are logic inputs; VCC feeds both the chip and the motor, anywhere from 2.2 to 6.5 volts, and GND joins the board’s ground. One input high with the other low spins the fan one way, the opposite spins it the other, and equal inputs brake rather than coast. analogWrite() on one input with the other held low sets the speed. Mokxi reads the inputs as the chip does, low under a quarter of VCC and high above 0.7 of it, so a 3.3 volt ESP32 driving a module on 5 volts never reaches a high: power the module from 3.3 volts too. The propeller follows the drive with a 250 millisecond lag, full speed is at the voltage property, and the readout shows percent of full speed, negative in reverse. Motor current, supply sag and the airflow itself are not modeled.

Family

Outputs

Pins

4

voltage

5

inertia

250

Pins

## 4 pins

Named as the editor names them, so a wire lands where you expect it.

Pin

What it does

INA

High (with INB low) spins the fan one way.

INB

High (with INA low) spins it the other way.

VCC

Supply for the chip and the motor, 2.2 V to 6.5 V.

GND

Ground.

How to use it

## How to use the L9110 fan module with an Arduino

The thermostat fan example puts INA on pin 5, a PWM pin, and INB on pin 4, held low, with the module’s VCC and GND on the Uno’s 5 volt rails. analogWrite(5, duty) then sets the speed, and moving the PWM to the other input with the first held low reverses the fan. Both inputs low, or both high, brakes it.

The sketch starts the fan at 40 percent, a duty of 102, rather than creeping up from zero, because a real small motor may not turn its propeller at a low duty. Drag the TMP36 warmer while it runs and watch the speed readout climb from 24 C to full at 32 C.

Part pin

Board pin

INA

Pin 5

INB

Pin 4

VCC

5 V

GND

GND

On a 3.3 volt board such as an ESP32, run the module from 3.3 volts too: on 5 volts its inputs need 3.5 volts to read high.

Click to open it in the editor

This is the simulator itself, running here. Click anything to open it in the editor.

Open this project in the editor Read the full tutorial

One speed, one direction

How it is modeled

## What is true about the Fan module, L9110, here

In its help article’s own words: what the simulation gets right, and where it stops.

### Modeled

The truth table. It is the L9110S's, with no coast: equal inputs brake.

The input levels. Low is under a quarter of VCC and high is over 0.7 of it, so a
3.3 V board on a 5 V module is not a high: 3.3 is under 3.5. Run the module from
3.3 V too, or use a 5 V board.

The supply. Under 2.2 V or over 6.5 V the chip does nothing here.

### Not modeled

The motor's current and the sag it puts on a weak supply, and the air.

From Fan module, L9110, in full.

Projects

## See the Fan module, L9110 in a project

2 built-in projects use it. Each opens in the editor, already wired.

Boards

## The boards it is shown on

This board has a built-in project with the Fan module, L9110 in it.

- Arduino Uno R3

More parts

## The rest of the bench

Every one of these is drawn and simulated the same way.

Full-size breadboard

A real 0.1 inch grid with the rails and the center channel, 63 columns wide.

Jumper wires

Drag from any pin or hole to any other. Corners snap, and you can drag them.

Power

A supply rail at the voltage you choose.

Ground

The other end of every circuit.

LED

Lights when current flows. Five colors, and the brightness is what your eye would see.

Filament lamp

A tungsten bulb in a holder: an inrush when it is switched on cold, tens of milliseconds to warm up, and dim on half its voltage.

Resistor

Any value you like, with the color bands drawn to match.

ESP32-C3-DevKitM-1

A RISC-V board that runs your firmware at 160 MHz on the real memory map.

Pushbutton

A 12 mm tactile switch. Hold it while the simulation runs.

Raspberry Pi Pico

The RP2040 board on our own Cortex-M0+ core. Pick a program and press Run.

Raspberry Pi Pico W

Raspberry Pi Pico W (RP2040). The same board and the same pinout as a Pico, with the CYW43439 on it. The WiFi is simulated (no radio; real internet through the Cloud panel’s switch), and the on-board LED, which hangs off that chip rather than off GP25, is driven through the same path. Everything else is the Pico.

Raspberry Pi 4 Model B

Raspberry Pi 4 Model B: the 40-pin header, driven by main.py with RPi.GPIO or gpiozero.

See every part

## Wire up the Fan module, L9110

Open the editor and push it into the breadboard. It is free, and it runs on your own machine.

Start building free Open the editor
