LoginSignup
0
0

More than 3 years have passed since last update.

Micro:bitのBluetoothを使ってDCモータの正転反転

Last updated at Posted at 2019-12-20

動作

Micro:bit

材料

Micro:bit https://www.switch-science.com/catalog/5263/
ピッチ変換基盤 https://www.switch-science.com/catalog/3181/
単三電池ボックス https://www.switch-science.com/catalog/3332/
ジャンプワイヤー(オスーオス) https://www.switch-science.com/catalog/620/
ジャンパワイヤ(オスーメス) https://www.switch-science.com/catalog/2294/
リレーモジュール 「SODIAL(R) リレーモジュール」なんかで検索して、お好みのショップでポチってください。
適当な5V電源 ACアダプタとかATX電源とかUSBとか
https://www.switch-science.com/catalog/list/?keyword=%E3%83%96%E3%83%AC%E3%83%83%E3%83%89%E3%83%9C%E3%83%BC%E3%83%89+USB

プログラム

Rover(リレー側)
https://makecode.microbit.org/_DuV7yPUDT03b
remote(リモコン側)
https://makecode.microbit.org/_6aD7gm5J26Xp

あとがき

ショートしないように試行錯誤し、とりあえず動いた。

0
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
0
0