Motor Position Sensor

Status
Not open for further replies.

lake_of_fire

Newbie level 5
Joined
Feb 8, 2012
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,342
Hi

I need to be able to count the pulses from an optical encoder connected to a quadrature clock converter that is then connected to a PIC18,

I was going to count the pulses using timer0, is there a way to count down these pulses when the motor direction is reversed so that motor position can be monitored

The converter i plan to use is an LM7184 which provides pulses and a digital up/down line.

Thanks for any advice
 

Hello lake of fire !
how can i help you ? what is your problem ?
Best Wishes
Goldsmith
 

Hi I would like to know if I can use the time0 to count pulses up and down?

Alternatively I could use the grey code sequence to increment and decrement a counter
 
Last edited:

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…