MIKROE-2380

MIKROE-2380 Datasheet


From MikroElektonika Documentation

Part Datasheet
MIKROE-2380 MIKROE-2380 MIKROE-2380 (pdf)
PDF Datasheet Preview
ROTARY click

From MikroElektonika Documentation

Rotary click carries a 15-pulse incremental rotary encoder with detents, surrounded by a ring of 16 orange LEDs. The board is available in five different LED colors red, green, blue, yellow and orange.

Features and usage notes

Rotary click

Rotary click with its LED ring is a perfect solution for implementing an input knob into your design in contrast to a potentiometer, a rotary encoder can be spun round continuously . A single rotation is divided into 15 discrete steps. The encoder outputs A and B signals out of phase to each other . The knob is also a push-button outputted through the interrupt line. The LED ring are controlled through the SPI interface.

Schematic also available in PDF

In addition to the SPI lines CS, SCK, MISO, MOSI , Rotary clicks have three additional lines for outputting the Encoder info ENCB OUT, ENCA OUT and SW in place of the standard AN, RST and INT pins, respectively .

All Rotary click boards can be used with either a 3.3V or 5V power supply. The configuration is set up with an onboard jumper zero ohm resistor . By default, it’s set to 3.3V

Programming

The following code snippet demonstrates the write procedure of Rotary click.
1 void HC595_Write int value
char first_byte, second_byte;
second_byte = value;
value = value >> 8;
first_byte = value;

SPI1_write first_byte ;

SPI1_write second_byte ;

HC595_cs = 0;

HC595_cs = 1;

Rotary click

IC/Module [Rotary encoder surrounded by ring of LEDs]

Interface SPI, ENCA, ENCB

Power supply
3.3V, 5V

Website

Code examples that demonstrate the usage of Rotary click with MikroElektronika hardware, written for mikroC for ARM, AVR, dsPIC, FT90x, PIC and PIC32 are available on Libstock

Resources
- Rotary click Libstock example - mikroBUS standard specifications - LEDs and bit shifting a shift register tutorial
9/15/2016
More datasheets: NM93C46EM8 | NM93C46EN | NM93C46M8 | NM93C46M8X | DSEI2X61-10P | SLFL-IX-WHT/GRN | V125 | APTGF50H60T1G | AXH003A0X | AXH003A0X4


Notice: we do not provide any warranties that information, datasheets, application notes, circuit diagrams, or software stored on this website are up-to-date or error free. The archived MIKROE-2380 Datasheet file may be downloaded here without warranties.

Datasheet ID: MIKROE-2380 649483