MakerLab
ArduinoArduino Nicla Sense ME

Arduino Nicla Sense ME: Your All-in-One Sensor Hub

The Arduino Nicla Sense ME is a compact, powerful board designed for intelligent sensing applications, integrating a rich suite of environmental and motion sensors with a capable microcontroller.

Arduino Nicla Sense ME

The Arduino Nicla Sense ME is a highly integrated microcontroller board developed by Arduino, specifically designed for edge AI and intelligent sensing applications. It's part of the Arduino Nicla family, which focuses on compact, powerful solutions for IoT and embedded projects. This board stands out due to its inclusion of a comprehensive sensor array directly on the PCB, making it an excellent choice for projects requiring environmental monitoring, gesture recognition, or general motion analysis.

At its core, the Nicla Sense ME features the STMicroelectronics BHI260AP (a 6-axis IMU with integrated AI capabilities) and the Bosch BMP390 (a high-precision barometric pressure sensor). These are complemented by a Bosch BME280 sensor, which measures temperature, humidity, and atmospheric pressure. The microcontroller responsible for managing these sensors and running user code is the nRF52832, a popular and energy-efficient System on Chip (SoC) from Nordic Semiconductor.

The nRF52832 is a 32-bit ARM Cortex-M4F processor, offering a good balance of performance and low power consumption, making the Nicla Sense ME suitable for battery-powered applications. Its integrated Bluetooth Low Energy (BLE) capabilities further enhance its utility for wireless data transmission. This board is ideal for makers, students, and embedded engineers looking to develop advanced sensor-based projects without the complexity of integrating multiple discrete sensors and communication modules.

Released around 2021, the Nicla Sense ME addresses the growing demand for compact, intelligent edge devices. Its pre-integrated sensor suite significantly reduces development time and board complexity, allowing users to focus on algorithm development and application logic. It's particularly well-suited for applications like environmental monitoring stations, wearable fitness trackers, predictive maintenance systems, and smart home devices that require sophisticated environmental and motion data.

Watch

Related video, embedded from YouTube.

Specifications

Microcontroller / SoCNordic Semiconductor nRF52832 (with ST BHI260AP IMU and Bosch environmental sensors)
Architecture32-bit ARM Cortex-M4F
Clock speed64 MHz
Flash / Storage512 KB
RAM / SRAM64 KB
Operating voltage3.3V
Digital I/O pins11 (many with multiple functions)
Analog / ADC6x 12-bit ADC channels
PWMYes (available on multiple GPIOs)
ConnectivityBluetooth Low Energy (BLE) 5.0
USBMicro-USB for programming and power
Power input5V via Micro-USB or VIN pin, 3.3V via 3V3 pin
Dimensions22.7mm x 17.6mm

Pinout & pin functions

PinFunction
GNDGround
3V33.3V Power Output
VINPower Input (5V recommended)
P0.00GPIO, UART0 TX, I2C0 SDA, SPI0 MOSI
P0.01GPIO, UART0 RX, I2C0 SCL, SPI0 MISO
P0.02GPIO, I2C0 SCK, SPI0 SCK
P0.03GPIO, I2C0 SDA, SPI0 CSn
P0.04GPIO, ADC0
P0.05GPIO, ADC1
P0.06GPIO, ADC2
P0.07GPIO, ADC3
P0.08GPIO, ADC4
P0.09GPIO, ADC5
P0.10GPIO, PWM0
P0.11GPIO, PWM1
P0.12GPIO, PWM2
P0.13GPIO, PWM3
P0.14GPIO, SPI1 MOSI
P0.15GPIO, SPI1 MISO
P0.16GPIO, SPI1 SCK
P0.17GPIO, SPI1 CSn
P0.18GPIO, UART1 TX
P0.19GPIO, UART1 RX
P0.20GPIO, I2C1 SDA
P0.21GPIO, I2C1 SCL
P0.22GPIO
P0.23GPIO
P0.24GPIO
P0.25GPIO
P0.26GPIO
P0.27GPIO
P0.28GPIO
P0.29GPIO
P0.30GPIO
P0.31GPIO
NRF_RSTReset Pin

Wiring & circuit basics

Powering the Arduino Nicla Sense ME is straightforward. You can supply power via the Micro-USB port (typically 5V) or the VIN pin, which also accepts a 5V input. The board has an onboard voltage regulator that steps this down to the 3.3V required by the nRF52832 microcontroller and its peripherals. The 3V3 pin provides access to this regulated 3.3V supply, which can be used to power external components, but be mindful of the current limitations of the onboard regulator. Always ensure your power source can provide sufficient current, especially if powering multiple external devices. Avoid connecting higher voltages directly to the 3V3 pin, as this can damage the board.

