I'm so glad I found you on KZbin. I'm in my 50's and had to put my programming and robotics interests on the back burner for too many years to be able to recollect the technique specifics. You're a life saver; particularly as I'm trying to pivot in my career. Your tone, pace and thoroughness are perfect. I just can't overemphasize how grateful I am to find your channel and for what an outstanding job you do. ✌
@lucasrem18702 жыл бұрын
All he says is use mosfet transistors, they are faster. Programming these logic control board, i do suggest, use LEGO mindstorms first, before you start coding these. If your good enough, use his scripts!
@churnejii572 жыл бұрын
anybody kno2 that motor spec ?
@tinkerpertao8383 Жыл бұрын
i think i found workbotshop about 2years ago. I would like to second your comment. Busy working & time goes by fast. I'm over half a century yrs old and still learning. Last, I would like to thank Mr. WorkBotShop a lot too.
@fabiolus20073 жыл бұрын
I can't express enough how much I admire how well you explain details that are necessary to know.
@anthonyskilton86343 жыл бұрын
I agree, they're wonderful.
@victorinborsciov68174 жыл бұрын
At last I found someone knowing what he is saying. Just for kicks I measured my Hitachi battery powered hand drill, starting current with no load reached peaks in the range10-15A, when loaded 30-35A. Good job!
@catchulater7483 Жыл бұрын
I know this video is over three years old. I keep referring back to it (thanks YT library) to remind me of the importance of clocking, for frequency. Thank you.
@jlucasound4 жыл бұрын
Love your videos. This particular one is close to my heart. Arduino, Robots, and the motor controller I just learned of. I think one of the best parts of your videos is your wiring diagrams. So easy to follow. Thank You, Sir! Interesting is the effect of different frequencies and that the Arduino can actually deliver them. What a difference in current draw. Batteries will last MUCH longer. Nice.
@joshuamadden24423 жыл бұрын
This video was so incredibly helpful. I especially liked those camera switches very professional. Thanks for all the effort you put into this will be watching and learning from all your videos.
@Inventor1015 жыл бұрын
Amazing video and nice channel👍
@rusticagenerica5 жыл бұрын
Your work area is of a medicaly cleanliness. Stunning job.
@HighlineGuitars3 жыл бұрын
I am working on a project that will use an Arduino flashed with grbl 1.1 and a gshield v5. I'd like to connect a 12v DC motor to the gshield via the D11 (spindle enable) pin and the D13 (DIR) pin. Originally I was going to use a L298N, but this Cytron MD10C looks like a better bet since it appears to only need the one DIR wire from the gshield for connection (the L298N needs two DIR wires). Any reason this wouldn't work?
@ThiefKingBakuraX5 жыл бұрын
Quality content always
@noeviracochea4313 жыл бұрын
where can i get the md10c (i'm from bolivia)
@phil41105 жыл бұрын
Using a ramp with a change in slope by measured degrees would be a more accurate way to determine efficient torque versus frequency distortion. You'd need to secure that load and use higher traction wheels though. Great video and in depth knowledge. I'm completely new to this and I appreciate your simplified and detailed tutorials.
@barneycarparts2 жыл бұрын
BTW: I see eBayers selling Wheel Chair motors without wheels. I found that Harbor Freight pneumatic wheels with 4 bolt holes line up perfectly, and cost around $5. You should knock out the inside bearing to fit the hub nut, and fill the tire with Fix a Flat or Slime since the valve stem will be on the inside mount side. I think they are the 4-5 in rim, white wheels. The BT-2 45 amp motor controller works on a wheel chair motor. You can get the BT-2 cheap 2 for $15. I bench tested my Wheel chair motor yesterday and it only pulled 10-12 amps under no load so there is plenty of amps left for a load. I believe DWS said the BT-2 were 30 Amps continuous. 45 peak. I just looked on eBay Wheel Chair motor prices have skyrocketed They run from $130 to $200 each. It might be better to look on Craigslist and buy a whole chair for $100-300 from an estate sale. 5 years ago I got 2 eBay motors without wheels for $75. I also had 2 chairs given to me when a friend's mother passed away
@Yosemite_Sam2 жыл бұрын
Interesting. 10 minute videos are an excellent idea to supplement your others. Cheers from OZ.
@bcarr31164 жыл бұрын
Great Video. ! But can substitute the motors for Stepper motors? Thank you so much for this channel.
@antonetrinh86625 жыл бұрын
Sir, You are a wonderful teacher. Thank you.
@Tamingshih2 жыл бұрын
Thanks
@Dronebotworkshop2 жыл бұрын
Thank you so much!
@fernandopalacio40262 жыл бұрын
Fantastic!!! is great!!! my answer is, i need control 4-6 DC motors like this ones at same time, how ca i do?? can i combine the (Adafruit 815 PCA9685 - 16-channel server driver, 12-bit PWM I2C - ) and the Cytron M10 modules??? thanks for all
@hadireg5 жыл бұрын
Excellent ! I'm grateful to all the folks sharing so kindly their knowledge and on top of that with this high quality! Thank you sir!
@rickhunt31835 жыл бұрын
I would strongly consider using a preset 555 timer for duty cycle and frequency and a programmable frequency devider to drive the input of an h-bridge. This would of course be beyond the scope of just one video. I would suggest a series of videos carefully planned out with the just the information required to stay on the objective lasting only 10 or 12 minutes each. This would allow noobs the oppertunity to absorb the information without getting intimidated or overwhelmed by the magnitude of the information. It’s easer to remember 12 minutes of information than 35, and sitting through a 10 minute video 3 times is a lot more appealing than a 35 minute video 3 times. If someone is going to leave a dislike or a negative comment. They should at the very least be willing to offer a solution.
@kvaliantis3 жыл бұрын
Thanks for the video. Can you please list all the test equipment you are using?
@TuanTran-xi4vs2 жыл бұрын
Your lectures are so easy to understand. Thank you very much.
@jpsilver3510 Жыл бұрын
Thank you so much! So if i understand this correctly, i would be able to control the speed as well as the torque using this? I understand that i could control the speed using the pwm signal, and the torque using the pwm frequency? This would be awesome seeing that im trying to make a DIY Racing sim steering wheel as cheap as possible.
@Bonjour-World4 жыл бұрын
Three questions: 1) Are those DC motors brushed or brushless ? 2) Is the Cytron controller limited to either brushed or brushless motors ? 3) Will the Cytron controller work with permanent magnet DC motors ?
@ntang49222 жыл бұрын
Great video! Do you also happen to have a video on the control of AC motors?
@jeanpierrelabonte2868 Жыл бұрын
How about changing direction in one side and turning the tray’s directionandlooking at the power variations?
@trekangle49073 жыл бұрын
I tried to modify this for the MDD10A, but I've been struggling to get things running. May I ask if you will be creating a video on the MDD10A in the future?
@jomango19295 жыл бұрын
You are the best professor on KZbin !
@wishicouldarduino88805 жыл бұрын
I found a DC to pwm kit I also got the cytron I can't wait to see how they work cytron seems really neat
@endlesslearn412 жыл бұрын
what is the clock speed on a Uno? Very interesting..THX
@davidmalawey4 жыл бұрын
If I designed a reliable torque measuring kit, and provided it to you, would you rerun this test for the true torque data?
@harleywang4 жыл бұрын
Excellent course. That's the course I needed for motor driving. Thanks a lot!
@alicegabriel19095 жыл бұрын
Great video ! I always learn something new any time I watch your video ,keep it up .
@amelliamendel22272 жыл бұрын
For those that followed along on the working robot, when will you update?
@MelihCANBOLAT5 жыл бұрын
12:20; void loop already loops indefinitely. I think while(1){} is not necessary, is it?
@Cory_Springer4 жыл бұрын
I was wondering the same thing.
@MyInnerChild814 жыл бұрын
Can u build a wireless start with servo motors for a automobile?
@Tri_3st5 жыл бұрын
Thats awesome, i am looking forward too see your upcoming content! Really well produced video as always :)
@T2D.SteveArcs5 жыл бұрын
You should check if the fluctuations are real and if they are maybe you should build a low pass PI filter for the power supply, The PWM looks to be interfering with the feedback of the power supply? good work thanks for vids they are very good
@Michael-lo3ht4 ай бұрын
You have a make & model of the motors? I would like to make a robot too using those.
@calvinlee7915 Жыл бұрын
Very nice workshop. Thanks so much for sharing!
@T2D.SteveArcs5 жыл бұрын
just to let you know your sig gen can put out DC you could have used ch2 to generate 5V direction signal also there is a frequency counter built into the scope.. and should be a counter built into sig gen aswel
@scamper_van84703 жыл бұрын
Well i'll bookmark that specific video and thank you for sharing both video and code.
@rayleblanc72094 жыл бұрын
Can the Cytron MD10C be programed off an Arduino the same way as an L298, without the use of the LCD or using a library. I like the simplicity of the L298. just 3 input wires for each motor and a simple code for direction control and no library needed.
@infinytower33175 жыл бұрын
Super great news! I am just beginning to watch the video, but it must contain tons of great contents, as always! Thank you so much!
@toprudder13 жыл бұрын
Excellent! Good illustrations, great video work, excellent information.
@stephengrattage52192 жыл бұрын
I am currently trying to build a circuit for my two year olds electric ride on car. The throttle is just a switch on or off and if he’s on slippery ground the drive wheel just spins and he’s not going anywhere. I still want to use the throttle switch but start the drive wheel slower and speed up if the switch is held on longer. Also obviously stop when it’s released lol.
@robertcalaway49703 жыл бұрын
Hello, I am using the Cytron MD10c with Audrino Uno to control a Leiner actuator to do the height adjustment on a remote-controlled lawnmower. I want to thank you for explaining the way these function in a way I can understand. As I am totally in the dark on how all this works. When I get to the code it scares me a little but I think I can figure it out. Now if you have a suggestion on a better way of doing this please let me know as I am open to suggestions. Again Thank You.
@luisfernandomoncayomarulan12085 жыл бұрын
I loved the camara changing at 1:12
@amelliamendel22274 жыл бұрын
What is the limit to what was l298n can do? Can they run 2 12v barbie jeep motors? I thought they could. They are only 12v
@neilausten94042 жыл бұрын
The response of the LCD buttons seems totally dependent on the LCD. I have tried many combinations of arduinos with LCDs. Some give no response, some will have one responding button and the best I can come up with was one LCD had all buttons respond except the DOWN. Wonder how Bill got all his LCD buttons to work first time. Same applies to both of Bill's sketches.
@tedsykora18585 жыл бұрын
Does the Arduino analog output pulse width return to the factory setting if you write a new sketch? If not, what divider is the default value to reestablish the pulse width frequency?
@tedsykora18585 жыл бұрын
reply to myself: yes, if you remove setPwmFrequency() code out the Arduino defaults back to factory setting. I tested with oscilloscope. Fun
@MattyEngland5 жыл бұрын
Thks for all the hard work making these videos, it's really appreciated.
@john59502 жыл бұрын
What effect would adding smoothing to the arguing output
@JvdeTube6 ай бұрын
probably a noob question but I can't get a straight forward answer from Google. Will this work with servo motors? Do servo motors need special controllers? I have the PCA 9685 but it can't drive the motors that I have... probably because they draw too much current. (3A max for each of the 6 servos)
@geoffkelland56062 жыл бұрын
So ...using a 5v Arduino PWM signal, at, say 100% duty cycle... would run the 12v motor at maximum 12v speed?
@neilausten94042 жыл бұрын
Am I the only one having LCD issues with your sketches. I pasted in your second sketch but found that only the left, up and reset buttons on my shield responded. Thought it must be an LCD shield problem so went and bought another shield. This time the UP button worked once to push PWM from 0 to 1 and then nothing. No other button responded on this second shield apart from reset which occasionally worked. Have tried loading other LCD test sketches and find all the buttons working normally on both shields -just not functioning properly on your sketches. If all had worked it would have been great for me as I am helping my grandson with a project and this was just what we wanted. Anyway thanks for the video..
@mrtmrf50074 жыл бұрын
Hello Sir , could you do a video on controlling brushless high motor (like drone , skateboard motor(200kv)) with bidirectional and arduino ?? thanks
@chrisBruner5 жыл бұрын
I would be curious if putting capacitors across the motors would change the efficiency by smoothing out the pwm, so it becomes more DC then pulsing DC.
@andreafalconiero90894 жыл бұрын
That seems like a good idea. Capacitors across the motors would damp both the peaks and the troughs on the supplied waveform, averaging out the voltage. It should reduce the reactive losses, but I'm not sure how this actually affects the torque delivered by the motor at low speeds. Do DC motors need those full-voltage pulses to maintain torque?
@LuisRivera-jk8jc4 жыл бұрын
All of your videos are excellent
@808GT5 жыл бұрын
EXCELLENT NEWS! MORE DRONEBOT WEEKLY!!!
@reamer594 жыл бұрын
Just a correction...The Collector/Emitter junction when in saturation (switched fully on) is only 0.2 volts not 0.7 as stated. Still Mosfet's are still better as stated :)
@kinsgabil50044 жыл бұрын
Love to watch and learn from you. I like the style you explain with demos and pics. Thank you
@nawinlifehacks99785 жыл бұрын
Hello sir..ENA , IN1 , IN2 , IN3 , IN4 ENB pins in L298N motor driver.but cytron motor driver was fully different.how can declare IN1, IN2 , IN3, IN4 and ENA ENB pins.. please explain sir in cytron motor driver.
@wiltanschannel823 жыл бұрын
Can it handle upto 30A motor stall current? Can it be run on 7.4 to 9v?
@ProGamer-kr5tn5 жыл бұрын
I love your work setup!!
@shaunstewart40645 жыл бұрын
Why are you using the while loop directly inside the loop function? The while loop cannot be exited and is currently redundant. I am just curious. I really enjoy your videos and I am looking forward to the robot build series.
@deWeik5 жыл бұрын
Loop( ) is the function's name. The while( ) keyword causes the code inside it to repeat.
@DailyCakeSlice5 жыл бұрын
I'm wondering the same thing
@shaunstewart40645 жыл бұрын
@@deWeik The loop function executes continuously anyway in Arduino. The while loop is redundant in this context.
@bluehornet67525 жыл бұрын
@@shaunstewart4064 Right... The one thing that *will* happen though, is that the built-in "serialEvent" method would never get called, as that gets called between iterations of the loop() function. So if you were listening for control data over the UART and wanted to use the serialEvent() function in a non-interrupt type of scenario, you'd be out of luck. It wouldn't get called, because there wouldn't be iterations of the loop() function--only the while(1) loop would be iterating. So you this is an excellent point you raise, and I would skip the while loop in the main event loop function.
@1951split5 жыл бұрын
It's not redundant. The loop() function does more than just repeating the code and therefore it takes more time for it to restart. A while(1) loop doesn't do the extra stuff and therefore repeats itself much quicker. I recommend testing it yourself with a simple blink sketch or a stopwatch sketch...
@pierdolio3 жыл бұрын
What is the original PWM frequency on the Arduino?
@hanzblicks63433 жыл бұрын
Is it possible to operate the motors with a lipo battery (3S, 2200mAh, 30C)?
@alejandrosilva75204 жыл бұрын
excellent thank you very much but I do disagree with the conclusion about the lowered power current consumption when you raise the frequency. Your power supply meter probably does not have the same accuracy near 400Hz than at 3Khz. You should verify your results with a real rms ammeter.
@DennisMurphey3 жыл бұрын
Sounds like something i need to explore for my Model Train, I keep burning up diodes or drivers now with MOSFETs seems there is hope. Can we get them at the 20VDC range in smaller sizes? I am sharing with my team. Our Control Lead is from S.A. so it takes us some rotations of earth to close our knowledge loop. Thank You So Very Much, Dennis
@David_E-884 жыл бұрын
Thank you. A very good and useful video. Could please tell me what is manufacturer number of the DC motor you used in the video?
@martingrima64182 жыл бұрын
Hi there, I so much like the information you put on KZbin. I have been looking for material to control a large servo motor (approx. 90VDC) with an encoder with arduino and the closest I found is your post named "Control Large Gearmotors with PWM & Arduino" and another using the H bridge but rater that controling speed and direction, I am looking to to control position and direction. I know an encoder can be hooked onto Arduino but fall short when it comes to supplying the motor with the required voltage and currrent and so some sort of interface controller is required. My problem here is mainly does such an interface controller exists. Do you think there is something out there for my application? Thanks MartenG
@gloubiboulgazeblob Жыл бұрын
Hi, Clear explanations, thanks ! Just a detail : apparently it's easy to modify the ATmega MC registers with a simple C instruction as if the name of the register were known by the compiler. As TCCR0B and TCCR1B aren't declared anywhere in the sketch (I prefer : the term "program", oh, well...), do we only simply have to use the register name in a program like any other variable ? Are these register names "internally" known by the compiler ? And, since these are registers, they're reinitialized at boot time, right ?
@HoppyTheRobot2 жыл бұрын
The MD10C seems to be no longer available. Not in the UK anyway. Any alternative suggestions?
@ozgemmo34454 жыл бұрын
Hi Bill - simply brilliant video with excellent graphics etc! You have now prompted me to get into this very interesting area of controlling large gear-motors through an Arduino and will now duplicate your project! Just as an additional thought I think you could produce a graph for each motor (or pairs of) showing motor efficiency compared to PWM vs frequency and current draw. - would be very interesting to see graphically; please let me know what you think? Cheers & thanks from Down Under. PS: just signed up for your News Letter as well.
@rykkers5 жыл бұрын
What is the benefit of the while(1) inside the main loop? Surely they do the same thing?
@stevealdrich24725 жыл бұрын
No benefit in this case but you could use the loop to create a local variable with scope only in the loop (localKey could have been declared here) and you could have an interrupt routine exterior to the loop break you out, do something exterior to the while(1) loop then reenter from the top of "loop." So, it could be a "more features coming" construct. Otherwise, you are exactly right. It produces no different behavior than the ordinary main loop.
@rykkers5 жыл бұрын
@@stevealdrich2472 ok, got ya. So it's sort of like a breakable loop()
@legpetruchka21243 жыл бұрын
Merci beaucoup pour cette vidéo et pour faire connaître le MD10C. Juste une question sir, As -t-on le même résultat avec des moteurs de 24 V dc à forts ampérages?
@rjimene14 жыл бұрын
excellent video, premium content, Thank you so much.
@heeellllooo468 Жыл бұрын
Hey guys! What does the diy_pwm on A2 mean in the program? What´s the purpose?
@rewardsoverwater78213 жыл бұрын
I like your channel. I'm poor so I can't afford to throw stuff out. My portable swamp cooler is getting electronic components added to maximize the cooling with little power. I was hoping to put a new motor but the machine has a custom motor. So I need to get a better board built. Again thank you.
@nawinlifehacks99785 жыл бұрын
How can define IN1,IN2,IN3,IN4,and ENA,ENB pins in MDD10A dual channel motor driver.. please explain
@shingrutashish56393 жыл бұрын
Which motor driver is required for the Dc motors with encoder ?
@kioapsytrance55944 жыл бұрын
This was a really good video. Very interesting. Thank you :) You really have good videos :)
@omego235 жыл бұрын
Great learning video sir. could you please make a video of h bridge operating two large motors. I am working on making controller for electric wheelchair for disabled. your suggestions about that will be warmly welcom. Thanks
@newburypi5 жыл бұрын
Thanks DB. I'm looking forward to the robot series, and hoping it gives me the insentive to get my fellow rolling.
@handymanbrad90212 жыл бұрын
Hi, I noticed that you did not use a cap in parallel with the motor being control by PWM. What is your opinion on this?
@brucej24905 жыл бұрын
Can you do such large power dc experiment with PID code?
@sritamroy44304 жыл бұрын
Great video ,a lot of information to know. Excellent teaching technique.Looking for more.Thank you Sir!
@caveratward62185 жыл бұрын
GREAT VIDEO. For a beginner myself I'am learning a lot. Thankyou
@MrManta20125 жыл бұрын
Your graphics really help your message, Thanks
@enkisonofanu23015 жыл бұрын
Very instructive. How about using sprockets to increase the speed further?
@Dronebotworkshop5 жыл бұрын
I could have chosen another model of this gearmotor that had a different gear ratio if I had wanted a higher speed, I purposly selected this one as I don't need my robot to travel any faster. But in some applications, like competitions, you would want a higher speed.
@VeryMuchBlessed5 жыл бұрын
Excellent! The comparison with the different frequencies was very cool. Thanks much. New subscriber here!
@Tamingshih2 жыл бұрын
Great job! I am just in need of this solution.
@patricioantonio41895 жыл бұрын
Excelente tutorial (como siempre). Felicitaciones y muchas gracias por sus enseñanzas.
@OsoPolarClone5 жыл бұрын
Why wasn’t a case statement used for the button selections at the start of the while loop? Thanks
@natriumguy85374 жыл бұрын
Ohh man this is THE CHANNEL for geeks like me ❤🙂
@roboticsandnanotech3051 Жыл бұрын
Sir what is the torque and power of motor
@PhG19615 жыл бұрын
Waw more video ! Great ! Hmmm, building a robot for over 40 years... this sounds so familiar ! I go to sleep and wake up with it !
@vinay_dias3 жыл бұрын
How do you make this circuit diagrams ?
@adarshgouda8473 жыл бұрын
If I were to use 4 motors... could I attach 2 motors to the same channel and get away with it? or would i need two separate motor driver...
@NoahPeeters5 жыл бұрын
Amazing informative video! Could you maybe make a video about the esp 32 module? I'm trying to figure out how it's Bluetooth and wifi work and how it can be connected to a smartphone. I would really appreciate it if you could make a video about it. Keep up the great work!