Control Big Motors with your Arduino (Step by Step Tutorial)
HTML-код
- Опубликовано: 21 июл 2024
- In this video we walk you through how to control a brushed DC motor from an Arduino using an external motor controller.
Wiring Diagram:
• www.gobilda.com/content/video...
Code Examples:
• Exact Version from Video
create.arduino.cc/editor/jaso...
• Version with For Loops:
create.arduino.cc/editor/jaso...
Parts Used in This Video:
• 1x15A ESC
3105-0101-0015
www.gobilda.com/1x15a-motor-c...
• 5203 Series Yellow Jacket Planetary Gear Motors
www.gobilda.com/yellow-jacket...
•12V, 3000mAh Battery
SKU: 3100-0012-0020
www.gobilda.com/nimh-battery-...
• XT30 Adaptor
SKU: 3801-0121-0060
www.gobilda.com/xt30-fh-mc-to...
• XT30 Y-Harness
SKU: 3805-0102-0150
www.gobilda.com/xt30-y-harnes...
• Jumper Wires
www.gobilda.com/jumper-wires/ Развлечения
A) The external one is not a “controller” but an H-Bridge drive. B) PWM is not a form of communication but Pulse Width Modulation that allows the Motor power supply to be “chopped” on and off in order to get a DC mean voltage “modulated” or adjusted betweenness -Battery Voltage till + Battery Voltage
Nice! In struggles with getting those speed controllers to work and gave up and bought some other controllers. Now I can use the gobilda esc’s. Thank you!!
Thank you for the extra code- it’s very helpful!
Thanks again, goBILDA for helping us progress along the learning curve with useful "jumpstart" demonstrations. Wish you could do the same with some of your mechanical components (other than Viper slides) like intakes and shooters. Different team, I guess.
Very helpful - thank-you!
Love this video!
Be great to see a six motor (mars rover) project with route mapping and obstical avoidance
can you explain/tell the same thing but for dual channel (4 motors) esc?
Is it a problem if the motor drive i wanna use has a CAN bus comunication protocol? I am aware that it is not the comunication protocol of arduino
What about 220v brush motor with 30W(small fan)
@goBILDA Does this work with 3.3V logic level PWM? Or only 5V?
How would I add an AS5600 encoder to this code
I was curious about map(); this isn't std::map but an Arduino-specific function which deals in integer arithmetic, part of the Arduino framework functions (hence no import needed). Or so I think!