-
Notifications
You must be signed in to change notification settings - Fork 8
Feather nRF52840 Sense
Thomas Amberg edited this page Oct 11, 2024
·
33 revisions
- https://www.adafruit.com/product/4516 (~39$, w/ sensors)
- Preferences > Additional Boards Manager URL:
https://adafruit.github.io/arduino-board-index/package_adafruit_index.json
- Tools > Board > Boards Manager... > Adafruit nRF52
- Linux only:
$ sudo apt-get install python3 $ pip3 install --user adafruit-nrfutil $ adafruit-nrfutil version adafruit-nrfutil version 0.5.3.post12
If the modem manager interferes with adafruit-nrfutil, try$ sudo bash -c "systemctl stop ModemManager && systemctl disable ModemManager"
- Tools > Board > Adafruit Feather Bluefruit Sense
- Tools > Port > ...
- Library: https://github.com/adafruit/Adafruit_nRF52_Arduino (.zip)
- Example: File > Examples > Adafruit BLE Libraries for Bluefruit52 > ...
- If you get an Undefined reference to Serial error, add
#include "Adafruit_TinyUSB.h";
, see https://github.com/tamberg/fhnw-iot/issues/22 - If you get Error loading Python lib, update adafruit-nrfutil, see https://github.com/tamberg/fhnw-iot/issues/21
- If the nRF52840 USB does not show up in Tools > Port anymore, double-click the reset button.
- If that does not help, try to update the bootloader as described in https://learn.adafruit.com/introducing-the-adafruit-nrf52840-feather/update-bootloader
- If you get Error compiling for board Adafruit Feather Bluefruit Sense:
- If the log contains something like adafruit-nrfutil.exe file does not exist
- Add an exclusion for the adafruit-nrfutil.exe file to your anti virus scanner, as shown here.
- If, on Linux, you get an upload failed message with error /dev/ttyACM0 permission denied:
- Make sure your user has enough permissions to access /dev/ttyACM0
- Check permissions of /dev/ttyACM0: ls -alh /dev/ttyACM0
- Add your user to the corresponding group (e.g. Arch Linux uucp) or change permissions of /dev/ttyACM0
- Based on https://github.com/adafruit/Adafruit-Feather-nRF52840-Sense-PCB/blob/master/Adafruit%20Feather%20nRF52840%20Sense%20pinout.pdf
- See also https://learn.adafruit.com/adafruit-feather-sense/pinouts
Sensor | I2C address | IRQ pin |
---|---|---|
APDS9960 | 0x39 | 36 |
BMP280 | 0x77 | - |
LIS3MDL | 0x1C | - |
LSM6DS33 | 0x6A | 3 |
SHT30 | 0x44 | - |
See also onboard sensors and actuators.
- https://learn.adafruit.com/adafruit-feather-sense
- https://www.nordicsemi.com/Products/Low-power-short-range-wireless/nRF52840
- https://www.bluetooth.com/specifications/%20bluetooth-core-specification/bluetooth5
- https://www.arm.com/products/silicon-ip-cpu/cortex-m/cortex-m4
- https://learn.adafruit.com/adafruit-feather/feather-specification
- https://github.com/adafruit/Adafruit-nRF52-Bluefruit-Feather-PCB (PCB design files)
- https://github.com/adafruit/Fritzing-Library/ (for documentation of breadboard projects)