LoginSignup
1
0

More than 3 years have passed since last update.

micro:bitでモーター制御(6円コース)

Last updated at Posted at 2019-06-05

micro:bitでモーターを制御する方法です。

現在でmicro:bitでモーターを制御するための製品が多く発売されていますが、こちらではトランジスタを利用する方法を紹介しています。

20個入りで110円のトランジスタを利用しますので1個6円でモーター制御ができます。

■接続
E - GND
C - モーター - VCC
B - P0

・トランジスタの配置について
https://detail-infomation.com/transistor-ecb/

■コードサンプル
image.png

■モータードライバー
トランジスタ 2SC2120-Y (20個入)@110
http://akizukidenshi.com/catalog/g/gI-13829/

■モーター
円筒形 振動モーター LA4-466FB
http://akizukidenshi.com/catalog/g/gP-06785/

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0