1.. _arduino_nicla_sense_me: 2 3Arduino Nicla Sense ME 4###################### 5 6Overview 7******** 8The `Arduino Nicla Sense ME`_ is designed around Nordic Semiconductor's 9nrf52832 ARM Cortex-M4F CPU. The board houses 4 low power industrial grade sensors 10that can measure rotation, acceleration, pressure, humidity, temperature, air quality 11and CO2 levels. 12 13.. figure:: arduino_nicla_sense_me.jpg 14 :align: center 15 :alt: Arduino Nicla Sense ME 16 17 Arduino Nicla Sense ME (Credit: Arduino) 18 19Hardware 20******** 21 22- nRF52832 ARM Cortex-M4 processor at 64 MHz 23- 512 kB flash memory, 64 kB SRAM 24- Bluetooth Low Energy 25- Micro USB (USB-B) 26- JST 3-pin 1.2 mm pitch battery connector 27- 10 Digital I/O pins 28- 2 Analog input pins 29- 12 PWM pins 30- One reset button 31- RGB LED (I2C) 32- On board sensors: 33 34 - Accelerometer/Gyroscope: Bosch BHI260AP 35 - Gas/Pressure/Temperature/Humidity: Bosch BME688 36 - Geomagnetic: Bosch BMM150 37 - Digital Pressure: Bosch BMP390 38 39Supported Features 40================== 41 42+-----------+------------+----------------------+ 43| Interface | Controller | Driver/Component | 44+===========+============+======================+ 45| ADC | on-chip | adc | 46+-----------+------------+----------------------+ 47| CLOCK | on-chip | clock_control | 48+-----------+------------+----------------------+ 49| FLASH | on-chip | flash | 50+-----------+------------+----------------------+ 51| GPIO | on-chip | gpio | 52+-----------+------------+----------------------+ 53| I2C(M/S) | on-chip | i2c | 54+-----------+------------+----------------------+ 55| MPU | on-chip | arch/arm | 56+-----------+------------+----------------------+ 57| NVIC | on-chip | arch/arm | 58+-----------+------------+----------------------+ 59| PWM | on-chip | pwm | 60+-----------+------------+----------------------+ 61| RADIO | on-chip | Bluetooth Low Energy | 62+-----------+------------+----------------------+ 63| RTC | on-chip | system clock | 64+-----------+------------+----------------------+ 65| SPI(M/S) | on-chip | spi | 66+-----------+------------+----------------------+ 67| UART | on-chip | serial | 68+-----------+------------+----------------------+ 69| WDT | on-chip | watchdog | 70+-----------+------------+----------------------+ 71 72Connections and IOs 73=================== 74 75Available pins: 76--------------- 77.. figure:: arduino_nicla_sense_me_pinout.jpg 78 :align: center 79 :alt: Arduino Nicla Sense ME pinout 80 81 Arduino Nicla Sense ME pinout (Credit: Arduino) 82 83For more details please refer to the `datasheet`_, `full pinout`_ and the `schematics`_. 84 85Programming and Debugging 86************************* 87 88Applications for the ``arduino_nicla_sense_me`` board configuration can be built and 89flashed in the usual way (see :ref:`build_an_application` and 90:ref:`application_run` for more details). 91 92Flashing 93======== 94 95First, connect the Arduino Nicla Sense ME board to your host computer using 96the USB port to prepare it for flashing. Then build and flash your application. 97 98Here is an example for the :ref:`hello_world` application. 99 100.. zephyr-app-commands:: 101 :zephyr-app: samples/hello_world 102 :board: arduino_nicla_sense_me 103 :goals: build flash 104 105Run a serial host program to connect with your board: 106 107.. code-block:: console 108 109 $ minicom -D /dev/ttyACM0 110 111You should see the following message on the console: 112 113.. code-block:: console 114 115 Hello World! arduino_nicla_sense_me 116 117Debugging 118========= 119 120You can debug an application in the usual way. Here is an example for the 121:ref:`hello_world` application. 122 123.. zephyr-app-commands:: 124 :zephyr-app: samples/hello_world 125 :board: arduino_nicla_sense_me 126 :goals: debug 127 128References 129********** 130 131.. target-notes:: 132 133.. _Arduino Nicla Sense ME: 134 https://docs.arduino.cc/hardware/nicla-sense-me 135 136.. _datasheet: 137 https://docs.arduino.cc/resources/datasheets/ABX00050-datasheet.pdf 138 139.. _full pinout: 140 https://docs.arduino.cc/static/b35956b631d757a0455c286da441641b/ABX00050-full-pinout.pdf 141 142.. _schematics: 143 https://docs.arduino.cc/static/ebd652e859efba8536a7e275c79d5f79/ABX00050-schematics.pdf 144