I love Arduino’s! One of the main reasons I was so excited about Arduino’s potential back when I discovered them in 2006 was simple: controlling motors! Arduino’s control small motors very easily; in fact, I’ve done a number of videos covering How to Control a Servo with Arduino, How to Control a Stepper with Arduino, and How to Accurate Control Steppers.

But another great thing about Arduino’s is they make it very easy to control large motors – like the brushed DC gearmotors in this video buy using a motor controller.

In this video tutorial, we walk through a simple example in the Arduino IDE to show just how easy it is to get up and running to start, stop, control direction and speed of a large motor with Arduino!

In the second example, we use two proximity sensors as limit switches and two potentiometers to allow on-the-fly speed adjustment!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Links for this video:

Arduino: http://amzn.to/1E0gxVU
SyRen Driver: http://amzn.to/ZcpiOL
Power Supply: http://amzn.to/1TYYLMQ
Arduino Code: http://bit.ly/1v8wc65
Proximity Switches: http://amzn.to/1oHRPru
Potentiometer: http://amzn.to/1tMtsEX
12V Gearmotor: http://amzn.to/1wtQBla

Music copyrighted by John Saunders

~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Reach us / CNC Info:

Manufacturing Entrepreneurship Resources:

Home

Better Speeds & Feeds? https://provencut.com

Online Fusion 360 Training: http://bit.ly/LearnFusion

Hands-On CNC Classes: http://www.nyccnc.com/events

~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I discovered machining as an adult and am grateful to have found something I love and am able to share with others. We hope NYC CNC not only makes you a better machinist but helps you understand and learn more about how to succeed as a manufacturing entrepreneur!

, https://i.ytimg.com/vi/OW-Bf3yjUyE/hqdefault.jpg

source

24 Comments

  1. Love your Arduino/Raspberry Pi videos. How large a motor can you control with Arduino/Raspberry Pi? I am new to robotics and the robot that I eventually want to build will be upwards of 500 kgs. Operating on a flat concrete surface. Very slow ground speed requirements. Anything I find about motors for "heavy" robots are like 20 kg. Any help/guidance would be appreciated.

  2. The general idea is great, but I would do some things different.
    I never use pins D0 & D1 cos then you can send status data to you serial monitor in de Arduino IDE (and also receive data). But that's just a personal preference.
    But much more important is something I see on many 'desktop' (open loop) CNC ( incl. 3D printers ) they all run in to the end switches. The motor should stop when it gets there but if it does not, it wil go through the switch (or proximity sensor). You should mount the switch (or sensor) in such a way that the arm (table / motor mount..) slides along the sensor and have an other sensor right after the first one which acts as an emergency stop.
    Emergency stops should not go through software but switch off the power directly (at least) to the movement that goes bad, and notify the software and user that a manual intervention is needed.
    May be I think this way because I come from an industrial back ground where the machines will destroy them selves or kill you if something goes wrong.
    Desktop CNC is usually not strong enough to kill but I have seen many CNC'd bigger machines with the same problem. A 500 Watt spindel eats fingers for breakfast.

    Please correct me if I'm wrong.

  3. Not sure if you’ll see this. Wondering if arduino could manage a 90v motor with 90v dc supply?

  4. 120$ ffs
    and i was hopping to use my 36v -1000watt brushed motor for a steering wheel project >_>

  5. Exelent work man ,thanks a loot on the explanations. Is it possible to use this for CNC and how to add an encoder, thanks in advance

  6. Awesome John! I have a 50 year old Bridgeport with factory power table feed. The motor is 4 wire DC. I would like to replace the old circuit board with arduino. Any suggestions on where I can get help doing this? Thank you so much!

  7. Yeah excellent video john, I do love how your all bla-ze with the “its so simple”…. well I think it’s gonna take a lil thought, definitely very cool though, I’m looking to apply it to a power feed project on the mill.

    Noticed your dingus got a bit loose there in the end, might have added to / been caused by the tappytaptap prox collisions?

  8. Imo, the Sabertooth Dual 2x32A 6V-24V Regenerative Motor Driver is much better. 64 amps peak with a much more robust library for Arduino, just saying. Good video for beginners.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.