I need help ! I am new to PIC + dsPICS
I am working on controlling a dc(150V) motor with a dsPIC.
I am using an absolute encoder for my position input and wish to control the motor with PWM.
The encoder is a 12bit position grey input.
How is it that I can contol the motor with the absolute encoder's input to vary the duty cycle of the PWM.
-----> can somebody provide me to some link that can help me .
I am working on controlling a dc(150V) motor with a dsPIC.
I am using an absolute encoder for my position input and wish to control the motor with PWM.
The encoder is a 12bit position grey input.
How is it that I can contol the motor with the absolute encoder's input to vary the duty cycle of the PWM.
-----> can somebody provide me to some link that can help me .