Manual
Table Of Contents
Fan module
Working voltage: 5V.
Input type: digital signal, PWM
Interface mode: ph2.0-4p
Module size: 35*26.3mm
Pin denifition:
IA
Forward digital input
IB Reverse digital input
- GND
+
VCC
Control method
IA IB
Function
0 0
Stop
0 1
Reverse
1 0
Forward
20
Module description: DC motor is a kind of motor that converts DC electric energy into mechanical
energy. The most common type depends on the force produced by the magnetic field. Almost all
types of DC motors have some internal mechanism, either electromechanical or electronic, to
periodically change the current flow direction of some motors. Most types produce rotational
motion; linear motors produce force and linear motion directly
Micro:bit
Example 1
code