Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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
 

goldsmith

Advanced Member level 5
Joined
Dec 14, 2010
Messages
3,986
Helped
739
Reputation
1,482
Reaction score
725
Trophy points
1,413
Location
Tehran - IRAN
Activity points
24,529
Hello lake of fire !
how can i help you ? what is your problem ?
Best Wishes
Goldsmith
 

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 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.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top