Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

How to Use Adafruit nRF52840 CLUE: Examples, Pinouts, and Specs

Image of Adafruit nRF52840 CLUEDesign with Adafruit nRF52840 CLUE in Cirkit Designer

Introduction

The Adafruit nRF52840 CLUE is a versatile development board that harnesses the power of the Nordic Semiconductor nRF52840 Bluetooth System on Chip (SoC). This board is designed for a wide range of applications, from IoT devices to wearable technology, thanks to its rich set of features including Bluetooth Low Energy (BLE), a plethora of sensors, and a user-friendly display. It is an ideal platform for prototyping and developing sophisticated projects that require wireless connectivity and sensor integration.

Explore Projects Built with Adafruit nRF52840 CLUE

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Biometric and RFID Security System with Dual Adafruit Feather nRF52840 Controllers: A project utilizing Adafruit nRF52840 CLUE in a practical application
Biometric and RFID Security System with Dual Adafruit Feather nRF52840 Controllers

This circuit features two Adafruit Feather nRF52840 microcontrollers, each interfaced with an RFID-RC522 module for RFID communication and an AT24C256 external EEPROM for additional memory storage. One of the microcontrollers is also connected to an R307 Fingerprint Sensor for biometric input, and both microcontrollers are powered by a shared power supply and a coin cell breakout for backup or RTC power. The circuit is likely designed for secure access control or identification purposes, utilizing both RFID and fingerprint authentication, with data storage capabilities.

Open Project in Cirkit Designer
Image of Arduino Nano Wireless Communication System with nRF24L01 Module: A project utilizing Adafruit nRF52840 CLUE in a practical application
Arduino Nano Wireless Communication System with nRF24L01 Module

This circuit connects an nRF24L01 wireless transceiver module to an Arduino Nano microcontroller through an adapter board. The Arduino Nano is configured to communicate with the nRF24L01 via SPI (Serial Peripheral Interface), using pins D9 and D10 for chip enable (CE) and chip select (CSN), and pins D11 to D13 for the SPI bus (MOSI, MISO, SCK). An electrolytic capacitor is connected across the power supply lines likely for power stabilization.

Open Project in Cirkit Designer
Image of Arduino Nano and NRF24L01 Based Wireless Remote Control: A project utilizing Adafruit nRF52840 CLUE in a practical application
Arduino Nano and NRF24L01 Based Wireless Remote Control

This circuit features an Arduino Nano microcontroller interfaced with an NRF24L01 wireless transceiver module, powered by a 4 x AAA battery mount. Four pushbuttons are connected to the Arduino's digital inputs with pull-up resistors, and they are used to send different wireless commands via the NRF24L01 module when pressed. The Arduino's SPI interface (D11/MOSI, D12/MISO, D13/SCK) is used for communication with the NRF24L01, and digital pins D9 and D10 are used for the module's CE and CSN pins, respectively.

Open Project in Cirkit Designer

Common Applications and Use Cases

Technical Specifications

Key Technical Details

Pin Configuration and Descriptions

Pin Number Function Description
1 GND Ground
2 VOUT Regulated 3.3V output
3 AREF Analog reference voltage for ADC
4-9 A0-A5 Analog input pins
10-15 D0-D5 Digital I/O pins
16 SCK SPI clock
17 MISO SPI Master In Slave Out
18 MOSI SPI Master Out Slave In
19 RX UART receive pin
20 TX UART transmit pin
21 SDA I2C data line
22 SCL I2C clock line

Usage Instructions

How to Use the Component in a Circuit

  1. Powering the Board: Connect the board to a USB power source or attach a LiPo battery to the JST connector.
  2. Connecting Sensors/Actuators: Utilize the breakout strips to connect additional sensors or actuators to the GPIO pins.
  3. Programming the Board: Use the Arduino IDE or other compatible software to write and upload code to the board via the USB connection.

Important Considerations and Best Practices

Troubleshooting and FAQs

Common Issues Users Might Face

Solutions and Tips for Troubleshooting

Example Code for Arduino UNO

#include <Wire.h>
#include <Adafruit_Sensor.h>
#include <Adafruit_BMP280.h>

Adafruit_BMP280 bmp; // I2C Interface

void setup() {
  Serial.begin(115200);
  while (!Serial); // Wait for serial port to connect
  if (!bmp.begin()) {
    Serial.println(F("Could not find a valid BMP280 sensor, check wiring!"));
    while (1);
  }
}

void loop() {
  Serial.print(F("Temperature = "));
  Serial.print(bmp.readTemperature());
  Serial.println(" *C");

  Serial.print(F("Pressure = "));
  Serial.print(bmp.readPressure());
  Serial.println(" Pa");

  Serial.print(F("Approx altitude = "));
  Serial.print(bmp.readAltitude(1013.25)); // this should be adjusted to your local forcase
  Serial.println(" m");

  delay(2000);
}

Note: The above example demonstrates how to interface the BMP280 sensor on the Adafruit nRF52840 CLUE with an Arduino UNO. Ensure that you have installed the necessary libraries and that the I2C address matches that of your sensor.

For more detailed information, visit the Adafruit Learning System and the nRF52840 CLUE product page.