The Adafruit Feather nRF52840 is a versatile and compact development board that harnesses the power of the Nordic Semiconductor nRF52840 System-on-Chip (SoC). This board is part of the Feather ecosystem, known for its portable and modular design. With an ARM Cortex-M4 CPU, built-in Bluetooth Low Energy (BLE), and a rich set of peripherals, the Feather nRF52840 is ideal for Internet of Things (IoT) projects, wearable devices, and wireless applications.
Pin Number | Function | Description |
---|---|---|
1 | GND | Ground |
2 | 3V3 | 3.3V power supply output |
3-8 | Analog Inputs | A0-A5, can also be used as digital I/O |
9-10 | I2C Interface | SDA (data line) and SCL (clock line) |
11-12 | SPI Interface | MISO (Master In Slave Out), MOSI (Master Out Slave In) |
13 | SPI Interface | SCK (Serial Clock) |
14-19 | Digital I/O | D5-D10, can be used for digital input/output |
20 | RX | UART receive pin |
21 | TX | UART transmit pin |
Powering the Board:
Connecting Peripherals:
Programming the Board:
Board Not Recognized by Computer:
Failure to Upload Sketches:
Bluetooth Connectivity Issues:
Here's a simple example of how to blink an LED using the Adafruit Feather nRF52840 with the Arduino IDE:
// Define the LED pin
#define LED_PIN 13
void setup() {
// Initialize the LED pin as an output
pinMode(LED_PIN, OUTPUT);
}
void loop() {
// Turn the LED on
digitalWrite(LED_PIN, HIGH);
// Wait for 1 second
delay(1000);
// Turn the LED off
digitalWrite(LED_PIN, LOW);
// Wait for 1 second
delay(1000);
}
Remember to select the Adafruit Feather nRF52840 board from the Arduino IDE before uploading the sketch.
Note: This code is for demonstration purposes and assumes the use of the onboard LED connected to pin 13. If you're using an external LED, ensure it's connected with a suitable current-limiting resistor.