Octopus Motor Brick(EF04059)
Contents
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.
15.2. Products Link#
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#
15.6. Quick to Start#
Materials used and connection diagram#
Connect to the P16 port as the picture shows
Take octopus:bit for example
Add Package#
Program as the picture shows#
Digital read pin Pl6 to 1 from button A and pin P16 to 0 from Button B.
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.