Using the Bourns ACE Encoder with a PIC

Bourns(tm) have introduced an absolute position input device. The Absolute Contacting Encoder (ACE-128) provides 128 angular positions, emitted as an 8 bit grey-code output, that can be linked directly into a Microcontroller. Bourns give more info. for those interested
A summary of the Full Spec.:-

Electrical Characteristics
Output 8-bit gray code with 128 absolute states, Closed Circuit Resistance 5 ohms maximum, Open Circuit Resistance 100K ohms minimum, Contact Rating 10 milliamp @ 10 VDC or 0.1 watt maximum, Electrical Travel Continuous, Contact Bounce (60 RPM) 2.7 milliseconds maximum, RPM (Operating) 120 maximum

Mechanical Characteristics
Mechanical Angle Continuous, Weight Approximately 0.50 oz., Torque 0.75 to 2.50 oz-in., Mounting Torque 7 in-lbs. maximum, Shaft Side Load (Static) 10 lbs. minimum (what's all that in metric??)


Bourns(tm) tell you to just use a 256 byte look-up table to convert the grey-code of the encoder to a position number (0-127 clockwise).

PICMy copy of the look-up table for the PIC for those who have wads of code space spare.

Where the prospect of devoting up to half your PIC's code memory to the look-up table causes a heart attack, try one of my shorter conversion routines:-

Not got that many bytes left? Try Got even less bytes left? Try Not even got that... oh dear.. Try
Hardware:-

Need to reduce the number of pins - use a 74HC597 to convert the bourns encoder to serial, requiring 2 or 3 pins instead of 8 pins. Bourns is planning a parallel to serial converter IC; we'll just have to wait to see if its cheaper than a 74HC597.


Back to microcontroller projects Last Updated by Steve Lawther on Saturday, 1 March, 1997 at 11:04 PM.