フィルターのクリア

Connection to DC motor on Adafruit Motor Shield V2 for Arduino

1 回表示 (過去 30 日間)
Milos Krsmanovic
Milos Krsmanovic 2019 年 10 月 17 日
編集済み: Milos Krsmanovic 2019 年 10 月 17 日
I'm continuing here on another question that went unanswered, so I'll try to break down the problem into smaller chunks.
I'm following the instructions on starting/stopping a DC motor using Arduino Shield, as shown on this documentation page and this tutorial video. They both effectively explain the same thing and i followed the instructions exactly.
I am unable to start the motor using the dcmotor object. I tried both Arduino Shield channels. At the same time, if I writeDigitalPin(ardObject,'D3',1) motor will start immideately (pin 3 is set to be shield channel A PWM). The same also happens if I connect my power supply to the other shield channel and I use writeDigitalPin on pin 11 (i.e. shield PWM B).
Does anyone have any idea why dcmotor object won't do its job? I'm not getting any error so it's hard to troubleshoot it.
Thank you in advance.

回答 (0 件)

カテゴリ

Help Center および File ExchangeArduino Hardware についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by