Digistump Forums

The Digispark => Digispark Pro Support => Topic started by: tcurdt on January 09, 2015, 01:02:44 pm

Title: Bluetooth LE contacts
Post by: tcurdt on January 09, 2015, 01:02:44 pm
Hey there,

I am using the DP with the Bluetooth LE shield.

Is it correct that only RX, TX, GND and VCC of the Bluetooth module need to be connected for the shield to work?

I want to use a custom PCB and may as well get rid of bluetooth breakout board then.

What is the BRK and STATE for?

cheers,
Torsten
Title: Re: Bluetooth LE contacts
Post by: digistump on January 09, 2015, 07:12:50 pm
yes this is correct only those are needed - the other two pins are not connected by default though the shield has solder jumpers on the back to connect them:

the other pins do the following based on the datasheet:

BRK is KEY
STATE is LED

System KEY function (PIO0)
Press if Low > 1000ms:
7.3.1 If Module is in sleep mode
Module will wake up immediately, if AT+NOTI value is “1”, module will
send “OK+WAKE” string through UART.
7.3.2 If Module has already connected to remote device
Module will disconnect from remote device.
7.3.3 If Module is standby mode
Module will reset to default configuration. Then restart.
System LED function (PIO1)
In sleep mode, LED has turned off.
If AT+PIO10 is setup
Unconnected status: Output High 500 ms, Low 500 ms
Connected status: Output High
If AT+PIO11 is setup
Unconnected status: Output Low.
Connected status: Output High.