The Nicla Sense ME operates at a logic level of 3.3V. This means that any external components you connect, such as sensors or LEDs, should also be 3.3V compatible. Connecting a 5V device directly to a 3.3V GPIO pin might not damage the board immediately, but it's not recommended for reliable operation. Conversely, connecting a 3.3V output from the Nicla Sense ME to a 5V input might not be recognized by the 5V device due to the voltage difference. If you need to interface with 5V logic devices, you will require a level shifter.

For example, to blink an LED, connect the anode (longer leg) of an LED to a digital pin (e.g., P0.10, which supports PWM) through a current-limiting resistor (typically 220-330 ohms for a standard LED). Connect the cathode (shorter leg) of the LED to a GND pin. To connect an I2C sensor like a common DHT22 (though the BME280 is already onboard, this is for demonstration), you would typically connect the sensor's VCC to the 3V3 pin, GND to a GND pin, SDA to the board's SDA pin (e.g., P0.01), and SCL to the board's SCL pin (e.g., P0.02).

Programming & getting started

The primary toolchain for programming the Arduino Nicla Sense ME is the Arduino IDE. You'll need to install the 'Arduino nRF52 Boards' support package via the Board Manager, which includes the necessary core libraries for the nRF52832. Once installed, you can select the 'Arduino Nicla Sense ME' from the board list. Uploading code is done via the Micro-USB port. Connect the board, select the correct COM port, and click the Upload button. For more advanced development, PlatformIO with VS Code is also a popular choice, offering better project management and library handling. MicroPython and CircuitPython support might also be available through community efforts or specific firmware builds.

To upload your first program, connect the Nicla Sense ME to your computer via Micro-USB. Open the Arduino IDE, go to File > Examples > 01.Basics > Blink. Select 'Arduino Nicla Sense ME' from the Tools > Board menu and the correct COM port from Tools > Port. Then, click the Upload button. The onboard LED (usually connected to pin P0.13) should start blinking, confirming that your development environment is set up correctly and the board is functioning.

Project ideas

Environmental Monitoring StationMeasure temperature, humidity, and pressure using the onboard BME280 and BMP390 sensors. Log data locally or transmit it wirelessly via BLE to a smartphone or gateway. This project teaches sensor interfacing, data logging, and wireless communication.
Gesture and Motion TrackerUtilize the BHI260AP 6-axis IMU to detect gestures (like swipes or taps) and track motion. This could be used for a gesture-controlled interface or a basic activity tracker. It explores sensor fusion, interrupt handling, and basic AI on the edge.
BLE Sensor HubCreate a device that collects data from its onboard sensors and broadcasts it over Bluetooth Low Energy. This allows other devices (like a Raspberry Pi or a smartphone app) to subscribe to the sensor readings, demonstrating BLE advertising and GATT services.
Indoor Navigation AidCombine accelerometer, gyroscope, and potentially barometer data to estimate position changes or detect movement patterns within an indoor environment. This project delves into sensor calibration, dead reckoning, and basic inertial navigation algorithms.
Smart Wearable DeviceDesign a compact wearable that monitors user activity and environmental conditions. The low-power nature of the nRF52832 makes it suitable for battery-powered applications. This project integrates multiple sensors for a comprehensive user experience.
Edge AI for Anomaly DetectionLeverage the AI capabilities of the BHI260AP to detect unusual motion patterns or environmental deviations in real-time without sending raw data to the cloud. This is an advanced project focusing on embedded machine learning and edge computing.
Wireless Barometer for Weather ForecastingContinuously monitor atmospheric pressure and transmit readings via BLE. This data can be used to build a simple, localized weather prediction system. It reinforces BLE communication and time-series data analysis.

Buying tips & gotchas

When purchasing the Arduino Nicla Sense ME, ensure you are buying from reputable suppliers to avoid counterfeit or faulty boards. The board's compact size and 3.3V logic level are key considerations; always check compatibility with external components. Common pitfalls include accidentally powering the board with higher voltages than recommended or misinterpreting the numerous pin functions. Accessories that enhance its utility include small LiPo batteries for portable projects, breadboards with jumper wires for prototyping, and 3.3V-compatible sensors. For more advanced projects, consider using a logic analyzer to debug communication protocols like I2C or SPI.