Adafruit Feather 32u4 Bluefruit LE
Created by lady ada
Last updated on 2018-08-22 03:51:09 PM UTC
Guide Contents
Guide Contents
Overview
Pinouts
Power Pins
Logic pins
Bluefruit LE Module + Indicator LEDs
Other Pins!
Top Side
Bottom Side
SWD Debug Input
Factory Reset
2
9
14
15
15
16
16
16
17
17
17
Assembly
Header Options!
Soldering in Plain Headers
Prepare the header strip:
Add the breakout board:
And Solder!
19
19
22
22
23
23
Soldering on Female Header
Tape In Place
Flip & Tack Solder
And Solder!
25
25
26
27
Power Management
Battery + USB Power
Power supplies
Measuring Battery
ENable pin
Arduino IDE Setup
https://adafruit.github.io/arduino-board-index/package_adafruit_index.json
29
29
30
30
31
32
33
Using with Arduino IDE
Install Drivers (Windows Only)
Blink
Manually bootloading
Ubuntu & Linux Issue Fix
35
36
37
38
39
Installing BLE Library
Install the Adafruit nRF51 BLE Library
Run first example
Uploading to the Feather Bluefruit LE
Uploading to a brand new board/Upload failures
40
40
40
42
43
Run the sketch
AT command testing
Configuration!
Which board do you have?
Bluefruit Micro or Feather 32u4 Bluefruit
© Adafruit Industries
https://learn.adafruit.com/adafruit-feather-32u4-bluefruit-le
44
45
48
48
48
Page 2 of 181
Feather M0 Bluefruit LE
Bluefruit LE SPI Friend
Bluefruit LE UART Friend or Flora BLE
49
49
50
Configure the Pins Used
Common settings:
Software UART
Hardware UART
Mode Pin
SPI Pins
Software SPI Pins
50
51
51
51
51
52
52
Select the Serial Bus
UART Based Boards (Bluefruit LE UART Friend & Flora BLE)
SPI Based Boards (Bluefruit LE SPI Friend)
52
52
53
BLEUart
Opening the Sketch
Configuration
Running the Sketch
HIDKeyboard
Opening the Sketch
Configuration
Running the Sketch
Bonding the HID Keyboard
Android
iOS
OS X
Controller
Opening the Sketch
Configuration
Running the Sketch
Using Bluefruit LE Connect in Controller Mode
Streaming Sensor Data
Control Pad Module
Color Picker Module
HeartRateMonitor
Opening the Sketch
Configuration
If Using Hardware or Software UART
54
54
55
55
60
60
61
61
62
63
64
66
68
68
69
69
70
71
73
74
76
76
77
77
Running the Sketch
nRF Toolbox HRM Example
CoreBluetooth HRM Example
UriBeacon
Opening the Sketch
Configuration
Running the Sketch
© Adafruit Industries
https://learn.adafruit.com/adafruit-feather-32u4-bluefruit-le
78
79
80
82
82
83
83
Page 3 of 181
HALP!
When using the Bluefruit Micro or a Bluefruit LE with Flora/Due/Leonardo/Micro the examples dont run?
I can't seem to "Find" the Bluefruit LE!
85
85
85
AT Commands
Test Command Mode '=?'
Write Command Mode '=xxx'
Execute Mode
Read Command Mode '?'
Standard AT
AT
ATI
ATZ
ATE
+++
General Purpose
AT+FACTORYRESET
AT+DFU
AT+HELP
AT+NVMWRITE
AT+NVMREAD
AT+MODESWITCHEN
Hardware
AT+BAUDRATE
AT+HWADC
AT+HWGETDIETEMP
AT+HWGPIO
AT+HWGPIOMODE
AT+HWI2CSCAN
AT+HWVBAT
AT+HWRANDOM
AT+HWMODELED
AT+UARTFLOW
Beacon
AT+BLEBEACON
AT+BLEURIBEACON
Deprecated: AT+EDDYSTONEENABLE
AT+EDDYSTONEURL
AT+EDDYSTONECONFIGEN
AT+EDDYSTONESERVICEEN
AT+EDDYSTONEBROADCAST
BLE Generic
AT+BLEPOWERLEVEL
© Adafruit Industries
https://learn.adafruit.com/adafruit-feather-32u4-bluefruit-le
87
87
87
87
88
89
89
89
90
90
90
92
92
92
92
93
93
93
95
95
95
96
96
97
97
98
98
98
99
101
101
102
103
104
104
105
105
107
107
Page 4 of 181
AT+BLEGETADDRTYPE
AT+BLEGETADDR
AT+BLEGETPEERADDR
AT+BLEGETRSSI
BLE Services
AT+BLEUARTTX
TX FIFO Buffer Handling
107
108
108
109
110
110
110
AT+BLEUARTTXF
AT+BLEUARTRX
AT+BLEUARTFIFO
AT+BLEKEYBOARDEN
AT+BLEKEYBOARD
AT+BLEKEYBOARDCODE
Modifier Values
HID Keyboard Codes
111
112
112
113
113
114
114
115
AT+BLEHIDEN
AT+BLEHIDMOUSEMOVE
AT+BLEHIDMOUSEBUTTON
AT+BLEHIDCONTROLKEY
AT+BLEHIDGAMEPADEN
AT+BLEHIDGAMEPAD
AT+BLEMIDIEN
AT+BLEMIDIRX
AT+BLEMIDITX
AT+BLEBATTEN
AT+BLEBATTVAL
BLE GAP
AT+GAPCONNECTABLE
AT+GAPGETCONN
AT+GAPDISCONNECT
AT+GAPDEVNAME
AT+GAPDELBONDS
AT+GAPINTERVALS
AT+GAPSTARTADV
AT+GAPSTOPADV
AT+GAPSETADVDATA
BLE GATT
GATT Limitations
AT+GATTCLEAR
AT+GATTADDSERVICE
AT+GATTADDCHAR
AT+GATTCHAR
© Adafruit Industries
https://learn.adafruit.com/adafruit-feather-32u4-bluefruit-le
118
119
119
120
121
122
122
123
123
123
124
125
125
125
126
126
127
127
128
128
129
131
131
131
131
132
135
Page 5 of 181