2. Soldering the headers
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.
1
3
4. What is DALI?
DALI (Digital Addressable Lighting Interface)
is international standard for network based
systems that controls lighting in buildings.
Data between MCU and devices is transferred
over two-wire differential bus by means of
asynchronous, half-duplex, serial protocol.
It is possible to address up to 64 devices in
DALI stand alone systems and more than 64
devices as DALI subsystem (gateways)
DALI
click
1. Introduction
2
Turn the board upside down so that
bottom side is facing you upwards. Place
shorter parts of the header pins in both
soldering pad locations.
Turn the board upward again. Make sure
to align the headers so that they are
perpendicular to the board, then solder the
pins carefully.
DALI Click™ is an add-on board in
mikroBUS
™
form factor. It’s a compact and easy solution
for adding Digital Addressable Lighting
Interface (DALI) to your design. It features two
optocouplers, push button and screw terminals.
DALI Click™ communicates with target board
microcontroller via four
mikroBUS™
lines (RST,
CS, PWM and INT). The board is designed to use
3.3V and 5V power supply. LED diode indicates
the presence of power supply.
3. Plugging the board in
Once you have soldered the headers your
board is ready to be placed into 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 of the pins are
aligned correctly, push the board all
the way into the socket.
click
www.mikroe.com
DALI click Manual
ver. 1.01
BOARD
0 100000 022221
5. DALI Click™ Board Schematic
6. SMD Jumpers
Target board microcontroller can receive a
signal from DALI peripherals via interrupt pin
(INT) or input capture pin (PWM). Jumper
J1
enables you to choose between these two
ways.
J1
is soldered in the INT position by
default. There is one zero-ohm SMD jumper
DALI
C1
220pF
R4
100
Vdali
R2
10K
U1
R5
6K8
TLP181
D1
BZX84C005.1
VCC
R3
1K2
VCC
R1
1K0
+3V3
+5V
ICP
INT
ICP
DALI_RX
INT
J1
10uF
LD1
YELLOW
J2
which is used to select between 3.3V or
5V power supply. Jumper
J2
is soldered in the
3.3V position by default.
VCC
+3V3
DALI_TX
DALI_TX
PHY_SEL
M1
BSP318S
R7
10K
C2
10nF
E1
AN
RST
CS
SCK
MISO
MOSI
+3.3V
GND
PWM
INT
TX
RX
SCL
SDA
+5V
GND
R6
2K2 +5V
J2
7. Code Examples
Once you have done all the necessary
preparations, it’s time to get your click
board up and running. We have provided
the examples for mikroC, mikroBasic and
mikroPascal compilers on our
Libstock
website. Just download them and you are
ready to start.
DALI_GND
Vdali
VCC
R10
10K
U2
DALI_RX
MIKROBUS DEVICE CONN.
LD2
GREEN
R8
68K
R9
4K7
DALI
D2
R11
R12
10K
390
Q1
BC846
Vdali
D3
BZX84C22
R15
1K
T1
DALI_GND
R16
10K
PHY_SEL
C3
R14
270K
DALI
4
G1
MB2S
C4
100nF
E2
Q3
BC846
VCC
2
1
BAW56
R13
100K
47uF/25V
100pF
Q2
BC856
TLP181
CN2
3
.com
8. Support
MikroElektronika offers
Free Tech Support
(www.mikroe.com/esupport)
until the
end of product lifetime, so if something goes
wrong, we are ready and willing to help!
DALI
DALI_GND
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 © 2012 MikroElektronika. All rights reserved.