boards/arduino/nicla_sense_me/doc/index.rst
.. zephyr:board:: arduino_nicla_sense_me
Overview
The Arduino Nicla Sense ME_ is designed around Nordic Semiconductor's
nrf52832 ARM Cortex-M4F CPU. The board houses 4 low power industrial grade sensors
that can measure rotation, acceleration, pressure, humidity, temperature, air quality
and CO2 levels.
Hardware
nRF52832 ARM Cortex-M4 processor at 64 MHz
512 kB flash memory, 64 kB SRAM
Bluetooth Low Energy
Micro USB (USB-B)
JST 3-pin 1.2 mm pitch battery connector
10 Digital I/O pins
2 Analog input pins
12 PWM pins
One reset button
RGB LED (I2C)
On board sensors:
.. zephyr:board-supported-hw::
.. figure:: arduino_nicla_sense_me_pinout.jpg :align: center :alt: Arduino Nicla Sense ME pinout
Arduino Nicla Sense ME pinout (Credit: Arduino)
For more details please refer to the datasheet, full pinout and the schematics_.
Programming and Debugging
.. zephyr:board-supported-runners::
Applications for the arduino_nicla_sense_me board configuration can be built and
flashed in the usual way (see :ref:build_an_application and
:ref:application_run for more details).
First, connect the Arduino Nicla Sense ME board to your host computer using the USB port to prepare it for flashing. Then build and flash your application.
Here is an example for the :zephyr:code-sample:hello_world application.
.. zephyr-app-commands:: :zephyr-app: samples/hello_world :board: arduino_nicla_sense_me :goals: build flash
Run a serial host program to connect with your board:
.. code-block:: console
$ minicom -D /dev/ttyACM0
You should see the following message on the console:
.. code-block:: console
Hello World! arduino_nicla_sense_me
You can debug an application in the usual way. Here is an example for the
:zephyr:code-sample:hello_world application.
.. zephyr-app-commands:: :zephyr-app: samples/hello_world :board: arduino_nicla_sense_me :goals: debug
References
.. target-notes::
.. _Arduino Nicla Sense ME: https://docs.arduino.cc/hardware/nicla-sense-me
.. _datasheet: https://docs.arduino.cc/resources/datasheets/ABX00050-datasheet.pdf
.. _full pinout: https://docs.arduino.cc/resources/pinouts/ABX00050-full-pinout.pdf
.. _schematics: https://docs.arduino.cc/resources/schematics/ABX00050-schematics.pdf