Page 1 of 1

Speed control using pushbutons

Posted: Sun Oct 01, 2017 8:31 pm
by Marko
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

Re: Speed control using pushbutons

Posted: Mon Oct 09, 2017 10:07 am
by Basicmicro Support
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.

Re: Speed control using pushbutons

Posted: Mon Oct 16, 2017 5:33 pm
by laptophead
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/

Re: Speed control using pushbutons

Posted: Sat Nov 25, 2017 12:42 am
by Marko
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/
Thanks for that, can you speed up and slow down the motor using this keypad?