Using Keypad to Control the Speed and Direction of DC Motor

Home Forums Microcontrollers PIC Microcontroller Using Keypad to Control the Speed and Direction of DC Motor

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #13542
    hammed
    Participant

    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.

    #13585
    Ligo George
    Keymaster

    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.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
>