User manual

3
5
18t
h
Da
y
In the Advent calendar today
•1x jumper cable
RGB-running ligh
t
This App controls the
ashin
g
duration o
f
an RGB-LED. The LED
will
ash in alternating colours. You can also stop its
ashin
g
again
.
C
omponents: 1x board, 1xRGB-LED with dropping resistor,
1xjumper cable
T
h
e S
k
etc
h
The program
f
or this day is Tag18.in
o
and located in directory
T
ag1
8
.
Th
e
S
k
etc
h r
eacts
to
t
h
e
te
x
t
st
o
p
a
n
d
to
a
set
n
u
m
be
r.
st
o
p
will switch o
ff
the RGB-LED. I
f
a number is received, it
will be used as the waiting time between switching one o
f
the
t
hr
ee
LED
s
of
t
h
e
R
G
B-LED
o
n
o
r
off
:
if
(
Zeichen == ‚\n‘
)
{
Serial.println
(
Text
)
;
if (Text.startsWith(“stop”))
{
aus
();
bl
i
nkDauer = 0
;
}
e
l
se
{
blinkDauer = leseBlinkdauer
(
Text
);
}
T
h
e A
pp
The A
pp
RGB_Lau icht.ai
a
has a slider and two buttons for switching the fl ash on and off
.
T
he
co
mm
a
n
d
B
luetooth.Se
n
d
T
e
x
t
that is already
f
amiliar sends the waiting time or the
te
x
t
s
t
o
p
vi
a
t
h
e
wir
e
l
ess
in
te
r
face.
The waitin
g
time is not separatel
y
coded but onl
y
the value of the slider is sent, followed b
y
a fi nal
\
n
.
T
h
e integrate
d
d
ropping resistors ma
k
e t
h
e circuit very compact
.
The minimum value of the slider is 0 and its maximum value
is 2000. T
h
e va
l
ues represent t
h
e waiting time in mi
ll
isec
-
onds.
18. Da
y
15007-3 Conrad Adventskalender Internet of Things 2017_en.indd 3515007-3 Conrad Adventskalender Internet of Things 2017_en.indd 35 13.08.2017 17:03:1713.08.2017 17:03:17