Please refer to this manual for detailed usage.
This LED system consists of:
- 1 Adafruit nRF52840 Express with an attached LED known as the Leader Device
- 1 Adafruit nRF52840 Express with an attached LED known as the Follower Device
The Leader Device connects to the Bluefruit Connect Mobile App, Google Play Store or Apple App Store via bluetooth.
The Leader Device then relays any instructions sent from the mobile app to the Follower Device also through bluetooth. The Follower Device only connects to its appropriate Leader Device.
The following was installed on Ubuntu 18.04.
- Download and install the latest Arduino IDE.
- Once installed, go to
File->Preferences
in the IDE and the url:https://www.adafruit.com/package_adafruit_index.json
in the Additional Board Manager URL field. - Restart the IDE. Go to
Tools->Board->Boards Manager
in the IDE. Search and InstallAdafruit nRF52 by Adafruit
. - Once the toolchain has installed, select the appropriate board by going to
Tools->Board->Adafruit nRF52 Boards->Adafruit ItsyBitsy nRF52840 Express
. - (Linux Only) Install
adafruit-nrfutil
module usingpip3
.
pip3 install adafruit-nrfutil
Libraries:
Install the following libraries by searching for them under Tools->Manage Libraries..
- Adafruit Neopixel
- Open either
LedFollower
orLedLeader
with the Arduino IDE. - Confirm the correct board,
Adafruit ItsyBitsy nRF52840 Express
is selected underTools->Board
. - Confirm the correct serial port is connected under
Tools->Port
. - Flash software by pressing the Upload Button, right arrow button, or
Sketch->Upload
. This might have be done a couple times.
Notes:
- Make sure the
LedFollower
andLedLeader
's are using their corresponding UUIDs. - You can also flash the boards from VSCode using the Arduino extension. See this link for more details.
- For any issues, refer to the Adafruit Documentation to get started.