Hi everyone, i am using a water pump with relatively high power water pump(12V, 1-1.5A)with brushless motor, i try to use arduino and a relay to control the water pump on/off, and otherwise, i also want to control the speed by generating a PWM signal from arduino,this pump have red wire(+),black wire(GND),white wire(speed regulation) and yellow wire(speed feedback).
I want to ensure the safety of the circuit and at the same time, I can safely connect the white wire to the arduino and use the arduino to output the pwm signal to control the speed of the water pump. Do you know how to connect it?
The circuit connection diagram below is my test of another water pump. This is a simple water pump without a speed regulating wire.
I'm re-posting your question so that it is readable. Do not use code tags except when posting code or error messages.
Hi everyone, i am using a water pump with relatively high power water pump(12V, 1-1.5A)with brushless motor, i try to use arduino and a relay to control the water pump on/off, and otherwise, i also want to control the speed by generating a PWM signal from arduino,this pump have red wire(+),black wire(GND),white wire(speed regulation) and yellow wire(speed feedback).
I want to ensure the safety of the circuit and at the same time, I can safely connect the white wire to the arduino and use the arduino to output the pwm signal to control the speed of the water pump. Do you know how to connect it?
The circuit connection diagram below is my test of another water pump. This is a simple water pump without a speed regulating wire.
To control this pump, you will not need a relay. You will need to have a common ground between the power supply for the pump and the Uno.
The blue wire can be connected directly to an Uno PWM pin.
The PWM signal should have a frequency of 10KHz to 30KHz. The PWM signals from Uno are approximately 0.5KHz or 1KHz, so may not be compatible. It is possible to increase the PWM frequency of some Uno PWM pins to achieve the correct frequency for the pump.
Thank you for your solution! I have not connected them directly due to circuit safety concerns but tried to use relays or drive modules, but i found nothing compatible. I will try it right afterly.
Take a search engine of your choice and ask the WWW for 'motor controller +arduino' to collect some data to be sorted out to get the needed information.
Your two or more topics on the same or similar subject have been merged.
Please do not duplicate your questions as doing so wastes the time and effort of the volunteers trying to help you as they are then answering the same thing in different places.
Please create one topic only for your question and choose the forum category carefully. If you have multiple questions about the same project then please ask your questions in the one topic as the answers to one question provide useful context for the others, and also you won’t have to keep explaining your project repeatedly.
Repeated duplicate posting could result in a temporary or permanent ban from the forum.
Could you take a few moments to Learn How To Use The Forum
It will help you get the best out of the forum in the future.