Fiche technique pour ROTARY B click™ Manual de MikroElektronika

2 3
ROTARY B click manual
ver 1.00
0100000076347
click
BOARD
www.mikroe.com
2. Soldering the headers
1. Introduction
3. Plugging the board in
Once you have soldered the headers your
board is ready to be placed into the desired
mikroBUS socket. Make sure to align the cut
in the lower-right part of the board with the
markings on the silkscreen at the mikroBUS
socket. If all the pins are aligned
correctly, push the board all
the way into the socket.
Turn the board upward again. Make sure
to align the headers so that they are
perpendicular to the board, then solder the
pins carefully.
Turn the board upside down so that
the bottom side is facing you upwards.
Place shorter pins of the header into the
appropriate soldering pads.
Before using your click board, make sure
to solder 1x8 male headers to both left and
right side of the board. Two 1x8 male headers
are included with the board in the package.
4. Essential features
Rotary B 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.
1
Rotary B click carries a 15-pulse incremen-
tal rotary encoder with detents, surrounded
by a ring of 16 blue LEDs. It communicates
with the target board through mikroBUS
SPI lines (CS, SCK, MISO, MOSI), and three
additional lines for outputting the Encoder
info: ENCB OUT, ENCA OUT and SW (in place
of the standard AN, RST and INT pins, re-
spectively). Rotary B click can be used with
either a 3.3V or 5V power supply.
ROTARY B click
PWR‘_SEL. lull. \ V Vunsmcx gxaxglemglmai m E OTARV a all Ewargwmw 9‘ {a MikroEleklronika DEVELOPMENTTOOLS I COMP‘LERS I BOOKS
5. Schematic
9. Support
8. Code examples
MikroElektronika offers free tech support
(www.mikroe.com/support) until the end of
the product’s lifetime, so if something goes
wrong, we’re ready and willing to help!
Once you have done all the necessary
preparations, it’s time to get your click board
up and running. We have provided examples
for mikroC, mikroBasic and mikroPascal
compilers on our Libstock website. Just
download them and you are ready to start.
7. SMD jumper
.com
6. Dimensions
MikroElektronika assumes no responsibility
or liability for any errors or inaccuracies
that may appear in the present document.
Specification and information contained in
the present schematic are subject to change
at any time without notice.
Copyright © 2015 MikroElektronika.
All rights reserved.
25.4 mm 1000 mils
57.15 mm 2250 mils
mm mils
LENGTH 57.15 2250
WIDTH 25.4 1000
HEIGHT 20 787
VCC
PWR
R17
2K2 C1
100nF
C2
100nF
VCC VCC
VCC 3.3V
ENCA_OUT ENCB_OUT
ENC_A ENC_B
R25
10K
1
2
3
PWR SEL.
R24
10K
VCC 5V
C3
100nF
C6
100nF
VCC 5V
C5
100nF
VCC 5V VCC 5V
VCC 5V
1
2
3
5
4
6
VccA
GND
A B
DIR
VccB
U5
74LVC1T45
1
2
3
5
4
6
VccA
GND
A B
DIR
VccB
U4
74LVC1T45
C4
100nF
VCC
AN
RST
CS
SCK
MOSI
MISO
+3.3V
GND
PWM
INT
RX
TX
SCL
SDA
+5V
GND
MIKROBUS DEVICE CONN.
SCK
SDO
SDI
LED01
LED02
LED03
LED04 LED09
LED10
LED11
LED12
LED01
LED02
LED03
LED04
LED05
LED07
LED08
LED09
LED10
LED12
LED13
LED14
LED15
LED16
SDO
SDI
LED11
LED06
SCK
R15
220
LED16
LED15
LED13
LED14
LED08
LED07
LED05
LED06
1 LED
2 LED
3 LED
4 LED
5
LED
6
LED
7
LED
8
LED
9LED
10LED
11LED
12LED
13
LED
14
LED
15
LED
16
LED
R16
220
R1
220
R2
220
R3
220
R4
220
R5
220
R6
220
R7
220
R8
220
R9
220
R10
220
R11
220
R12
220
R13
220
R14
220
SCK
VCC
VCC 16
Q1
1
Q2
2
Q3
3
Q4
4
Q5
5
Q6
6
Q7
7
GND
8Q7S 9
MR 10
SHCP 11
STCP 12
OE 13
DS 14
Q0 15
74HC595
U3
74HC595
VCC 16
Q1
1
Q2
2
Q3
3
Q4
4
Q5
5
Q6
6
Q7
7
GND
8Q7S 9
MR 10
SHCP 11
STCP 12
OE 13
DS 14
Q0 15
74HC595
U2
74HC595
RST
R18
4K7
RST
RST
ENCA_OUTENCB_OUT
VCC 5V
ENC_B
ENC_A
C7
10nF
C8
10nF
R21
22K
R20
22K
VCC 5V
R22
0R
R23
0R
A
1
B
3
E
2
D4
C5
U1
EC12D
SW
VCC VCC 3.3V VCC 5V
SW
VCC
LATCH
LATCH
LATCH
R19
4K7
There is one
zero-ohm
SMD jumper
J1 used to
select whether
3.3V or 5V I/O
voltage level is used. Jumper J1 is soldered in
3.3V position by default.
* without headers