arduino esc speed control with button
Budget: $10 – $30 USD
Hi
I need an arduino code for a little project I'm working on.
It involves a brushless motor, an esc and a momentary switch.
The plan is:
When I push and hold the button the motor starts to spin at low speed(30%) until i hold the button or when the button is released for less than 1 second and pushed and held again than the motor speed goes up to mid speed(70%) same thing for the high speed (100%). After high speed is reached then no speed changes with the "less than 1 second release". When the button is released for more than 1 second at any speeds than the motor stops. When it stops the routine starts over from low speed. Basically 3 speeds.
Thanks for you help
I need an arduino code for a little project I'm working on.
It involves a brushless motor, an esc and a momentary switch.
The plan is:
When I push and hold the button the motor starts to spin at low speed(30%) until i hold the button or when the button is released for less than 1 second and pushed and held again than the motor speed goes up to mid speed(70%) same thing for the high speed (100%). After high speed is reached then no speed changes with the "less than 1 second release". When the button is released for more than 1 second at any speeds than the motor stops. When it stops the routine starts over from low speed. Basically 3 speeds.
Thanks for you help