The Adafruit Feather nRF52840 Sense is a versatile and powerful development board that combines the efficiency of the nRF52840 System-on-Chip (SoC) with a suite of onboard sensors. It is designed for a wide range of applications, from wearable devices to IoT connectivity projects. The board's Bluetooth 5.0 capability allows for easy wireless communication, while its array of sensors enables immediate data collection for environmental monitoring, motion tracking, and more.
Pin Number | Function | Description |
---|---|---|
1 | GND | Ground |
2 | 3V | 3.3V power supply |
3-8 | Analog Inputs | A0-A5, 12-bit ADC channels |
9-12 | I2C Interface | SDA, SCL, and additional pins for I2C |
13-18 | Digital I/O | GPIO pins with PWM support |
19 | RX | UART Receive |
20 | TX | UART Transmit |
21 | SCK | SPI Clock |
22 | MISO | SPI Master In Slave Out |
23 | MOSI | SPI Master Out Slave In |
24 | #RESET | Active low reset pin |
Note: This is a simplified pin configuration. Refer to the official datasheet for a complete pinout and alternate functions.
Here is a simple example to read the built-in temperature sensor and print the value over the serial connection:
#include <Wire.h>
#include "Adafruit_SHT31.h"
Adafruit_SHT31 sht31 = Adafruit_SHT31();
void setup() {
Serial.begin(115200);
while (!Serial)
delay(10); // Wait for serial console to connect.
if (!sht31.begin(0x44)) { // Set to 0x45 for alternate i2c addr
Serial.println("Couldn't find SHT31");
while (1) delay(1);
}
}
void loop() {
float t = sht31.readTemperature();
if (!isnan(t)) { // Check if 't' is not a NaN value
Serial.print("Temp *C = "); Serial.println(t);
} else {
Serial.println("Failed to read temperature");
}
delay(500);
}
Q: Can I use the Adafruit Feather nRF52840 Sense with a 5V power supply? A: No, the board is designed to be powered by a 3.3V supply or a LiPo battery. Using a 5V supply can damage the board.
Q: How do I update the firmware on the board? A: Enter the bootloader mode by double-tapping the RESET button and use the Arduino IDE or other preferred tools to upload the firmware.
Q: Is the board compatible with all Arduino libraries? A: While many libraries are compatible, some may need modifications due to the nRF52840's architecture. Always check for compatibility or updates from the library maintainers.
For further assistance, consult the Adafruit support forums or the extensive online documentation and community resources.