Product Description

I2CEncoder V2.1 Connect multiple encoder on I2C bus

This project has been successfully founded on KickStarter!

Check out also the MickMake and EEVblog videos!

What is it?

This is an upgraded version of our previous project I2C Encoder V2

Difference between the V2 and the V2.1:

Hardware changes:

  • Added the jumper SJ8 for enable the pull-up resistor in the I2C bus.
  • R1 and R2 are already soldered on the board with a 0402 footprint.
  • Changed the value of R3 and R4 with 42.2
  • Changed the value of R5 with 107

Firmware changes:

  • Added the gamma correction feature.
  • Added the unique code and the version registers.
  • Added the possibility to enable/disable the I2C clock stretch.
  • Added and extra delay after the detection of the double-push.
  • Added the possibility to count absolute or relative steps
  • Decreased of the 33% the power consumption.
  • Changed the default value of ISTEP from 1 to 0.

Features

  • I2C bus working up to 400kHz
  • Possibility to customize the I2C address by soldering the 7 SMD jumpers
  • It supports the standard rotary encoder and the RGB encoder
  • Support gamma correction for the LEDs
  • Support automatic fading
  • Open-drain Interrupt output pin, so no need to continuously poll the devices
  • With the castellated holes it is possible to connect several boards on the 4 sides
  • 5 pin header 2.54mm pitch on the left and right side, also the JST-XH fit
  • 3 General Purpose pins. (GP pins)
  • 256byte of internal EEPROM divided into 2 banks of 128 byte
  • Voltage range is 3.3V to 5V
  • Maximum A/B signal frequency: 100Hz (Tested)
  • Dimension of 25x25mm or 0.98x0.98in
  • Open source firmware

Details

This new version is powered by the PIC16F18345. Respect to the MCU on the first version, it has more GPIO and the EEPROM memory. The new design of the board support both the standard encoders and the illuminated RGB encoders. Moreover, there are the castellated holes on all the 4 sides of the board, in this way will be possible to connect multiple boards by soldering them like a matrix.

The I2C Encoder V2 have also pre-soldered the pull-up resistor on the I2C bus. The can be enabled by soldering a jumper.

The I2C Encoder V2 can be used in two different scenarios:

  • With a standard rotary encoder. Plus you can add an external RGB LED, or you can use the 3 GPIOs
  • With an illuminated RGB rotary encoder. Plus you can use 2 GPIOs.

Reading the encoder is a very easy task.

There are 4 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.

These 4 registers can be 32bit signed INT, or as float numbers IEEE 754.

LEDs

The I2C Encoder has also the possibility to control LEDs. The LEDs are controlled by an 10bit PWM.

There is also the possibility to enable a gamma correction for the LED color.

GPIOs

There are also 3 configurable GPIOs organized with the same footprint of an RGB LED. They are called GP1, GP2, and GP3. But in case you are using the RGB encoder, the configurable GPIOs are only 2: GP1 and GP2.

Possible configuration:

  • PWM: In this way, you can add an RGB LED
  • Analog: The pins are connected to the internal ADC of the PIC. In this way, you can add sensors or potentiometer according to your project needs
  • Output: You can use the pins as standard digital output
  • Input: You can use the pins as standard digital input. Plus you can configure also the interrupt on the edges

Documentation:

Package includes:

1 I2C Encoder V2.1 board fully programmed (without encoder, connector and LED)

 

https://www.tindie.com/products/saimon/i2cencoder-v2-connect-multiple-encoder-on-i2c-bus/

  • Comments(0)
You can only upload 1 files in total. Each file cannot exceed 2MB. Supports JPG, JPEG, GIF, PNG, BMP
    View More

    You might like

    • Sipeed Longan Nano
      700 Beans or US $7.00
      BUY NOW
    • Sipeed Lichee Nano
      700 Beans or US $7.00
      BUY NOW
    • Sipeed MAix BiT for RISC-V AI+IoT
      1300 Beans or US $13.00
      BUY NOW
    • TTGO T-Display ESP32 WiFi and Bluetooth Module Development Board For Arduino 1.14 Inch LCD
      800 Beans or US $8.00
      BUY NOW
    • TTGO T-BeamV1.0ESP32LoRa 868Mhz WiFi GPS NEO-6M18650
      3000 Beans or US $30.00
      BUY NOW
    • 4 ports Isolated USB - UART Converter
      3300 Beans or US $33.00
      BUY NOW
    • UFO Alien-I CAN SODLER KIT 2019 SILVER AWARD
      700 Beans or US $7.00
      BUY NOW
    • TTGO T-Camera ESP32 WROVER & PSRAM Camera Module ESP32-WROVER-B OV2640 Camera Module 0.96 OLED(Fish-eye Lens)
      1800 Beans or US $18.00
      BUY NOW
    • Solar Powered WiFi Weather Station V2.0
      3000 Beans or US $30.00
      BUY NOW
    • Debug Board USB to RS232 Isolated Serial Converter
      1200 Beans or US $12.00
      BUY NOW
    • I2C NavKey: 7 functions joypad on the I2C bus
      1800 Beans or US $18.00
      BUY NOW
    • PogoProg Model B Pogo Pin Programmer - 2 Pack
      700 Beans or US $7.00
      BUY NOW
    • hackaBLE - tiny nRF52832 BLE development board
      1700 Beans or US $17.00
      BUY NOW
    • Bumpy blackmagic probe compatible SWD debugger
      1200 Beans or US $12.00
      BUY NOW
    • Flashlight-I CAN SOLDER KIT 2019 GOLD AWARD
      500 Beans or US $5.00
      BUY NOW
    • Illuminated RGB Encoder
      600 Beans or US $6.00
      BUY NOW
    • I2CEncoder V2.1 Connect multiple encoder on I2C bus
      700 Beans or US $7.00
      BUY NOW
    • Papyr - Nordic nRF52840 epaper display
      3900 Beans or US $39.00
      BUY NOW
    • Arduinoflake Soldering Kit
      2500 Beans or US $25.00
      BUY NOW
    • Deauth Detector V3
      1000 Beans or US $10.00
      BUY NOW
    • Deauther MiNi V2
      1200 Beans or US $12.00
      BUY NOW
    • WiFi Deauther MonsterV3
      3000 Beans or US $30.00
      BUY NOW
    • WiFi Deauther OLED V5
      2500 Beans or US $25.00
      BUY NOW
    • TinyFPGA BX
      3400 Beans or US $34.00
      BUY NOW
    • TinyFPGA AX2
      1600 Beans or US $16.00
      BUY NOW
    • TinyFPGA AX1
      1000 Beans or US $10.00
      BUY NOW
    • TinyFPGA Programmer
      800 Beans or US $8.00
      BUY NOW
    • EspoTek Labrador (Oscilloscope, Signal Gen + More)
      2900 Beans or US $29.00
      BUY NOW
    Product Name
    Link for reference
    Quantity