ELECFREAKS Octopus Motor Brick
OCTOPUS Motor Brick is a type of simple electronic building blocks of the fan motor drive module, it can be used as simple Arduino teaching demo, convenient for Arduino beginners to learn.
DESCRIPTION
OCTOPUS Motor Brick is a type of simple electronic building blocks of the fan motor drive module, it can be used as simple Arduino teaching demo, convenient for Arduino beginners to learn.
DIMENSION
FEATURES
Power supply 5V
N-MOS IRLML2502TRPBF with high current driving capability
low-power fan motor
Working current 120mA
Working temperature -25 ~ 85
Size 39.33mm×31.28mm
HARDWARE CONNECTION
Connection note: Connect this module to the P16 port on OCTOPUS:BIT, insert the micro:bit board into the OCTOPUS:BIT and slide the switch to 5V.
CODE
You can see the whole program from the link
Or you can download it from the page below.
RESULTS
When pressing button A, the mini fan begins to rotate; while pressing button B, the mini fan stops rotating.