BT900 Development Kit
Version 0.3
Embedded Wireless Solutions Support Center:
http://ews-support.lairdtech.com
www.lairdtech.com/wireless
20
Laird Technologies
Americas: +1-800-492-2320
Europe: +44-1628-858-940
Hong Kong: +852-2268-6567 x026
6.2.4
Push Buttons and LEDs
Figure 13: Push buttons and LEDs
The two push buttons and two LEDs on the DVK-BT900-V01 are connected to dedicated SIOs of the BT900 module.
Part
SIO
Button 1 (SW1)
SIO_13
Button 2 (SW3)
SIO_20
LED 1 (LED1)
SIO_17
LED 2 (LED2)
SIO_18
If SIO_18 and SIO_19 are needed elsewhere, the LEDs can be disconnected by micro-DIP switch CON15. Physical
micro-DIP switch body has text “ON” on the closed side.
The buttons have external pull-up resistor, so to use the buttons the SIO_13 and SIO_20 pins must be configured as
an input (with internal pull-up resistor enabled or disabled). Refer to the
smart
BASIC application example
“btn.button.led.test.sb” in the
smart
BASIC sample application library on BT900 product pages at:
https://github.com/LairdCP/BT900-Applications
The LEDs are active high, meaning that writing a logical one (“1”) to the output pin illuminates the LED.
One example of when push buttons can be used is when a
smart
BASIC application is written to simulate a generic
data profile. Push buttons can then be pressed to increment or decrement, such as a heart rate.
SIO_18
CON14
DIP SW,SMD/180d
1
2
3
4
5
6
7
8
LED1
LED2
Trim_Pot
Temp_Sens
SIO_21
SIO_20
SIO_17
GND
L
E
D
1
LED1
LED1
Blue,0603
1
2
R23
1K
GND
LE
D
2
R27
1K
LED2
LED2
Blue,0603
1
2
BUTTON1
PIN HEADER,2.0mm 1X2P,
CON7
1
1
2
2
SW1
TACT SW,SMD/180d
1
1
2
2
3
3
4
4
GND
VCC_IO
R67
10K
S
IO
_1
3
R73
150R
C40
0.1uF,16V
GND
GND
C41
0.1uF,16V
SW3
TACT SW,SMD/180d
1
1
2
2
3
3
4
4
R74
150R
PIN HEADER,2.0mm 1X2P,
CON8
1
1
2
2
BUTTON2
GND
S
IO
_2
0
R68
10K
VCC_IO