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

How to Use Arduino nano 33 BLE sense Rev 2: Examples, Pinouts, and Specs

Image of Arduino nano 33 BLE sense Rev 2Design with Arduino nano 33 BLE sense Rev 2 in Cirkit Designer

Introduction

The Arduino Nano 33 BLE Sense Rev 2 is a compact and versatile microcontroller board designed for advanced IoT and wearable applications. Manufactured by Arduino, this board features Bluetooth Low Energy (BLE) capabilities, a powerful ARM Cortex-M4 processor, and a suite of integrated sensors. Its small form factor and robust processing power make it ideal for projects requiring wireless communication, environmental sensing, and machine learning at the edge.

Explore Projects Built with Arduino nano 33 BLE sense Rev 2

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 Arduino Nano 33 BLE IR Sensor Interface: A project utilizing Arduino nano 33 BLE sense Rev 2 in a practical application
Arduino Nano 33 BLE IR Sensor Interface

This circuit consists of an Arduino Nano 33 BLE microcontroller connected to an infrared (IR) sensor. The IR sensor's output pin is connected to the D7 digital input pin on the Nano, allowing the microcontroller to read the sensor's signal. The sensor is powered by the 3.3V output from the Nano, and both the sensor and the Nano share a common ground connection.

Open Project in Cirkit Designer
Image of Arduino Nano and BNO055 Sensor with Bluetooth Connectivity: A project utilizing Arduino nano 33 BLE sense Rev 2 in a practical application
Arduino Nano and BNO055 Sensor with Bluetooth Connectivity

This circuit features an Arduino Nano interfaced with a BNO055 sensor and an HC-05 Bluetooth module. The Arduino communicates with the BNO055 via I2C (using A4 for SDA and A5 for SCL) and with the HC-05 via serial communication (using D0/RX and D1/TX for data transfer). The HC-05's Key and State pins are connected to D2 and D3 of the Arduino for module control, and all components share a common ground with the Arduino powered at 5V and the BNO055 at 3.3V from the Arduino's 3V3 output.

Open Project in Cirkit Designer
Image of Bluetooth-Enabled Wearable Motion Sensor with Rechargeable Battery: A project utilizing Arduino nano 33 BLE sense Rev 2 in a practical application
Bluetooth-Enabled Wearable Motion Sensor with Rechargeable Battery

This circuit features an Arduino Nano interfaced with an HC-05 Bluetooth module, a BMI160 6DOF sensor, and multiple flex resistors. It is powered by a polymer lithium-ion battery through a lipo battery charger module and a step-up boost converter. The primary function appears to be wireless sensor data collection and transmission, with the flex resistors possibly serving as input devices and the accelerometer/gyro for motion tracking.

Open Project in Cirkit Designer

Common Applications and Use Cases

Technical Specifications

The following table outlines the key technical details of the Arduino Nano 33 BLE Sense Rev 2:

Specification Details
Microcontroller Nordic nRF52840 (ARM Cortex-M4, 32-bit, 64 MHz)
Operating Voltage 3.3V
Input Voltage (VIN) 5V
Digital I/O Pins 14 (12 PWM capable)
Analog Input Pins 8
Flash Memory 1 MB
SRAM 256 KB
EEPROM None
Connectivity Bluetooth 5.0 Low Energy (BLE), NFC
Integrated Sensors Temperature, humidity, pressure, light, color, gesture, and microphone
Power Consumption ~1.5 mA in idle mode
Dimensions 45 x 18 mm
Weight 5 g

Pin Configuration and Descriptions

The Arduino Nano 33 BLE Sense Rev 2 features a standard pinout. Below is a table describing the key pins:

Pin Type Description
VIN Power Input Input voltage (5V) for powering the board.
3.3V Power Output Regulated 3.3V output for external components.
GND Ground Ground connection.
A0–A7 Analog Input Analog input pins (12-bit ADC).
D0–D13 Digital I/O Digital input/output pins (PWM capable on D2–D13).
SDA I2C Data Data line for I2C communication.
SCL I2C Clock Clock line for I2C communication.
RX UART Receive UART receive pin for serial communication.
TX UART Transmit UART transmit pin for serial communication.
SWDIO Debug Interface Serial Wire Debug I/O for programming/debugging.
SWCLK Debug Interface Serial Wire Debug clock for programming/debugging.
RESET Reset Resets the microcontroller.

