Speed control using pushbutons
Speed control using pushbutons
Hi all
Im working on a small project where I need to control speed and direction of one motor from keypad , I can't figure out how to program the arduino so it will change speed in ForwardM1 or BackwardM1,
in other words I want to have one button for speed up and one button to slow down , all I could find on the internet is how to control speed with potentiometers or PWM , but not with keypads , can someone point me in right direction .
any help would be much appreciated.
cheers
Im working on a small project where I need to control speed and direction of one motor from keypad , I can't figure out how to program the arduino so it will change speed in ForwardM1 or BackwardM1,
in other words I want to have one button for speed up and one button to slow down , all I could find on the internet is how to control speed with potentiometers or PWM , but not with keypads , can someone point me in right direction .
any help would be much appreciated.
cheers
- Basicmicro Support
- Posts: 1594
- Joined: Thu Feb 26, 2015 9:45 pm
Re: Speed control using pushbutons
I recommend you post a question in the Arduino forums on how to use a keypad with an Arduino. This really doesnt have anything to do with the Roboclaw until you are the point you can read the keypad, at which point you already know how to use the Roboclaw ForwardM1 and BackwardM1 commands. I recommend you give specific information on the type of keypad you have. If you post what you posted here in their forum I doubt anyone will help you(no details and no apparent attempt on your part to get it working). I'd also leave what you will be using the keyboard for out of it as well. Based on your post your problem isnt Roboclaw related, it is instead keypad related.
-
- Posts: 9
- Joined: Mon Oct 16, 2017 5:03 pm
Re: Speed control using pushbutons
I am also using a keypad to start stop the motors.
Here is a really good article on it.
http://www.circuitbasics.com/how-to-set ... n-arduino/
Here is a really good article on it.
http://www.circuitbasics.com/how-to-set ... n-arduino/
Re: Speed control using pushbutons
Thanks for that, can you speed up and slow down the motor using this keypad?laptophead wrote:I am also using a keypad to start stop the motors.
Here is a really good article on it.
http://www.circuitbasics.com/how-to-set ... n-arduino/