15. Octopus Motor Brick(EF04059)

15.1. Introduction

OCTOPUS Motor Brick is a type of simple electronic building blocks of the fan motor drive module.

../../_images/vu7ViBU.jpg

15.3. Characteristics

The 3-pins ports is easy to plug and play.

15.4. Specifications

Item | Parameter :-: | :-: Power Supply | 3.3V-5V N-MOS| IRLML2502TRPBF can support high currency power Low power consumption|Working current 120mA Working Temperature|-25~85℃ Size|39.33mm×31.28mm

15.5. Outlook and Dimensions

../../_images/bFU1faL.jpg

15.6. Quick to Start

Materials used and connection diagram

Connect to the P16 port as the picture shows

Take octopus:bit for example

../../_images/ZBTdQp1.png

Add Package

Program as the picture shows

Digital read pin Pl6 to 1 from button A and pin P16 to 0 from Button B.

../../_images/3se7TBq.png

Reference

Links: https://makecode.microbit.org/_fUURco9Rj8mH

You can also download the links below:

Result

While pressing button A, the motor starts rotating; while pressing button B, the motor stops rotating.

15.7. Relevant Cases

15.8. Technique Files