Skip to content

Feather nRF52840 Sense

Thomas Amberg edited this page Nov 4, 2020 · 33 revisions

Buy

Code

Arduino

Setup (step-by-step)

Setup (for experts)

  • Preferences > Additional Boards Manager URL: https://www.adafruit.com/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 > ...

Libraries

Troubleshooting

  • If you get Error loading Python lib on older versions of MacOS, build adafruit-nrfutil from source: https://github.com/adafruit/Adafruit_nRF52_Arduino/issues/184#issuecomment-423879874
  • If the nRF52840 USB does not show up in Tools > Port anymore, try to reset or update the bootloader: https://learn.adafruit.com/introducing-the-adafruit-nrf52840-feather/update-bootloader
    • Double-click the nRF52840 reset button to mount /Volumes/NRF52BOOT
    • Check Tools > Port again, often the board shows up again, if not continue below.
    • Download the latest DFU firmware, e.g. feather_nrf52840_express_bootloader-0.2.9_s140_6.1.1.zip
    • On MacOS, using adafruit-nrfutil-macos, type
      $ ls /dev/cu.*
      $ ./adafruit-nrfutil-macos --verbose dfu serial --package feather_nrf52840_express_bootloader-0.2.9_s140_6.1.1.zip -p /dev/cu.usbmodem -b 115200 --singlebank --touch 1200
    • On Windows, using adafruit-nrfutil.exe, type
      $ adafruit-nrfutil.exe --verbose dfu serial --package feather_nrf52840_express_bootloader-0.2.9_s140_6.1.1.zip --port COM -b 115200 --singlebank --touch 1200
  • If you get Error compiling for board Adafruit Feather Bluefruit Sense and 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 the following 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

Language

Pinout

I2C Addresses

Sensor I2C address IRQ pin
APDS9960 0x39 36
BMP280 0x77 -
LIS3MDL 0x1C -
LSM6DS33 0x6A 3
SHT30 0x44 -

See also onboard sensors and actuators.

Resources

Clone this wiki locally