Translation missing: en.general.accessibility.skip_to_content

I2C Encoder Mini

by Duppa
SKU 3792
2 reviews
Sold out
£2.99 inc VAT
£2.49 ex VAT

The I2C Encoder Mini is a small board that allows you to use a rotary encoder with an I2C bus. This can be useful in case you have few GPIOs because the 3 pins allow you to control up to 127 devices. The I2C Encoder Mini will count and store every movement of the encoder, so no need to check the rotary encoder in real-time, the I2C Encoder Mini will do it!

This new version is powered by the ATtiny 402. It has a similar feature to big brother, but it supports only the mechanical encoder (no RGB) and there are no GP pins. The I2C Encoder Mini has pre-soldered the pull-up resistor on the I2C bus. This can be enabled by soldering a jumper.

  • I2C bus working up to 400kHz
  • Possibility to customize the I2C address with the I2C bus
  • It supports the standard rotary encoder
  • Open-drain Interrupt output pin, so no need to continuously poll the devices
  • 5 pin header 2.54mm pitch on the left and right side, also the JST-XH fit
  • 127byte of internal EEPROM
  • Voltage range is 3.3V to 5V
  • Maximum A/B signal frequency: 100Hz (Tested)
  • Dimension of 23x19mm or 0.9×0.74in
  • Open source project

There are 4 32bit signed int registers:

  • CVAL: Current value of the Encoder. This value changes every time the encoder rotates.
  • CMAX: Maximum value that CVAL can reach
  • CMIN: Minimum value that CVAL can reach
  • ISTEP: How much the CVAL has to increment at each and every encoder step.
Address Range Name Description Dimensions Default Value
0x00 GCONF General Configuration 1 Byte 0
0x01 INTCONF INT Pin Configuration 1 Byte 0
0x02 ESTATUS Encoder Status 1 Byte 0
0x03 - 0x06 CVAL Counter Value 4 Byte 0
0x07 - 0x0A CMAX Counter Max Value 4 Byte 0
0x0B - 0x0E CMIN Counter Min Value 4 Byte 0
0x0F - 0x12 ISTEP Increment Step Value 4 Byte 0
0x13 DPPERIOD Double Push Period 1 Byte 0
0x70 IDCODE Unique Number of the Device 1 Byte 0x39
0x71 VERSION HW and FW Version 1 Byte 0x10
0x72 I2CADDRESS Set a Custom I2C Address 1 Byte 0
0x81 - 0xFF EEPROM EEPROM Memory 127 Byte 0