Usage Instructions

How to Use the Component in a Circuit

  1. Powering the Board:

    • Connect the board to a computer or USB power source using a micro-USB cable.
    • Alternatively, supply 5V to the VIN pin and connect GND to ground.
  2. Programming the Board:

    • Install the Arduino IDE and add the "Arduino nRF528x Boards" package via the Board Manager.
    • Select "Arduino Nano 33 BLE Sense" as the board in the IDE.
    • Write your code and upload it to the board via the USB connection.
  3. Using Sensors:

    • The board includes multiple sensors (e.g., temperature, humidity, microphone). Use the appropriate libraries (e.g., Arduino_LSM9DS1 for motion sensors) to interface with them.
  4. BLE Communication:

    • Use the ArduinoBLE library to create BLE peripherals or central devices.
    • Define BLE characteristics and services to send or receive data wirelessly.

Important Considerations and Best Practices

Example Code: Reading Temperature and Sending via BLE

Below is an example of how to read temperature data from the onboard sensor and send it via BLE:

#include <ArduinoBLE.h>
#include <Arduino_HTS221.h> // Library for the onboard temperature sensor

BLEService tempService("1809"); // BLE Temperature Service
BLEFloatCharacteristic tempCharacteristic("2A6E", BLERead | BLENotify);

void setup() {
  Serial.begin(9600);
  while (!Serial);

  // Initialize BLE
  if (!BLE.begin()) {
    Serial.println("Failed to initialize BLE!");
    while (1);
  }
  Serial.println("BLE initialized.");

  // Initialize temperature sensor
  if (!HTS.begin()) {
    Serial.println("Failed to initialize temperature sensor!");
    while (1);
  }
  Serial.println("Temperature sensor initialized.");

  // Set up BLE service and characteristic
  BLE.setLocalName("Nano33BLE_Temp");
  BLE.setAdvertisedService(tempService);
  tempService.addCharacteristic(tempCharacteristic);
  BLE.addService(tempService);

  // Start advertising
  BLE.advertise();
  Serial.println("BLE advertising started.");
}

void loop() {
  // Listen for BLE connections
  BLEDevice central = BLE.central();

  if (central) {
    Serial.print("Connected to central: ");
    Serial.println(central.address());

    while (central.connected()) {
      // Read temperature and update BLE characteristic
      float temperature = HTS.readTemperature();
      tempCharacteristic.writeValue(temperature);

      Serial.print("Temperature: ");
      Serial.print(temperature);
      Serial.println(" °C");

      delay(1000); // Update every second
    }

    Serial.println("Central disconnected.");
  }
}

Troubleshooting and FAQs

Common Issues and Solutions

  1. Board Not Recognized by the IDE:

    • Ensure the correct board and port are selected in the Arduino IDE.
    • Update the USB drivers if necessary.
  2. BLE Connection Fails:

    • Verify that the BLE central device supports Bluetooth 5.0.
    • Reduce interference by testing in a less crowded wireless environment.
  3. Sensors Not Responding:

    • Check that the required libraries are installed and included in the code.
    • Ensure the board is powered correctly and not in a low-power state.
  4. Overheating:

    • Avoid running intensive tasks for extended periods without proper ventilation.

FAQs

Q: Can I use the board with a 5V sensor?
A: No, the board operates at 3.3V logic levels. Use a level shifter to interface with 5V sensors.

Q: What is the maximum BLE range?
A: The BLE range is approximately 10–30 meters, depending on environmental conditions.

Q: Does the board support Wi-Fi?
A: No, the Nano 33 BLE Sense Rev 2 only supports Bluetooth Low Energy (BLE) and NFC.

Q: Can I use this board for machine learning?
A: Yes, the board is compatible with TensorFlow Lite for Microcontrollers, enabling on-device ML applications.