This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

control a DC Motor using MOTOR CONTROL PWM in LPC1768

Hi every one
I suppose to control speed of DC Motor using LPC1768(MOTOR CONTROL PWM).
is it feasible to implement a digital PID controller using 1768? or i must use a more advanced micro controller.
if YES, can you help me with writhing the codes? how can i implement a PID with c codes?
Do you have sample codes for initial setup for Motor Control PWM?

thanks

Parents
  • another question:
    I can't find QEIPOS & QEIVEL registers in MCPWM register list. Does QEIPOS or QEITIME registers works in MCPWM section as it works in QEI sections?
    if not, how can i capture position? is it practical to setup QEI & PWM together in order to use QEIPOS, QEITIME or QEIVEL registers?
    thanks

Reply
  • another question:
    I can't find QEIPOS & QEIVEL registers in MCPWM register list. Does QEIPOS or QEITIME registers works in MCPWM section as it works in QEI sections?
    if not, how can i capture position? is it practical to setup QEI & PWM together in order to use QEIPOS, QEITIME or QEIVEL registers?
    thanks

Children
No data