Using Keypad to Control the Speed and Direction of DC Motor – electroSome https://electrosome.com/topic/keypad-control-speed-direction-dc-motor/feed/ Sat, 18 Mar 2023 04:53:01 +0000 https://bbpress.org/?v=2.6.9 en-US https://electrosome.com/topic/keypad-control-speed-direction-dc-motor/#post-13542 <![CDATA[Using Keypad to Control the Speed and Direction of DC Motor]]> https://electrosome.com/topic/keypad-control-speed-direction-dc-motor/#post-13542 Wed, 15 Mar 2017 04:26:21 +0000 hammed Hi,

I’m presently working on a project based on tutorials Interfacing DC Motor with PIC Microcontroller and DC Motor Speed Control using PWM. I need some help to modify the code so that a keypad can control both the speed and direction of the DC Motor. Thanks for always helping.

Hammed.

]]>
https://electrosome.com/topic/keypad-control-speed-direction-dc-motor/#post-13585 <![CDATA[Reply To: Using Keypad to Control the Speed and Direction of DC Motor]]> https://electrosome.com/topic/keypad-control-speed-direction-dc-motor/#post-13585 Sun, 02 Apr 2017 15:44:29 +0000 Ligo George You can follow the tutorial, Interfacing Keypad with PIC Microcontroller. I think you will be using an LCD also in this project. If so you can display a menu in the LCD. Based on the menu you can select the direction of motor rotation. You can create one menu to adjust the speed or duty cycle of the PWM. Enter the value of duty cycle (0 ~ 100%) using the keypad.

]]>