Rotary encoder board debounce and switch functions explained

Customer:

I’m interested in this Rotary encoder board with easyC, but I’m concerned about debouncing - I need better precision. Also, what are those three small switches on the board for?

Original message (Croatian)

Zanima me jer ovaj vaš “Rotary encoder board with easyC” ima nešto protiv debounca jer mi je potreba bolja preciznost i za sta su ona mala tri prekidaca na toj pločici?

Originally submitted via email support on 15 April 2025. Migrated to the forum for community visibility.

Soldered Support:

Documentation for this product is available at: Rotary Encoder - Overview | Soldered Documentation

The switches serve to select the I2C address, which is shown on the Hardware details page.

The board has hardware debouncing via capacitors C1 and C2, visible in the schematic: Rotary-encoder-board-qwiic-hardware-design/OUTPUTS/V1.1.0/Rotary encoder with easyC Schematics.pdf at main · SolderedElectronics/Rotary-encoder-board-qwiic-hardware-design · GitHub

Original message (Croatian)

nedavno smo objavili dokumentaciju za taj proizvod: Rotary Encoder - Overview | Soldered Documentation

Prekidači služe za biranje I2C adrese, što se može vidjeti na Hardware details stranici.

Proizvod ima hardverski debounce što se može vidjeti na shemi (kondenzatori C1 i C2) Rotary-encoder-board-qwiic-hardware-design/OUTPUTS/V1.1.0/Rotary encoder with easyC Schematics.pdf at main · SolderedElectronics/Rotary-encoder-board-qwiic-hardware-design · GitHub

Customer:

Can the encoder be used with an Arduino UNO R3, and where should I connect the UPDI pin?

Original message (Croatian)

Hvala na objašnjenju.
Samo me još zanima jer se ovaj encoder moze koristiti sa Arduino UNO R3 i gdje spojiti UPDI pin?

Soldered Support:

The Rotary encoder board connects to the main microcontroller via easyC/Qwiic cable. Arduino UNO R3 does not have Qwiic connectors and operates at 5V logic level, so you need an adapter to convert the easyC/Qwiic cable and a logic level converter to translate the Arduino UNO’s 5V logic to the 3.3V logic of the ATTiny:

Adapter: https://soldered.com/product/easyc-cable-with-female-headers/
Logic level converter: Logic Level Converter Board – Soldered Electronics

The UPDI pin on the board is only for programming the ATTiny microcontroller on the board - it is not required for using the encoder.

To use this rotary encoder you need the library:

Original message (Croatian)

nema na čemu! Rotary encoder board se putem easyC/Qwiic kablića spaja na glavni mikroupravljač. Arduino Uno R3 nema te qwiic kabliće i još uz to radi na 5V logic level pa je potrebno koristiti adapter prvo za easyC/qwiic kabel i onda pretvarač logičkih razina kako bi se Arduino UNO 5V logic level pretvorio na 3v3 logic level ATTiny-a:

Adapter: https://soldered.com/product/easyc-cable-with-female-headers/
Logic level converter: Logic Level Converter Board – Soldered Electronics

UPDI pin na pločici služe samo za programiranje attiny mikroupravljača koji se nalazi na pločici taj pin nije potreban za korištenje.

Za korištenje ovog rotary encodera potreban je library:
GitHub - SolderedElectronics/Soldered-Rotary-Encoder-With-easyC-Arduino-Library · GitHub