Control Large DC Motors with Arduino! SyRen Motor Driver Tutorial

Поделиться
HTML-код
  • Опубликовано: 14 окт 2024
  • 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: amzn.to/1E0gxVU
    SyRen Driver: amzn.to/ZcpiOL
    Power Supply: amzn.to/1TYYLMQ
    Arduino Code: bit.ly/1v8wc65
    Proximity Switches: amzn.to/1oHRPru
    Potentiometer: amzn.to/1tMtsEX
    12V Gearmotor: amzn.to/1wtQBla
    Music copyrighted by John Saunders
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Reach us / CNC Info:
    Manufacturing Entrepreneurship Resources:
    www.nyccnc.com
    Better Speeds & Feeds? provencut.com
    Online Fusion 360 Training: bit.ly/LearnFusion
    Hands-On CNC Classes: www.nyccnc.com/...
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    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! 5 Reasons to Use a Fixture Plate on Your CNC Machine: bit.ly/3sNA4uH

Комментарии • 325

  • @SpecialEDy
    @SpecialEDy 7 лет назад +19

    If you use interupt functions, the arduino would respond to the proximity sensors faster. Your program has to loop the complete program to read a sensor. An interupt function waits in the background for a signal on the pin, as soon as that condition is met, the main program is stopped, the interupt subprogram runs, and the main program resumes on completion of the interupt program.

    • @rgb_led
      @rgb_led 4 года назад +1

      great advice

  • @travism2013
    @travism2013 2 года назад +1

    While I'm not coming from CNC background or anything (java developer) I've learned python and I'm looking at controlling DC motors for doing semi-heavy lifting (can't physically hold a 3ft x 4ft plywood for a long time for my dad when he asks me for help holding heavy things, concrete bags, etc.) so I find this helpful from Arduino controller perspective. Thanks for making this video, glad I found someone who works on heavier side of machinery and machining using Arduino or Raspberry Pi.

  • @TeamCandiru
    @TeamCandiru 6 лет назад

    Gotta say, you have a real gift for explaining complex concepts.

  • @AccelHeight
    @AccelHeight 9 лет назад

    Outstanding find! I'm toying with the idea of making a motorized camera slider and this is exactly what I needed to see! Thank you!

  • @jmarcinho
    @jmarcinho 2 года назад

    Great. This just opened a whole new world of possibilities in my woodworking shop. Thanks

  • @damianbutterworth2434
    @damianbutterworth2434 8 лет назад

    They have overtook my life. Being a programmer in the 1980`s these are just what I was after. At the minute I have a mega that does the door bell, tells me when post is here, buzzies when the gate is open, tells me when theres a power cut, waters my plants, alarm for the workshops, and just got the rain sensor on a servo motor to drip the rain away to bring the washing under cover when it rains (UK).

  • @RichardFortin77
    @RichardFortin77 7 лет назад +2

    Good day, this is EXACTLY what I am trying to build for my CNC automation installation; but I am using an Ethernet Smooth Stepper with Mach4 and Gcode. Thank you for your presentation, it helps a lot !

  • @EVguru
    @EVguru 10 лет назад +1

    We did a project at work a few years ago that used one of those motor controllers. It was a machine to brush over wheat plants in a glasshouse and stimulate the stems to thicken and stiffen.
    The raw data byte sent to the controller is indeed 0-255, but the Arduino library must be shifting the value to make it easier to understand.

    • @EVguru
      @EVguru 10 лет назад

      NYC CNC
      We used a power supply. There was just a single motor with worm drive gearbox, which may have been as small as 100Watt, certainly not over 250Watt.

  • @MrLoadsalot
    @MrLoadsalot 8 лет назад +2

    EXCELLENT VIDEO, one of the most technically correct, well done videos that I have Seen! Keep up the GOOD WORK!

  • @TAWPTool
    @TAWPTool 10 лет назад

    I'm anxious to see the application of this setup in your shop. Keep these great videos coming!

  • @MyShopNotes
    @MyShopNotes 10 лет назад +13

    Nice widget John. I really like these arduino lessons.

  • @Stacyjtyler
    @Stacyjtyler 8 лет назад +4

    You could also try putting the input pins from the sensors on the Interrupt pins. In doing so it won't finish its cycle actually reverse the motor in the ISR interrupt service routine.

  • @goesintite
    @goesintite 9 лет назад

    This has probably been mentioned but, you can get adjustable proximity sensors that could help avoid any contact at all. Great video, by the way.

  • @lErssikeke
    @lErssikeke 8 лет назад

    Thank you for this video! Now I'm confident enough to order SyRen 50A, because now I know that I can use the simplified library if all else fails. Instant subscribe

  • @leblancmeneses3650
    @leblancmeneses3650 6 лет назад

    I have worked with this sensors in many applications. The best way to mount them is to detect the side of the hammer so that any over travel will not damage the sensor.

  • @mosesarambula2090
    @mosesarambula2090 Год назад

    This is the first video I've seen of yours, I do plan on watching more but can you not have a low speed - high torque brushless DC motor in the 3000wat range?

  • @Loopyengineeringco
    @Loopyengineeringco 9 лет назад +1

    There is probably quite a lot of rotational mass in that motor, and since it's actually turning at about 3600rpm full speed, I'm not surprised that it hits. The arduino has probably sent the 'reverse' signal a long time before the shaft starts spinning backwards :)
    I did a similar thing using a h-bridge BTS7960 driver controlling an automotive window winder motor (it was for a motorised camera slider rig), and even that little thing has too much inertia to stop and reverse instantly.
    BTW the 43A BTS7960 drivers on ebay are under $10, but the difference is that the arduino has to do the switching not the driver, and there's no comms between the 2 devices.

  • @RossDuClair
    @RossDuClair 7 лет назад

    Good work, John. My use is for an Arduino controlled drill press: I want to input the material, thickness of the material, size of the drill; input SFPM, RPM. Then I will input the total drill movement down. From there, on Start Command, the Arduino starts the motor, begins lowering the chuck, begins drilling, stops when through the metal, stops, reverses the motor, and retracts the chuck to the start position and then stops the motor. I will align the drill with the center punch start marker manually. What do you think?

  • @im1forfun
    @im1forfun 9 лет назад

    I liked the comment about rotating the prox switches by 90 degs. However if this wasn't possible, Allen Bradley makes strike face sensors with spring loaded mounts. Expensive? Yes! But they hold up well in industrial applications and are immune to water and oil. ( all s/s steel construction). Dc industrial drives also include nice features such as accel/decel rates as well as braking features which will lock the rotor instantly. My preference for motors are 3 phase brushless as employed in industrial as well as rc planes and cars. Great technology! They are not as torquey as dc motors but with gear reduction that could be resolved. I've been working with Maestro servo controllers that have programmable ports, input/output/pwm allowing you to do quite a lot of combinations with 6, 12 or 18 channels. The software has a built in compiler as well! They are available from Pololu as a very reasonable price as well as a host of other devices for steeper motors and jrk controllers. Industrial servos are by far the best for cnc applications but the price keeps them off my workbench. Thanks for taking the time to post your videos and keep them coming.

  • @SagiSokra
    @SagiSokra 9 лет назад

    Hi John - Great video. One thing that I've noticed, but I'm not sure if it is just the angle of the video recording. It looks like the hammer touches the right sensor more than the left sensor. Maybe it's also a matter of differences in sensitivity of the two sensors, or the iron material that you used on each side of the hammer? Did you try adjusting the baud rate? If so, did it work?

  • @ytnjw
    @ytnjw 7 лет назад +2

    Hi John, great video, but I think there is a problem with the code. Because you are sending the motor speed (ST.motor(1,ForwardSpeed)) and then setting the variable used (ForwardSpeed =) the new speed is not getting sent to the motor until the next time through the loop. Move the ST.motor line to the bottom of the block.

  • @bigbread9000000
    @bigbread9000000 9 лет назад

    Hi, I think all your video's are great and I salute you for putting this knowledge out there for everyone who follows. I am a beginner at Arduino and motor control, I was wondering how you can incorporate a start/stop button for all these projects?

  • @CHASSYification
    @CHASSYification 4 года назад

    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?

  • @peterknudsentupni
    @peterknudsentupni 10 лет назад +1

    You need to read the sensors in an interupt, newer place sensors in the way at the moving part, place it on the side or use a smal flag that bend in case of coding error.
    cool project ;)

  • @Liberty4Ever
    @Liberty4Ever 10 лет назад

    One of the projects I've been wanting to do but will probably never make the time to do is build my three wheeled electric LibertyMobile. It would charge from a solar panel when parked at home, so no stopping at a gas station. It would be designed to skirt in just under what my state requires for a licensed vehicle, so no drivers license, no property tax, no registration, no insurance. I'd make a custom microcontroller board to control all aspects of the LibertyMobile, from motor control to turn signals, but it would probably be faster for me to use an Arduino and a couple of these motor controllers, and for those without microcontroller experience, the Arduino route would definitely be the way to go.
    There are all sorts of motion control applications for a DC motor and the Arduino, including cheap and easy industrial automation around the shop (automatically opening and closing machine guarding, automated chip conveyors and augers when the chips trip a prox switch, home made bar feeders, etc.). Thanks for this Wednesday Widget!
    PS - I buy prox switches several at a time as used surplus on eBay and the name brands are fairly cheap!

  • @Mircose
    @Mircose 6 лет назад

    Nice channel, I'm happy I found it.
    I'm starting to learn arduino now and I'm starting a project.. but I am so clueless with regards to motors and voltages.
    If I needed to lift a 80kg weight, what type of motor do I need? what is the difference between this motor and a stepper motor? Thank you...

  • @RobotoForgoto
    @RobotoForgoto 10 лет назад

    I have two motors i need to power - they are 12volts but i'm not sure the amperage. i need two channels. i can't imagine needing more later. the unit is a Quantum Q6 Edge. so far your information looks good and i will proceed based on it. we will let you know how we get on. Thanks for the great videos.

  • @powaybob
    @powaybob 10 лет назад

    Great stuff! You could mount the proxes at 90 degrees so the hammer passes by them instead of pounding them.

  • @kocnn
    @kocnn 8 лет назад

    Just found this after I sub your channel and its awesome, thank you John, I'd like to build a cnc router and I'm pretty sure this is the way to go. Do you have any ideas for rails and bearings?

  • @xxbaseballplayerxx
    @xxbaseballplayerxx 7 лет назад

    Hi John,
    Great video! I had a quick question- where did you get the cables that go from the motor to the power supply? I just bought this motor and the SyrRen, and am looking to control it similarly to your video!

  • @TheArtusritter
    @TheArtusritter 10 лет назад +2

    nice. Have you tried using interrupts for the proximity sensors?

  • @tonybs4422
    @tonybs4422 7 лет назад

    Hello. Thanks for the great video! i am new in Arduino's and you really helped me with this demonstration! Great work!

  • @neondabo
    @neondabo 6 лет назад

    Awesome! Keep em coming. Just what I was looking for.

  • @theguapochannel
    @theguapochannel 9 лет назад

    Hey awesome video. ...I wonder if you can advise me... i have a 36 volt 350 watts DC motor. Im really new to this game..Just want to find out how can i best controll the direction of the motor(forward, backward,stop) and or throttle, what batteries to use, the amperage...Hopefully its not too complicated. Thanks... Keep up good work

  • @MehmetSutas
    @MehmetSutas 10 лет назад

    The reason for hitting the sensors maybe caused by the backlash in the transmission rather than the response speed of the electronics.
    Nice video thanks.

  • @VitalyNahshunov
    @VitalyNahshunov 6 лет назад +1

    /* Start button is Digital Pin 7, SyRen S1 is connected to Arduino Digital Pin 1 (TX), Proximities are Digital Pins 2 and 3, Pots are Analog Pins 1 and 2 */
    #include
    const int StopButton = 7;
    const int ForwardButton = 3;
    const int ReverseButton = 2;
    const int ForwardSpeedPin = A1;
    const int ReverseSpeedPin = A2;
    int ForwardState = 0;
    int ReverseState = 0;
    int StopState = 0;
    int ForwardSpeed = 0;
    int ReverseSpeed = 0;
    int CurrentState = 0; // 0 is stopped, 1 is forward, 2 is reverse
    SyRenSimplified ST; // Simplified Serial Mode. Baud rate of 9600. Arduino TX->1 -> Sabertooth S1 Arduino GND -> Sabertooth 0V [ST.motor(1, X); X of 0 is full reverse, 128 is stop, 255 full forward]

  • @keinewoo
    @keinewoo 10 лет назад +1

    You can try to attach the sensors to de arduino interrupts, it will help you a lot.

  • @georges8408
    @georges8408 7 лет назад

    very nice! it would be very interesting if you can use visuino in making the code and connections since many of us are not very familiar with programming. thanks

  • @nicolasfulton1322
    @nicolasfulton1322 9 лет назад

    Hey! Awesome video, everything that I needed to know. I just had one question, I am working on making a conveyor belt that will need to transport about 36 pounds. Do you think that this set up alone is enough to cover that, or should I go with a bigger motor? Thanks!

  • @bryanjarboe8920
    @bryanjarboe8920 7 лет назад

    nyc cnc, wow, this is so helpful and a great video! Any cheaper motor controller options? For a few smaller projects I don't really want to dish out $50-$100 just for one part.

  • @Skraap
    @Skraap 10 лет назад

    Great video. Considered making some gearing for the motor? I think that would be fun to see.

  • @rudifrosty4696
    @rudifrosty4696 9 лет назад

    Nick, at the end of your video when you talk about different motors, I noticed in the background the hammer with it's weight coming down to the right,....it looks like it falls an inch or so....or is it just my eyes :) ? ....if so, does that mean the weight is too much for this motor on the "braking part" when the weight comes down?

  •  4 года назад

    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

  • @RossMcFarland
    @RossMcFarland 10 лет назад +2

    pretty cool. you could safely test things at higher speeds without worrying about crashing in to the sensors by turning them perpendicular to their current orientation and slightly behind the hammer. if you just have it immediately stop when sensed you could get a feel for how far off the reaction time is. i'd imagine a higher baud rate would be your best bet unless there's a delay in the motor or sensor's reaction times in which case there'd be no solution.
    there might be a tiny bit of gain to be had in the code. using switch statements in place of the multiple if's to avoid extra tests/jumps, but i'd be surprised if that helped.

  • @bernierider6564
    @bernierider6564 9 лет назад

    Yes Sir, I was wondering if you had a video on how to create a controller for a bldc with 12v and up to 40 amps. I am only looking to make it rotate and control speed. Thanks

  • @pwkoert6594
    @pwkoert6594 3 года назад

    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.

  • @yoteayudo7308
    @yoteayudo7308 2 года назад

    Hi friend I love your video, I’d like to know about this motor how many pounds it’s?

  • @skoootles
    @skoootles 9 лет назад

    I really like your videos. Thanks for posting them.

  • @joshuasmith2814
    @joshuasmith2814 6 лет назад +1

    Do you have any experience with SPARK MOTOR CONTROLLER? I'm planning to use it instead of SyRen. It is up to 60A and the price is 1/3 ($40) of SyRen.

  • @louisnwatchap4134
    @louisnwatchap4134 9 лет назад

    Very nice and instructive.

  • @marcioazevedo8940
    @marcioazevedo8940 5 лет назад

    Congratulations ! this code could be used to: push the button and start the engine and it stops at the end of course? and when it rings again does it return to the other end of the course?

  • @fromnewark
    @fromnewark 10 лет назад

    Which proxi sensor did you use.? Checked your site but could not find a link to the project there. Thanx.

  • @jturk64
    @jturk64 10 лет назад

    From Canada EH! lol i like your videos. Can i ask ya where the hell did you come with a brick of lead in NYC ??? If you ever need to get to the wide open spaces your always weclome !!!!!

  • @grimmer2005
    @grimmer2005 6 лет назад

    Fantastic info!
    Can I in the code also program it to start slow and slow in when stopping?

  • @davidmorenus
    @davidmorenus 6 лет назад

    Interesting video, gets people thinking and doing, love it. There is a problem with the code, though. Your code controls the motor with a speed, before it reads the sensor to calculate what the speed should be. It doesn't really make sense that way. First you should read the sensor, then calculate the speed, then control the motor with that number. Most of the time, it won't make too much practical difference -- since you're in a loop, you'll use the number you calculated last time to control the motor this time -- but it's bad practice.

  • @KW-ei3pi
    @KW-ei3pi 4 года назад

    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!

    • @mattivirta
      @mattivirta Год назад

      4 wire, i think have stepper motor not DC motor sure. or if you can run motor DC volt to 2 wire only have DC motor whit reserve coils, or somethink special motor.

  • @SuperAlvin72
    @SuperAlvin72 8 лет назад +1

    good stuff mate, id like to give it a go, where can i copy the upload code from mate?

  • @iSAAConrad
    @iSAAConrad 8 лет назад

    Could initialize direction as 1 or -1 and have speed controlled by one pot instead of two. When you touch sensor it would multiply the direction state by -1 so switching direction. Just in case you wanted one pot instead of two giving matched speed in fwd and reverse.

  • @ppowell1212
    @ppowell1212 3 года назад

    Thanks for the video. I'm run a theatre and I'm trying to do some simple automation. A platform with a powered motor that glides into place either via RC or stoppers, encoder or similar. It would be a staight shot (no turning) and I would guess the total weight to be around 300-600 lbs total. Could a system similar to this help me control it?

  • @jameshicks7125
    @jameshicks7125 7 лет назад

    Thanks for Posting these! I am designing a planetarium projector where I need to control and measure positions of multiple motors so they agree upon position. Still have a lot to learn. I am feeling less intimidated now :-)

  • @diegoitaliani181
    @diegoitaliani181 5 лет назад

    Very good explanation and work!!

  • @builtrodewreckedit
    @builtrodewreckedit 10 лет назад

    Nice tutorial. I like those motors allot a little pricey though. Sometimes you can find old electric wheelchair's for cheap they use very similar motors but 24 volt. The wheelchair motors are built like a tank and usually have many more useful parts like wheels!

  • @repalmore
    @repalmore 9 лет назад

    I was considering using a 90V DC motor to drive a lead screw but with this video I can see the DC motor has more power in one direction than the other. Thank you for posting this. I'll go with a gear stepper motor. I'm making a portable line boring machine similar to a York setup. I want to make videos as I go but still gathering parts. Almost there. Thank again.

    • @repalmore
      @repalmore 9 лет назад

      There is one company that is using a mag drill as the drive mechanism. York does use a drill also but uses a different movement method more like linear drive. York is like a OK good system and everything skyrockets from there. There are systems over $60K. Yikes. You can see the York stuff at www.yorkmachine.com Just Google portable line boring. Cool machinery. Yes, excavator booms and the like. I have drawings for line boring 6 foot bore. I'm going to have to build my own. $12K and up is a bit pricey. I'll post my videos of making the drive setup. Cheers.

    • @repalmore
      @repalmore 9 лет назад

      NYC CNC Too rich for me. Gotta make almost everything. Home brew style. Get that yanky ingenuity warmed up.

  • @danmcroskey2492
    @danmcroskey2492 7 лет назад

    I joined the nyccnc site but could not find the code and wiring diagrams for this project (Control Large DC Motors with Arduino! SyRen Motor Driver Tutorial). Could you provide a link to them?

  • @steamboatmodel
    @steamboatmodel 10 лет назад

    Have you looked at the Adafruit motor control shield or the Tiny G CNC control board.
    Gerald.

  • @steamboatmodel
    @steamboatmodel 10 лет назад

    Hi John have you done anything with the Adafruit motor shield or the Tiny G CNC controller board. Regards, Gerald

  • @asoormalaian1347
    @asoormalaian1347 5 лет назад

    Its very useful learning for heavy motors application

  • @burkettc
    @burkettc 10 лет назад

    Great stuff John! Love your channel! The speed deal is probably is a signed integer. In binary, there is no concept of a positive or negative value, so the way it is done is by dividing the byte in half. So while you're plugging in 0, the actual byte value is, indeed, a 128. That doesn't help the coder or documentation, though :) The discrepancy is probably between the actual hardware needs and the library provided for the hardware. Sloppy on their part, for sure.

  • @Mtmonaghan
    @Mtmonaghan 5 месяцев назад

    I suggest you use pdi to stop contact with the sensor

  • @InventionTherapy
    @InventionTherapy 7 лет назад

    Do all Arduinos use Atmel chips?

  • @ProStreetFalcon1
    @ProStreetFalcon1 5 лет назад

    I really would like to have more info on this video! Video describes photo of layout & MOST important is the final CODE. Please help as i want to build one of there. Thank you.

  • @armenvegas
    @armenvegas 9 лет назад

    nick awesome!!!
    ive already got the sabertooth 2x60 controller, whats different in the code?
    im driving 2 motors for a wheelchair.
    thnx

  • @seppeverstraeten6270
    @seppeverstraeten6270 9 лет назад

    hey ! nice video ! I’m from Belgium and I'm now in my final bachelor year electromechanical engineering. For our bachelor thesis we are thinking about building a kart with a big DC motor ( +10kW). We wanted to control the motor by using an Arduino. We’re thinking about using a solid state relay or a MOSFET.. what do you thinks is best for controlling such a big DC motor? Thanks

    • @mattivirta
      @mattivirta Год назад

      only MOSFET you can controller motor speed good, SSR not good controller variaple speed good.

  • @alanbjork9219
    @alanbjork9219 9 лет назад

    i am new, where do i find the parts list, the code and pictures. i am making a remote control golf cart with 2 1/4 hp 12v dc gear motors, 21a each, i have already ordered the arduino and control. thanks for your video, this is exactly what i am looking for. both motors have enough torque to make the cart pop wheelies when it starts

  • @balajikaliyamoorthy328
    @balajikaliyamoorthy328 3 года назад

    Great video! . The Arduino Code page is not found. could you please reupload that code page in your link.

  • @legenfilmworks
    @legenfilmworks 9 лет назад

    Hey great video! I have a need for a motor to turn slowly for one minute after a button is pushed then turning off until the button is pressed again. Any suggestion?
    Thank you!!

  • @musicj4fun
    @musicj4fun 2 года назад

    One question: I am driving a hoist motor (220V single phase) with an Arduino board and a relay module. I specify that the relay has its own independent power supply (I removed the jumper Vcc - JD Vcc) and everything seems to work perfectly if I test the relay system without the motor being powered and started. Unfortunately, in a completely random and rare way, when the motor is activated via the relay, the Arduino turns off and resets itself. As I'm not an expert, I believe that there is a huge voltage drop that occurs at startup and this causes the Arduino to lack sufficient power. What can be done to stabilize everything? Thanks for any suggestions

  • @NeonblueIndustries
    @NeonblueIndustries 6 лет назад

    Great vid as always. Those poor proxy sensors...... You should always mount so they don't hit. Ideally mounting them the same polar orientation as the motor shaft so it senses it coming in hovering over the top rather than coming in on a collision course. Proxy sensor can only take so much of this punishment, and if one fails, can you imagine what would happen with a motor of this strength?

  • @danbentler9742
    @danbentler9742 10 лет назад +2

    John
    Very very good demonstration. As you have shown DC motors are easy to reverse and as you have shown it can be done quickly.
    HOWEVER
    There is no free lunch. Quick reversal will result in very high armature current which heats the armature. Doing this say at one minute interval lets motor cool itself. One second interval may result in motor overheating.
    The other thing to consider is increased wear and tear of the gears in the gearbox. Yes your motor could reverse a greater load ie the lead block but this is more inertia for them poor ole gears to handle - greater armature current also.
    Next step is to put in acceleration and deceleration ramps.
    I would also like to see analog ammeter to show motor current when reversing or stopping (especially so if using braking resistor).
    I have DC motor setups to show dynamic braking, reversal etc etc but I do this using old fashioned manual knife switches so class can clearly see what is happening.
    Dan Bentler

  • @functional_artist
    @functional_artist 8 лет назад

    Great video! I am more into building electric Go Carts than robots or conveyor belts.
    Will an arduino work on larger motors?
    I am working on a Cart with a Manta motor #5655 permanent magnet motor. (advertised as 10 HP / 8000 watts)
    I made a simple (contact) controller based on a diagram in the ad (on Ebay) I bought the motor from to control this motor.
    It works like a 3 speed stick shift transmission without a clutch. When driving the cart take off is abrupt and acceleration is good but, as accelerating going from 12 volts to 24 volts and then 36 volts is like driving an old hot rod with a racing shift kit, BANG 1st gear, BANG 2nd gear and BANG 3rd gear. My main concern is when you decelerate it BANGS down reducing the motor speed abruptly. It seems to be very hard on the motor and cart and especially the chain (stretched on first test drive).
    I would appreciate any thoughts or comments on controlling a "big" permanent magnet motor.

    • @mattivirta
      @mattivirta Год назад

      need only what is motor max current have and buy controller what can use this current good, if motor take 10Ampere controller need can use same ampere or little more, and controller can use 5Volt input data arduino controll driver. or need use optocoupler arduino send output 5V max opto send to controller what voltage controller use data input.

  • @tom7601
    @tom7601 10 лет назад

    You are a multi-faceted person, or as a friend used to say, "Yeah, he has a lot of faucets!"

  • @bradleyshepard
    @bradleyshepard 8 лет назад

    i have a linear precision circular metal saw that is no longer functioning since the control board has a problem and they no longer make the board but the 12V DC motor is good. do you think i could rig this up with an arduino to work again? do i need to know what kind of current wave to power the motor. really all i need is for the motor to turn on run around 3500 rpm and stop when i turn it off .does one of your videos address a similar situation or do you have any suggestions where i could study this problem better?

  • @emciem1
    @emciem1 4 года назад

    hi, i've 24 vdc motors with encoder and i wanted to make a robotic arm using arduino, are these sysren drivers the best option for my problem?

  • @thethinkstudio1200
    @thethinkstudio1200 8 лет назад

    Hey there, i was wondering if i wanted to control 4 different motors with Arduino at different times would i need a controller drive for each motor?

  • @sagar1garg
    @sagar1garg 8 лет назад

    Can this be used for RC operations? I have Arduino Uno R3 on the Tx and Rx side and NRF2401 does the communication job. Potentiometer is on the Tx side sending commands to the Rx side.

  • @Mr0o0o0o0o0o0o0o0
    @Mr0o0o0o0o0o0o0o0 2 года назад

    im intrested in building a electric boat engine (~90A @ 380V 3fase [ish 120hp equivalent ]) but i have no idea where to start with a the controle cards, so my idea is to have a arduino for the base line controle system and work from there, but for motor shield im looking for a nodd in the right direction....

  • @jasonhastain9296
    @jasonhastain9296 9 лет назад

    i have an arduino Uno and 2 syren 25 controllers, 1 attached to each motor. Is there anyway to make both motors go at same time? I am using this for a robot base, 1 wheel on each motor. I am relatively new to arduino and am not even sure it can handle multiple threads.

  • @storyboarddave5860
    @storyboarddave5860 7 лет назад

    Hey why not use the Arduino to send a PWM signal through a $18.00 BTS7960 H bridge?
    I used the PWM.h library to get a higher PWM rate . Works good so far.

  • @juanrivero8
    @juanrivero8 10 лет назад +3

    The language in which you are programming that Arduino looks suspiciously like C++ or Objective C. If so there is a simple way to avoid the 0-255 range on the control device. Just define a rescale function. I don't beans about Arduinos but I agree that 0-255 is a ridiculous range, it should be -127 ro 127. Without thinking about it too long it would look sorta like this:
    #define STOP 0 //put this anywhere in the code, but up front better.
    int rescale( MYRange) { //MYRange is NYCNC-approved range
    if (Myrange == STOP) //might not be necessary, but belt and suspenders
    return STOP;
    else
    return(MYRrange + 127);
    }
    I din't think much about this code, feel free to blast me. But with this little function you can work with what seems natural.
    :

  • @bob4048
    @bob4048 9 лет назад

    What motor did you use in the making of this video?
    Cheers.

  • @robcloud
    @robcloud 8 лет назад

    I am to us an Arduino on a steering system on a riding mower.
    I am using a large 12 volt brush motor to turn the steering.
    I was watching your video with the prox switches.
    Can the Arduino be setup and coded to use 3 proxs?
    2 for steering limit and one for center?
    I know nothing about the Arduino and would need help with the code too.
    Here is a link to the first one I built:

    • @SpecialEDy
      @SpecialEDy 7 лет назад

      Rob Cloud use a stepper motor or servo, the arduino can tell it exactly where to go without needing any sensors.
      Arduino sends pwm of 50%, motor turns to dead center. 0%pwm, -90°. 100% pwm, +90°. And anywhere in between.
      For a regular DC motor, you need a absolute rotary encoder. It will tell the arduino exactly how many degrees the motor is rotated. Incremental encoder might get errors over time.

  • @Eng.Mohammad_Alotaiby
    @Eng.Mohammad_Alotaiby 9 лет назад

    I like your videos. Thanks alot
    john ...can SyRen 50A
    work with 2 motors

    • @Eng.Mohammad_Alotaiby
      @Eng.Mohammad_Alotaiby 9 лет назад

      +NYC CNC john , thanks for the response , can you plz give me any documentation for working with 2 motors by syrn 50 , my friend your the reason that i bought the drivers . it will be very helpful if you help me ... you inspired me my friend . love you man .

  • @johnoconnor99
    @johnoconnor99 7 лет назад

    brilliant video. might suit my electric gates project. Thanks.

  • @guilhermecintra5732
    @guilhermecintra5732 7 лет назад

    Hey! I am looking to run a 48V DC motor 1000W and maximum limit 45A (loaded); This module does not fit because of the maximum 30V. How should I work on this case? Can you please reccomend a different module?

  • @chrisvandenheuvel6493
    @chrisvandenheuvel6493 3 года назад

    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.

    • @mattivirta
      @mattivirta Год назад

      large motors need only large motor driver and then can controller driver normal IO pin send data to driver, DC motors, stepper motors, servo motors,

  • @glennedward2201
    @glennedward2201 3 года назад

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

  • @AustBanjobrothers
    @AustBanjobrothers 8 лет назад

    can I use this for twin 200 watt motors 12 volt golf trolley? What do I need? I want remote control feature as well.
    I have an old electric trolley with damaged electric controller and lost remote. I dont want to spend $2000 on new trolley.

  • @davidsellars3851
    @davidsellars3851 6 лет назад

    Hi I have a project using the same hardware, smaller motors. Do you have any programs that would work with: I need to move two panels in sequence. They will be driven by DC powered motors on rack gears. I have everything built and now need to move it.
    Have you programmed anything similar to the following
    Any help would be much appreciated
    The sequence of movements:
    sequence:
    1- Phone rings or up button pushed
    2- upper cover panel slides to open position and stops (proximity sensor)
    3- lower table moves to upper position and stops (Proximity sensor)
    Panels will stay in thse positions unless option 4 is pushed. This will put the unit back in waiting for sequence 1.
    4- optional: down button pushed
    reversing sequence to down position

  • @trotion
    @trotion 8 лет назад

    Hi guys,
    Could you please advise or refer me to one of your videos on controlling something like a 36V 3kW golf cart dc motor for a winch setup? Im looking at making a beach winch and need some help:)

  • @rexpimplemyer3839
    @rexpimplemyer3839 6 лет назад

    That was really awesome. Way better than some dinky robot with a Lego character scaring a house cat. Subbed and liked. I am looking for 'practical' apps of Arduino, not just amusing little novelties to entertain relatives and friends. Interest in home apps of CNC work increased 1000%.