Skip to content

Feather nRF52840 Sense Onboard Sensors

Thomas Amberg edited this page Sep 11, 2024 · 61 revisions

Overview

The Feather nRF52840 Sense has a number of onboard sensors to measure the following physical properties.

Physical Property

APDS9960 Color, Gesture and Proximity Sensor

Pinout

Wired to I2C on standard pins, address 0x39 and IRQ on digital pin 36.

Code

Arduino

  • Library: Sketch > Include Library > Manage Libraries... > Adafruit_APDS9960 > Install
  • Example: File > Examples > Adafruit_APDS9960 > ...

Resources

BMP280 Temperature and Pressure Sensor

Pinout

Wired to I2C on standard pins, address 0x77.

Code

Arduino

  • Library: Sketch > Include Library > Manage Libraries... > Adafruit_BMP280 > Install
  • Example: File > Examples > Adafruit_BMP280 > ...

Resources

LIS3MDL Magnetometer

Pinout

Wired to I2C on standard pins, address 0x1C.

Code

Arduino

  • Library: Sketch > Include Library > Manage Libraries... > Adafruit_LIS3MDL > Install
  • Example: File > Examples > Adafruit_LIS3MDL > ...

Resources

LSM6DS33 Gyro and Accelerometer

Pinout

Wired to I2C on standard pins, address 0x6A and IRQ on digital pin 3.

Code

Arduino

  • Library: Sketch > Include Library > Manage Libraries... > Adafruit_LSM6DS > Install
  • Example: File > Examples > Adafruit_LSM6DS > ...

Resources

MP34DT01-M PDM Microphone and Sound Sensor

Pinout

Wired to digital pin 34 for PDM data, and 35 for PDM clock.

Code

Arduino

  • Library: Sketch > Include Library > Manage Libraries... > ArduinoSound > Install
  • Example: File > Examples > ArduinoSound > ...

Resources

SHT30 Humidity Sensor

Pinout

Wired to I2C on standard pins, address 0x44.

Code

Arduino

  • Library: Sketch > Include Library > Manage Libraries... > Adafruit_SHT31 > Install
  • Example: File > Examples > Adafruit_SHT31 > ...

Resources

User Button

Pinout

Hard-wired to digital pin 7.

Code

Arduino

Resources