今回は、Arduino のポートを ON / OFF することで、モータを動かしたり、止めたりすることを考えてみたいと思います。 何も考えずにArduino のポートを直接モータにつないでみます。モータは、ブレッドボードに両面テープで固定しました。ちなみに、モータの先についているプロペラは、息子がプラモデルの余りで作った自作品です。(^.^) 両面テープは、下記のような剥がせるタイプの厚手の両面テープを持っていると便利です。 さて、下記のようなプログラムを書いて、動かしてみます。モータを3秒間動かして、3秒間停止を繰り返す単純なものです。 試してみれば分かりますが、残念ながら、これではまったく動きません。 Arduino のポートで出力できる電流は、最大 40mA しかありません。ホビーなどで使用されるモータは、負荷時には 500mA 、無負荷時でも 250mA 必要です。なので動かせない
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く