Shop OBEX P1 Docs P2 Docs Learn Events
Rotary Encoder HELP — Parallax Forums

Rotary Encoder HELP

Richard0327Richard0327 Posts: 2
edited 2012-09-19 11:30 in Propeller 1
I am looking for a fast rotary encoder OBJ. I have been unsuccessful in my attemps to write one in Spin that will work accuritly at the speed I need. I believe it needs to be writtin in Assembly for the speed and I do not have the skill to do that yet. Here are my needs. I have an Accu-Coder (Encoder Products Co.) P#7160-0120-S-S-6-D-S-N. This is a rotory encoder with 120 pulses per line A and B output making it a quadriture type 480 count. I will need to know the direction (CW/CCW), the count value and for that value to be resettable to zero dynamically with out loosing any accuracy during that reset. For instance: If I wanted to reset the counter at 176 back to 0 or 893 back to 0. Also a triger pulse consisting of 1 pulse for 1 rotation 480 Count. So in short 3 output values and 1 input value. I would like this running in 1 cog. The running speed for the encoder is MAX 600 RPM = 10 RPS * 480 Pulses = 4800 Hz ro 4.8 KHz. Propeller is running at 80MHz. I could consider this for compensation.

Comments

Sign In or Register to comment.