Control XY-1250 10-50V 60A 3000W PWM motor Speed controller using Arduino
Ғылым және технология
Explains how to modify this module and control it using Arduino. Step by step explanation. Code provided to control this module without potentiometer and with potentiometer with Arduno.
Watch review and full explanation of this module tested under different loads: • Review of DC 10-50V 60...
**** Free Arduino Course ***
Arduino Step by Step Course (over 100 lectures) Starts here robojax.com/L/?id=338
The best thank you for me is to not to skip ads and Subscribe 🔔 to my channel, like 👍 the video It is greatly appreciated. 🔔 😊.
I will reply to all Subscriber's 🔔 questions. So make sure to Subscribe and enable the bell 🔔.😊
*** Purchase this module form ***
Amazon Canada: amzn.to/2UUAqT9
Amazon USA: amzn.to/2V9Va9T
All other Amazon: robojax.com/L/?id=352
AliExpress: s.click.aliexpress.com/e/_AOaOJR
Banggood
Jump to different chapters of this video
00: 00 Start
00:40 Introduction
01:42 Hardware explained
04:26 Waveform viewed on oscilloscope
06:56 Disconnecting the signal from board
08:49 Powering Arduino from this board
12:26 Code explained
15:42 Testing with Arduino
16:28 Code to control without potentiometer
Get Arduino code for this video: robojax.com/L/?id=307
**** Components used in this module:
Schottky diode MBR20100CTG used (4 pieces):
www.onsemi.com/pub/Collateral...
Datasheet for NCE7190A Mosfet (8 mosfet used in this product)
datasheet.lcsc.com/szlcsc/Wux...
S2H1002A4 Constant Current diode (2 pieces used):
robojax.com/download/datasheet...
2nd Datasheet: www.szhhe.com/file/2H1002A4.pdf
Required video to watch:
Review of 60W PWM Motor controller: • Review of DC 10-50V 60...
Follow me on Facebook robojaxTV
Tutorial by Ahmad Shamshiri form Canada
****************************
Arduino Step by Step Course (over 100 lectures) Starts here • Lesson 00 What is Ardu...
****************************
If you found this tutorial helpful, please support me so I can continue creating contents like this. Here is PayPal link paypal.me/robojaxTV
Follow me on Facebook robojaxTV
Follow me on Twitter: / robojaxtv
Follow me on Instagram: / robojax
Tutorial by Robojax.com
Get other projects code and learn Arduino
robojax.com/learn/arduino
#robojaxHack #robojaxArduinoCourse #robojaxPWM
*** AFFILIATE PROGRAM ***
We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to Amazon.com and affiliated sites.
Пікірлер: 140
Thanks so much for this tutorial! It worked great but I did need to change the pwm frequency on the arduino or else the motor made a loud humming noise.
Fantastic video, exactly what I needed. I'm just having a problem disconnecting the signal, if have made both cuts however the original potentiometer still controls the motor. I was wondering if I needed to cut the thinner wire to the left of the second cut (when board is in portrait) as I still measure a voltage over that.
@robojax
3 жыл бұрын
Good to hear that you found it useful. I am not sure what you did different. but it must stop or else your module has different PCB. Try to cut the link that goes to 555 timer.
thank you sir, i have learn so much on this video...
@robojax
3 жыл бұрын
You are most welcome
Great video, thank you, very helpful. I have been trying to get this same concept to work with an ESP32 instead of Arduino but my motor simply does not respond to the PWM signal I send to the XY-1260. My code works, I have tried with an LED instead of the motor and it fades according to the duty cycle. Could it be that a 3.3V PWM is not enough for the Motor Controller? Or am I overlooking something else? Thank you
@robojax
3 жыл бұрын
Hello, eso32 has different way of PWM so try this video to fade and then apply the same to th motor kzread.info/dash/bejne/iHeBmK2Gfdmolqg.html
Great video Subscribed!
@robojax
4 жыл бұрын
Thank you.
Hi RJ, good work around but would it not be easier to use a MCP4725 I2C DAC, common ground and signal from MCP4725 on the black wire of the potentiometer, no invasive action required and you'll have 4000+ steps of control?
@robojax
4 жыл бұрын
you can do it in 100 days.
Sir, your videos are awesome and I appreciate your videos. I just ordered both the speed controller and ardunio. My plan is to build a cooling fan controller for a pickup. I'm guessing it would be possible to write the code in a way to slowly ramp up the fans from say 50 percent duty cycle to 100 percent while having the fans come on and off based off of coolant tempature? I have a lot to learn about this however is my project obtainable?
@robojax
4 жыл бұрын
Yes your project is practice but you need a temperature sensor. If you write the right code, it will work.
@Mo-sf7wc
4 жыл бұрын
@@robojax thank you for responding. This is good to hear. Glad to know I'm not chasing something impossible with this. So current plan, come on a 50 percent when coolant reaches 205 degrees than ramp up to 100 percent slowly. Run until coolant tempature drops to 195 than shut off. I also want to have the fans come on when the air conditioner is switched on. Thinking run fans at 65 percent with A/C. If coolant temp gets to high with A/C on than fans ramp to 100 percent. Once coolant temp gets to 195 with A/C still the fans return to 65 percent duty cycle. Hopefully I can tap into the existing two wire coolant tempature sensor. I hate to bug you on this but can you think of any extra parts I would need? Some of the issues I'm thinking of are powering the ardunio when ignition is on. I suppose a 12V relay directly powering the speed controller and board could fry it. Also how to get the A/C signal 12V positive to the board without frying the Ardunio or the trucks PCM. Thank you again
@robojax
4 жыл бұрын
I don't know about many other components you are will be using. I assume you want to control a fan connected to this module . Then you will need a temperature sensor. to power your arduino, you will need a very basic power adapter that converts AC to DC with output of 6V to 15V.
@Mo-sf7wc
4 жыл бұрын
@@robojax yes control the radiator cooling fan with this. I purchased a temperature sensor. It's that Dallas one wire. It has one wire bus plus the other two inputs. By A/C I meant Air condition. The air conditioner compressor will supply 12 volts power I can tap into. Hoping to have that signal the ardunio to turn the fans on at 60 percent while still monitoring the water temp. If water temp gets to high with air conditioner on than fans ramp to 100 percent just as if the air conditioner was off. I did the mod like you did on this video. When I key on the truck I'll have a relay supply voltage to the module. I have the ardunio getting power from the module like you showed on the video. As far as modding the controller I think I got it right. I wish I could upload a photo to show you how I did it to see if it's correct. Right now I have it controlling a head light. It's a hologen bulb. The controller heat sinks get so hot I'm worried I have it wrong.
Hello Sir, Thank you for the great video. I was following along the video, but when I connect the power from the board to the arduino vin and the board ground to the arduino ground, the motor board shuts off (led light goes out), when I do not connect the ground but only connect the vin power, the motor starts but can not be controlled. Am I missing something in wiring?
@robojax
4 жыл бұрын
it seems you are connecting it incorrectly (reverse). So power up Arduino with USB from computer. Just connected ground from Arduino to the Power module and the signal from Arduino to the module. It should work as well.
Hi sir, how many ohms is the "original potentiometer on this 3000W PWM motor Speed controller" circuit? Thanks..
Very good Video! I need the Modul with 5000W for my Projekt but this Module has a Case. Is it possible to controll the Dudy-Cycle by just providing a voltage between 0V and 5v from the uC and connect it to the wires which are responsebile for the Dudy-Cycle?
@robojax
4 жыл бұрын
I will reply to all Subscriber's 🔔 questions. So make sure to Subscribe.😊
Hi, how many ohms is the potentiometer on this 3000W PWM motor Speed controller circuit? Thanks..
Good video! One question: what appen if I connect Arduino to the PC with USB port when Arduino is already powered ( + and - connected) by the Control XY-1250? Thank you for answer?
@robojax
4 жыл бұрын
Thank you. There will current flow between Arduino and your power module if both of them are not exactly 5.00 V. So avoid it.
@italomarchi9456
4 жыл бұрын
the problem is taht I have already do it ( 12 V from XY1260 and 5 from PC) and now the XY1260 does'n works: with the 24V from battery I have 24 V also on the motor with thecontroller switched off and Arduino disconnected! It is rasonable or I have to look for other mistake? Thank you
Nice video Robojax! But I have a slight problem. When using the pot, the motor spinns up nicely without any noise (humming), but when switching to PWM control, the motor is humming the whole PWM range, except full speed. What about the proper PWM frequency for these kind of controllers?
@robojax
4 жыл бұрын
Here my video on Arduino PWM frequency kzread.info/dash/bejne/aINttaivdbOcctY.html
@0deneme0
Жыл бұрын
12Khz
thank you so much for the help
@robojax
3 жыл бұрын
You are welcome. Please subscribe. I appreciate it and helps my channel grow. Thank you
Great video ¡ I have bought this module the last week, I'm developing a machine that use a 48 VDC motor like (MY1020 motor) and I need to control it directly from Arduino with a PWM signal (without the external pot) so, I can connect my 48 VDC motor with 20 Amp with this hack that you show in the video, or, are there more modifications with the module? I hope that you understand me. Thank you so much ¡
@robojax
2 жыл бұрын
This is exactly what you need. If you follow the instructions it should work.
@luisfabianurregosanchez4744
2 жыл бұрын
@@robojax Thank you so much ¡ I will make the hack as you show ¡ your videos are so usefull ¡
@luisfabianurregosanchez4744
2 жыл бұрын
@@robojax I have made the same hack that you show and, it works perfectly ¡¡ you are a Master ¡ you have won a new suscriptor ¡¡ Thank you son much ¡
Excellent tutorial. Do you have a recommendation for a directional hi power hi amps H Bridge that I could control with Arduino?
@robojax
3 жыл бұрын
thanks. this is the solution kzread.info/dash/bejne/gomAl6aTabenYtI.html
Hi. Thank you for great video. I have one question. If I understand well, you are using only 8 mosfets, and there are 12 mosfets on the board. Is it possible to add one more chanel to arduino, in order to control the rest 4 mosfets?
@robojax
3 жыл бұрын
Hi, all of them are using. there is nothing left without using it. they are all soldered and connected. yes you can modify it, cut the path and make another channel. Please subscribe. I appreciate it.
@mishatomic1
3 жыл бұрын
@@robojax Thank you for your replay. I already subscribed. Your chanel is great. Now I see, there are 8 mosfets, and 4 schottky diodes. Just keep doing as so far, your chanel deserves more subscribers.
@robojax
3 жыл бұрын
Thank you.
Thankyou very much for your nice explanation.Can i use this controller for a wheelchair?(Two wheelchair motor of 24v.). If not, can you offer a motor controller that can be used for a wheelchair?
@robojax
Жыл бұрын
Hello this is one way control. Can’t reverse. See this kzread.info/dash/bejne/gomAl6aTabenYtI.html
hi robojax, my control is different, has only 1, 555 chip and the output doesn't go through a primary diode, goes straight to the mosfet diodes, I'm assuming this will still work. great tutorial and I'm sure ill be watching more, PP you thanks
@robojax
3 жыл бұрын
Hi, I am not sure what kind of module you have. but if you watch carefully I've explained it fully so you know how to use this method on any other module. just find out where the PWM is coming from and and disconnect the path and add Arduino signal there. Good luck.
Hello, nice video , bringing ideas for a 60 Amp 12v dc motor control. Question, what is the advantage of having two 555 ?
@robojax
2 жыл бұрын
This does not have two 555 timers. If Simone want to use them it could be one for generating PWM and the other as time switch to turn On of off after certain time. It can be anything
@ottoodell_dell
Жыл бұрын
Hello there ! Actually the third 555 is the PWM signal generator , you can see the 2 diods connected to pins 2 & 6 , and the pot_meter between them ( google -- pwm with 555 for schematics ) the other 2 pc. of 555 are configured as schmidt triggers / mos drivers and connected to pin 3 of the first . As you can see on the Scope , the drive frecv is around 15 kHz . The arduino in that simple way can only generate 488 or 976 Hz ( depending which pin / iinternal timer is used )
@Robi5374
Жыл бұрын
As both pin 3 output is same, if i use one arduino pin will it work?
Great work. Just curious, what do you think about using arduino with a digital pot?
@robojax
4 жыл бұрын
Sure it it will work as well.
@leochen4891
4 жыл бұрын
@@robojax thanks for the reply. One more question, is it the simplicity that you chose the method shown in the video? Or because of other consideration?
@robojax
3 жыл бұрын
you are welcome. In terms of design this is very inefficient. Only 2 mosfets could do the job but it would need huge heatsink. So they use tones of mosfets to avoid using heat sink. For that reason this is the most attractive high current module and I know I can easily modify it for Arduino as well.
@leochen4891
3 жыл бұрын
@@robojax I bought one and just tested that the pot RW leg takes 0-5v input which can be directly control by arduino analog output. I think that sounds like a simpler and requires no cutting and soldering.
Hi help required I would like to use a similar board to control a mobility scooter motor but instead of the potentiometer I want to use an electric throttle with 3 wire would this be possible would I need to just replace the potentiometer any help would be greatly appreciated
@robojax
4 жыл бұрын
Hi, what is electric throttle? it must be a potentiometer. I have explained potentiometer in my Arduino course at Udemy bit.ly/rj-udemy
Hello, I was wondering if you could help me with my problem. I've bought an XY-1250 motor speed controller and I want to control it with my Arduino. I've copied all the steps in your video on KZread but it won't work as it should work. I've cut the two PWM-lines on the PCB and when I power the board the motor starts already turning. If I turn my potentiometer on my Arduino, I have a slight increase of motorspeed but it is minimal. Do you have any idea what this could be ?
@robojax
3 жыл бұрын
if motor rotates, then you have not cut it or there is something wrong. this hack is very simple. check wiring and connect it back without arduino see if motor runs fully. then disconnect it and make sure motor never moves. if the motor moves after cutting, something is wrong. you may have different board or there is another wire or path. good luck.
@leonbouman7820
3 жыл бұрын
I see that my board is an XY-1260 instead of an XY-1250 in your example. Could that be the problem ?
Great video is there a way to adjust the hertz on Controller or just PWM Thanks
@robojax
2 жыл бұрын
Yes it is possible to change the frequency of PWM. It is a simple 555 chip. Search online and you will find tones of circuits. You just change one resistor and capacitor to change the frequency.
@Ron-sk8wo
2 жыл бұрын
@@robojax Thanks
Great video as all are. Question: can the speed be reversed? Could you program a "soft start"? Thank you.
@robojax
4 жыл бұрын
no. can't be reversed. What is "soft start"?
@lukaturk
4 жыл бұрын
@@robojax Basically you gradually increase PWM, to avoid start spikes.
@robojax
4 жыл бұрын
then it would be simple look with that goes from zero to 100 and every step increases 1% speed. if(int i=0 i
@lukaturk
4 жыл бұрын
@@robojax Thank you very much.
@hustlaz2k
3 жыл бұрын
why u need a soft start since it is variable speed control. when u slow down the speed surely its soft starting.
If I use this controller to go kart when motor take his inertia & voltage also produce, will this voltage damage the controller?
@robojax
3 жыл бұрын
this module is made to work from 10 to 50V. power it up and motor voltage.
I'm very interested in using the speed controller with a MCU without reverse engineering or modifying the PCB. Is it possible to use a 100k digital potentiometer 256 position to control this device?
@robojax
4 жыл бұрын
I think this (video) is the solution. If you want to use MCU, you have to modify it.
@Try_to_success
4 жыл бұрын
@@robojax 60M PWM Speed Control Circuit hello, can I ask you a bit, can this circuit be used for 2 motor slowdown 24v 250W 14A .. I hope you can help
@badeaalexandru5309
4 жыл бұрын
@@robojaxWhy, if the voltage on the pot is 5v, I'm using a ZXY-MTC-08 module which has a STC15w408as MCU driving the 555 times, an MCU should be on your driver board but it's scrubbed off, or maybe you have a different voltage on your pot? Thank You.
Hi Can we modify so we can adjust the frequency as well
@robojax
3 жыл бұрын
Hi, why should you? if you want to control the motor, it works. If you mean to change the frequency of the module, it wold be done but with some hard work but if you want to change the frequency of Arduino, do some bing/google search.
@thecalipercnc2800
3 жыл бұрын
@@robojax thank you for replay Yes its control the motor but i want to use it to control HHO cell I purchased this one because i watch how you connect the arduino to it and i want to know if its easy and possible to control the duty and frequency as well I have almost zero knowledge about electronics so if my question not make sense im apologise 🙂 Thanks again for replay
Superb sir. I was looking for this from long time. Sir may I get Amazon link from you to purchase it.
@robojax
3 жыл бұрын
just type the model and you will get find it.
60M PWM Speed Control Circuit hello, can I ask you a bit, can this circuit be used for 2 motor slowdown 24v 250W 14A .. I hope you can help
@robojax
4 жыл бұрын
you just do the math. one motor 24V x 14A = = 336W and you got two motors, 336x2= 672W. Now see the videos , multiply the voltage x current of my test and see if it is 700W, then you can do it.
@Try_to_success
4 жыл бұрын
@@robojax Thank you
Hi, I have two 24v DC 180W motors with rated current of 4.76A and locked rotor current of 5.8A. I would like to be able to control these two motors independently using PWM from an Arduino Mega microcontroller. Is this possible? Btw your explanations are excellent. Very easy to understand. Subscribed!
@robojax
4 жыл бұрын
Thank you for subscribing. Yes you can but for two motors, you will need two of this module. If you want both motor to work and run together, you can connect them in parallel.
@TheAutoDIYGuy
4 жыл бұрын
Robojax Ah okay okay. Thanks. By chance have you checked out this motor controller to be used with Arduino? amzn.to/3dbpV2K The one in your video is no longer available on Amazon.com 😓
Why can't I just disconnect the potentiometer and connect the middle pin of the three pins on the motor controller board to the Arduino's analog to digital input and then read the analog input value in the software? How is using PWM better or is it?
@robojax
3 жыл бұрын
see the video. I've explained it.
Hello sir, with the motor and DC Power connected to the board, when i switch on the Power (but not the board), the motor starts running, and one of the MOSFET became hot. Did i break something?
@robojax
2 жыл бұрын
Hello, remove the bad mostfet. it will work.
Hi, is it possible to replace the potentiometer with a bridge h controlled by arduino, so we don't modify the board?
@robojax
4 жыл бұрын
Hi, Interesting point. I never thought of that. I will look at it.
@Bondangoed
4 жыл бұрын
Robojax I would also like to see this theory tested. Also, how do we delete the switch so always on
Why to use 2 PWM pins on arduino? Could you use a single PWM to control both chips on red board? Looks like in the script they run at the same time and the same value.
@robojax
2 жыл бұрын
I don’t remember exactly what I did, but perhaps at the point here I have connected the wires, gates of MOSFETs were separate and I tried to keep the separate.
How can we increase usable voltage this driver? İf we are changed mosfets and diodes higher voltage , is it works ?
@robojax
4 жыл бұрын
Hi, I have added links to datasheet for this module. Please watch the main review of this module: kzread.info/dash/bejne/k2qArsSDpNG2gKQ.html You will need to find mosfets with the voltage you want to work and also make sure the capacitors have the proper voltage.
Hi, where can i get the same Control XY-1250 10-50V 60A 3000W PWM motor Speed controller that you using?
@robojax
4 жыл бұрын
The link is in the description under the video. I just checked it to make sure it is there.
Can I use a large motor? Motor specification is going to change the 12v 150w 3000rpm 20a potentiometer to slide
@robojax
3 жыл бұрын
Hi, the voltage of the motor can be up to 50V and current can go up to 60A or less. RPM doesn't matter.
Hi, can i used Arduino to control DC brushless motor 220V 0.3A by using Control XY-1250 10-50V 60A 3000W PWM motor Speed controller. Slowly, I increase the Control XY-1250 10-50V 60A 3000W PWM motor Speed controller max to 60V. Will it burn the Arduino circuit? Arduino power supply is separate from the Control XY-1250 10-50V 60A 3000W PWM motor Speed controller. I'm only using Arduino to give PWM signal to the Control XY-1250 10-50V 60A 3000W PWM motor Speed controller.
@robojax
4 жыл бұрын
To control brushless motor, you need Electronic Speed Controller (ESC) something like this robojax.com/products.php?pid=151
why not just connect an analogue output from the arduino to the 5V potentiometer signal wire on the motor controller, seems a much simpler approach than cutting up the traces on the board
@robojax
8 ай бұрын
Arduino does not have analogue. it is PWM. PWM is always 5V or 0V. nothing in between.
Sir can I connect this module to control 24VDC motor using Arduino???
@robojax
3 жыл бұрын
please read the title title of the video? As I mentioned you have to watch the main video. This is not the main video. this is just Hack to make it work with Arduino . here is the main video kzread.info/dash/bejne/k2qArsSDpNG2gKQ.html
my question is can we make inverter dc to ac with same technic? thank u.
@robojax
3 жыл бұрын
this is not a converter. this is just a speed controller. the output voltage will always be the same as the input. it just turns it OFF and ON quickly with different duty cycle called PWM and the motor will slow down and speed up,
Can we apply this controller for Ebike motor ????
@robojax
4 жыл бұрын
any DC motor can be controlled. Yes.
How can we increase working voltage for operate on 220 ac
@robojax
4 жыл бұрын
This is totally different module. DC motor controller is different. You will need to get AC motor speed controller.
@raer7844
4 жыл бұрын
@@robojax i mean i want work with 220 ac. but motor will be dc motor. İs it enogh if we are changed mosfets ?
If i use one timer 555. One pwm. Will it work?
@robojax
Жыл бұрын
as I remember, this module already has 555 timer. what are you trying to do ?
Hi i have purchased this controller and at first it was working fine now it wont turn off with the potentiometer and i cant regulate the speed of the motor . Would you know what would cause this. Please help
@robojax
4 жыл бұрын
one of this 1-check wiring, 2- bad potentiometer 3 mostfet dead
@mrscooteria
4 жыл бұрын
Thank you for your reply i will check
@mrscooteria
4 жыл бұрын
My friend i have checked the mosfets and they seem to be all blown i put the multimeter to drain and source and they all have an open connection. I was wondering if you could help me as i am in need of controller 12v which i am pulling a heavy load the fuse on my whinch is 30 amp. I thought this was enough 60 a rated max and 40a continuos. But i guess its not... any ideas on which would be a good controller for me
My boards were working perfectly and now they arent pushing voltage to the motors. Any ideas?
@robojax
4 жыл бұрын
you just answered your question. it was working. so now PWM is not reaching it. Test it by connecting the cut point with wire.
Hello sir This motor controller why use schottky diode
@robojax
3 жыл бұрын
Hello, DC motor when turned OFF generates back EMF or reverse voltage that might damage the module. it absorbs it.
@technicalmind5282
3 жыл бұрын
@@robojax thank you
but how turn the motor in both directions use this module.
@robojax
3 жыл бұрын
get H bridge something like this kzread.info/dash/bejne/gomAl6aTabenYtI.html
@sonootergel3510
3 жыл бұрын
@@robojax The above module does not work
Hi, how do I get this board, where to purchase?
@robojax
4 жыл бұрын
Hi, thank you for letting me know. I have just added links in the description of video to find this module.
@gimmieliberty6514
3 жыл бұрын
us.amazon.com/Controller-10-50V-Driver-Module-Extension/dp/B07B4B2X35/ref=sr_1_1?dchild=1&keywords=Motor+Controller%2C+DROK+PWM+DC+Motor+Speed+Controller+10-50V+60A+High+Power+HHO+RC+Driver+PWM+Controller+Module+12V+24V+48V+3000W+Extension+Cord+with+Switch&qid=1606627633&sr=8-1
would be complete if you showed it in reverse direction, is that possible?
@robojax
2 жыл бұрын
Perhaps you skipped the video where I mentioned that is is only for one direction
Hi could you tell me why i blew all the mosfets
@robojax
4 жыл бұрын
by connecting the either the polarity at input or you reversed INPUT, OUTPUT.
@mrscooteria
4 жыл бұрын
No it was working fine then under load it just wouldnt regulate speed it was full speed all along. Checked mosfets and they are blown
55v 60amp load
Hello sir is it possible to control this controller via a remote control reciever which send pwm signal .
@robojax
3 жыл бұрын
yes absolutely if you use RC receiver or any other means. Just feed the output from your receiver to this.