Bourns ACE-128 Absolute Contacting Encoder - 128 positions - I2C interface - Arduino and Raspberry Pi supportDesigned by Red Hunter in United States of America
Notes: if you want this with Sparkfun QWIIC compatible connectors click here if you want to connect this to the Grove system, note in the order whether you want straight or sideways Grove connect...Read More…
A digital control knob providing 128 unique results evenly spaced around a full circle. It is designed as a control panel knob and includes a nut and washer, but can be adopted for other uses. The module communicates via the I2C bus with choice of 16 addresses available.
This is an alternative to using a potentiometer and analog pin, allowing full-turn and multi-turn operation, and is not impacted by temperature variations.
The software includes optional automatic saving of logical zero and multi-turn offsets so that the system will automatically remember these settings after power down or reset.
It differs from the more common incremental rotary encoder which has only two or four values in a rotation and is designed to measure full rotations and direction. This measures angles.
Until now, the choice of an absolute encoder meant an expensive, and larger sized product. Through the use of combinatorial mathematics, the absolute code pattern of the Bourns® Absolute Contacting Encoder (ACE™) is placed on a single track for a very economical, energy efficient and compact product. Bourns® ACE™ provides an absolute digital output that will also retain its last position in the event of a power failure. An intelligent alternative to incremental encoders and potentiometers, the Bourns® ACE™ is ideally suited for many industrial, automotive, medical and consumer product applications.
The product listed here combines this sensor with an I2C backpack and library so multiple of these little wonders can be included in your next Arduino or Raspberry Pi project.
NEW: Backpack only is available as an option. In case you already have the encoder itself.
NEW: Units with integrated I2C EEPROM are now available.
You may prefer this to using a potentiometer and analog pin on Arduino in applications where:
You may prefer this to using a rotary encoder where:
The module includes:
The software includes
The following options are available:
The original prototypes were made for a head-following mechanism for my Dalek dome and eye, using hand-made pcbs.
Two were used to convert wiper motors into high powered servos
A third was used to detect the operator's head rotation in a motion control headset
To support the ACE128 I wrote an arduino library to handle the I2C communications and gray code translation. The device itself generates gray code which has to be converted to normal numbers before use, and that takes some binary math - especially if you connect the pins in a different order from the datasheet. This has now been ported to Python for the Raspberry Pi
My hobby is progressing to manufactured PCBs and SMD soldering, so I pulled this design out and made some up. The current units are made with lead-free solder using a steel stencil and Controleo2 derived reflow oven. Each unit is individually tested.
The ACE-128 is the smallest and cheapest absolute encoder available today. It uses some really ingenious mathematics in its design. This library and package are a unique solution for easily including precise digital knobs into Arduino and Raspberry Pi projects.
By default Arduinos with AVR controllers e.g. Arduino Uno will use the internal EEPROM. SAMD21 controllers e.g. Arduino MKR do not have state storage available by default as they do not have internal EEPROM. An I2C EEPROM can be used on either type by enabling it with a flag in the library.
Raspberry Pi saves to disk - I2C EEPROM support coming soon.
If using I2C EEPROM you only need one EEPROM per project, not one per module. If you already have an I2C EEPROM in your project you can use that, likewise you can use the chip in the encoder module to store other data, not just the module state. Storage uses 3 bytes per module, and there are 2048 bytes available in the optional EEPROM chip.
|Shipping Rate||Ships From||First item||Additional items|
United States Postal Service: First-Class Mail® Parcel
United States Postal Service: Priority Mail
Michael | Nov. 21, 2019
We recognize our top users by making them a Tindarian. Tindarians have access to secret & unreleased features.
We look for the most active & best members of the Tindie community, and invite them to join. There isn't a selection process or form to fill out. The only way to become a Tindarian is by being a nice & active member of the Tindie community!