I'm so glad I found you on TH-cam. 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. ✌
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!
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.
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!
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.
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.
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.
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?
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.
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
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
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.
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.
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 ?
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?
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
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
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.
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.
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.
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.
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?
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)
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..
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.
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?
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 :)
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.
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.
@@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.
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...
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.
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
Hi there, I so much like the information you put on TH-cam. 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
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 ?
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.
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.
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?
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.
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
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.
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!
I'm so glad I found you on TH-cam. 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. ✌
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!
anybody kno2 that motor spec ?
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.
I can't express enough how much I admire how well you explain details that are necessary to know.
I agree, they're wonderful.
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!
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.
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.
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.
Amazing video and nice channel👍
Your work area is of a medicaly cleanliness. Stunning job.
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?
Quality content always
where can i get the md10c (i'm from bolivia)
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.
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
Interesting. 10 minute videos are an excellent idea to supplement your others. Cheers from OZ.
Great Video. ! But can substitute the motors for Stepper motors? Thank you so much for this channel.
Sir, You are a wonderful teacher. Thank you.
Thanks
Thank you so much!
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
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!
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.
Thanks for the video. Can you please list all the test equipment you are using?
Your lectures are so easy to understand. Thank you very much.
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.
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 ?
Great video! Do you also happen to have a video on the control of AC motors?
How about changing direction in one side and turning the tray’s directionandlooking at the power variations?
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?
You are the best professor on TH-cam !
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
what is the clock speed on a Uno? Very interesting..THX
If I designed a reliable torque measuring kit, and provided it to you, would you rerun this test for the true torque data?
Excellent course. That's the course I needed for motor driving. Thanks a lot!
Great video ! I always learn something new any time I watch your video ,keep it up .
For those that followed along on the working robot, when will you update?
12:20; void loop already loops indefinitely. I think while(1){} is not necessary, is it?
I was wondering the same thing.
Can u build a wireless start with servo motors for a automobile?
Thats awesome, i am looking forward too see your upcoming content! Really well produced video as always :)
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
You have a make & model of the motors? I would like to make a robot too using those.
Very nice workshop. Thanks so much for sharing!
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
Well i'll bookmark that specific video and thank you for sharing both video and code.
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.
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!
Excellent! Good illustrations, great video work, excellent information.
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.
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.
I loved the camara changing at 1:12
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
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.
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?
reply to myself: yes, if you remove setPwmFrequency() code out the Arduino defaults back to factory setting. I tested with oscilloscope. Fun
Thks for all the hard work making these videos, it's really appreciated.
What effect would adding smoothing to the arguing output
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)
So ...using a 5v Arduino PWM signal, at, say 100% duty cycle... would run the 12v motor at maximum 12v speed?
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..
Hello Sir ,
could you do a video on controlling brushless high motor (like drone , skateboard motor(200kv)) with bidirectional and arduino ?? thanks
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.
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?
All of your videos are excellent
EXCELLENT NEWS! MORE DRONEBOT WEEKLY!!!
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 :)
Love to watch and learn from you. I like the style you explain with demos and pics. Thank you
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.
Can it handle upto 30A motor stall current? Can it be run on 7.4 to 9v?
I love your work setup!!
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.
Loop( ) is the function's name. The while( ) keyword causes the code inside it to repeat.
I'm wondering the same thing
@@deWeik The loop function executes continuously anyway in Arduino. The while loop is redundant in this context.
@@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.
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...
What is the original PWM frequency on the Arduino?
Is it possible to operate the motors with a lipo battery (3S, 2200mAh, 30C)?
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.
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
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?
Hi there, I so much like the information you put on TH-cam. 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
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 ?
The MD10C seems to be no longer available. Not in the UK anyway. Any alternative suggestions?
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.
What is the benefit of the while(1) inside the main loop? Surely they do the same thing?
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.
@@stevealdrich2472 ok, got ya. So it's sort of like a breakable loop()
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?
excellent video, premium content, Thank you so much.
Hey guys!
What does the diy_pwm on A2 mean in the program? What´s the purpose?
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.
How can define IN1,IN2,IN3,IN4,and ENA,ENB pins in MDD10A dual channel motor driver.. please explain
Which motor driver is required for the Dc motors with encoder ?
This was a really good video. Very interesting. Thank you :) You really have good videos :)
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
Thanks DB. I'm looking forward to the robot series, and hoping it gives me the insentive to get my fellow rolling.
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?
Can you do such large power dc experiment with PID code?
Great video ,a lot of information to know. Excellent teaching technique.Looking for more.Thank you Sir!
GREAT VIDEO. For a beginner myself I'am learning a lot. Thankyou
Your graphics really help your message, Thanks
Very instructive. How about using sprockets to increase the speed further?
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.
Excellent! The comparison with the different frequencies was very cool. Thanks much. New subscriber here!
Great job! I am just in need of this solution.
Excelente tutorial (como siempre). Felicitaciones y muchas gracias por sus enseñanzas.
Why wasn’t a case statement used for the button selections at the start of the while loop? Thanks
Ohh man this is THE CHANNEL for geeks like me ❤🙂
Sir what is the torque and power of motor
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 !
How do you make this circuit diagrams ?
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...
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!