You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/hardware/03.nano/boards/nano-33-ble-sense-rev2/tutorials/01.user-manual/content.md
+154-2Lines changed: 154 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ This user manual provides a comprehensive overview of the Nano 33 BLE Sense Rev2
30
30
### Software Requirements
31
31
32
32
-[Arduino IDE 2.0+](https://www.arduino.cc/en/software) or [Arduino Web Editor](https://create.arduino.cc/editor)
33
-
-[Arduino MBed OS Boards core](https://github.com/arduino/ArduinoCore-mbed)
33
+
-[Arduino MBed OS Nano OS Boards core](https://github.com/arduino/ArduinoCore-mbed)
34
34
35
35
***The Nano 33 BLE Sense Rev2 is compatible with the complete Arduino ecosystem and can be programmed directly as a standalone device.***
36
36
@@ -40,7 +40,159 @@ The Nano 33 BLE Sense Rev2 board combines the microcontroller nRF52840 and a set
40
40
41
41

42
42
43
-
The Nano 33 BLE Sense Rev2 includes a high-performance 32-bit microcontroller (nRF52840), expanded connectivity with a powerful 2.4 GHz Bluetooth® 5 Low Energy module from u-blox, with an internal antenna. Can be used to transmit data between different devices. Its compact dimensions (18 mm x 45 mm) and robust construction make the Nano 33 BLE Sense Rev2 board an excellent choice for projects that demand sensor fusion capabilities and the computational power of modern microcontrollers..
43
+
The Nano 33 BLE Sense Rev2 includes a high-performance 32-bit microcontroller (nRF52840), expanded connectivity with a powerful 2.4 GHz Bluetooth® 5 Low Energy module from u-blox, with an internal antenna. Can be used to transmit data between different devices. Its compact dimensions (18 mm x 45 mm) and robust construction make the Nano 33 BLE Sense Rev2 board an excellent choice for projects that demand sensor fusion capabilities and the computational power of modern microcontrollers.
44
+
45
+
### Nano 33 BLE Sense Rev2 Architecture Overview
46
+
47
+
The Arduino Nano 33 BLE Sense Rev2 combines a tiny form factor with multiple environment sensors and the ability to run AI using TinyML and TensorFlow™ Lite. Whether you are creating your first embedded ML application or using Bluetooth® Low Energy to connect your project to your phone, the Nano 33 BLE Sense Rev2 makes that journey simple and accessible.
48
+
49
+
Here is an overview of the board's main components shown in the images above:
50
+
51
+
-**Microcontroller**: At the heart of the Nano 33 BLE Sense Rev2 board there is a [Nordic nRF52480](https://docs-be.nordicsemi.com/bundle/ps_nrf52840/attach/nRF52840_PS_v1.11.pdf?_LANG=enus) microcontroller. This single-chip microcontroller is based on a 64 MHz Arm® Cortex®-M4 core with up to 1 MB of flash memory and 256 kB of RAM memory.
52
+
-**IMU**: The Arduino Nano 33 BLE Sense Rev2 Inertial Measurement Unit system is made up of two separate IMUs, a 6-axis BMI270 and a 3-axis BMM150, effectively giving you a 9-axis IMU system. This allows you to detect orientation, motion, or vibrations in your project.
53
+
-**Proximity and Gesture Detection**: The APDS9960 chip allows for measuring digital proximity and ambient light as well as for detecting RGB colors and gestures.
54
+
-**Temperature and Humidity Sensor**: The HS3003 capacitive digital sensor measures relative humidity and temperature. It has a temperature accuracy of ± 0.5 °C (between 15-40 °C) and is thereby perfectly suited to detect ambient temperature.
55
+
-**Pressure Sensor**: The LPS22HB picks up on barometric pressure and allows for a 24-bit pressure data output between 260 to 1260 hPa. This data can also be processed to calculate the height above sea level of the current location.
56
+
-**Microphone**: The MP34DT06JTR is a compact, low-power omnidirectional digital MEMS microphone with an IC interface. It has a 64 dB signal-to-noise ratio, is capable of sensing acoustic waves and can operate in temperatures of -40 °C to +85 °C.
57
+
-**Programmable RGB LED**: The Nano 33 BLE Sense Rev2 board has an onboard user-programmable RGB LED to provide visual feedback about different operating states.
58
+
-**User LED**: In addition to the onboard user-programmable RGB LED, the board also includes an additional onboard user-programmable orange LED for basic status indications.
59
+
-**Castellated pins**: The board's castellated pins allow surface mounting as a module, facilitating integration into custom hardware designs.
60
+
-**Bluetooth**: The Nano 33 BLE Sense Rev2 supports Bluetooth® through the u-blox NINA-B306 module.
61
+
62
+
### Board Core and Libraries
63
+
64
+
The **Arduino MBed OS Nano Boards** core contains the libraries and examples to work with the Arduino Nano 33 BLE Sense Rev2's peripherals and onboard components, such as its nRF52480 microcontroller and the onboard RGB LED. To install the core for the Nano 33 BLE Sense Rev2 board, navigate to **Tools > Board > Boards Manager** or click the **Boards Manager** icon in the left tab of the IDE. In the Boards Manager tab, search for `Nano 33 BLE Sense Rev2` and install the latest Arduino Mbed OS Nano Boards version.
65
+
66
+
67
+

68
+
69
+
The Arduino Nano 33 BLE Sense Rev2 Boards core provides support for the following:
70
+
71
+
- Board control and configuration (reset, pin configuration and power management)
72
+
- Communication interfaces (UART, I²C and SPI)
73
+
- Onboard LED control (RGB LED and orange LED)
74
+
- HID emulation capabilities (keyboard and mouse)
75
+
- Standard Arduino libraries compatibility
76
+
77
+
***__Important note:__ Since the Nano 33 BLE Sense Rev2 uses the same nRF52840 microcontroller as the Nano 33 BLE family, it shares complete code and library compatibility, making it easy to transition projects between these boards.***
78
+
79
+
80
+
### Pinout
81
+
82
+

83
+
84
+
The full pinout is available and downloadable as PDF from the link below:
85
+
86
+
-[Nano 33 BLE Sense Rev2 pinout](https://docs.arduino.cc/resources/pinouts/ABX00069-full-pinout.pdf)
87
+
88
+
### Datasheet
89
+
90
+
The complete datasheet is available and downloadable as PDF from the link below:
91
+
92
+
-[Nano 33 BLE Sense Rev2 datasheet](https://docs.arduino.cc/resources/datasheets/ABX00069-datasheet.pdf)
93
+
94
+
### Schematics
95
+
96
+
The complete schematics are available and downloadable as PDF from the link below:
97
+
98
+
-[Nano 33 BLE Sense Rev2 schematics](https://docs.arduino.cc/resources/schematics/ABX00069-schematics.pdf)
99
+
100
+
### CAD Files
101
+
102
+
The complete CAD files are available and downloadable from the link below:
103
+
104
+
-[Nano 33 BLE Sense Rev2 STEP files](https://docs.arduino.cc/static/505dd72b2343c79c2d0442e0b7469f3c/ABX00069-cad-files.zip)
105
+
106
+
## First Use
107
+
108
+
### Unboxing the Product
109
+
110
+
When opening the Nano 33 BLE Sense Rev2 box, you will find the board and its corresponding documentation. **The Nano 33 BLE Sense Rev2 does not include additional cables**, so you will need a USB-C cable ([available separately here](https://store.arduino.cc/products/usb-2-0-cable-type-a-micro)) to connect the board to your computer.
111
+
112
+
The Nano 33 BLE Sense Rev2 is a standalone device that can be programmed directly without requiring additional boards. However, for more complex projects, you can easily combine it with Arduino shields compatible with the Nano family.
113
+
114
+
### Connecting the Board
115
+
116
+
The Nano 33 BLE Sense Rev2 can be connected to your computer using its onboard micro USB connector. It can also be integrated into larger projects using the following:
117
+
118
+
-**Direct micro USB connection**: For programming, power supply and serial communication with the computer
119
+
-**Pin connection**: For integration into breadboards or custom PCBs
120
+
-**Bluetooth connection**: For wireless communication with externak devices
121
+
-**Module mounting**: Using the board's castellated pins for direct soldering to PCBs
122
+
123
+
***__Important note:__ The Nano 33 BLE Sense Rev2 operates at +3.3 VDC natively. When connecting sensors or modules that operate at +5 VDC, make sure to verify voltage compatibility to avoid component damage.***
124
+
125
+
### 5V Pin
126
+
127
+
The microcontroller on the Arduino Nano 33 BLE Sense Rev2 runs at 3.3V, which means that you must never apply more than 3.3V to its Digital and Analog pins. Care must be taken when connecting sensors and actuators to assure that this limit of 3.3V is never exceeded. Connecting higher voltage signals, like the 5V commonly used with the other Arduino boards, will damage the Arduino Nano 33 BLE Sense Rev2.
128
+
129
+
To avoid such risk with existing projects, where you should be able to pull out a Nano and replace it with the new Nano 33 BLE Sense, we have the 5V pin on the header, positioned between RST and A7 that is not connected as default factory setting. This means that if you have a design that takes 5V from that pin, it won't work immediately, as a precaution we put in place to draw your attention to the 3.3V compliance on digital and analog inputs.
130
+
131
+
5V on that pin is available only when two conditions are met: you make a solder bridge on the two pads marked as VUSB and you power the Nano 33 BLE Sense Rev2 through the USB port. There are two sets of VUSB pads on the Arduino Nano 33 BLE Sense Rev2, one set on the bottom and one set on top. To enable the 5V Pin, either one of these need to be connected. If you power the board from the VIN pin, you won't get any regulated 5V and therefore even if you do the solder bridge, nothing will come out of that 5V pin. The 3.3V, on the other hand, is always available and supports enough current to drive your sensors. Please make your designs so that sensors and actuators are driven with 3.3V and work with 3.3V digital IO levels. 5V is now an option for many modules and 3.3V is becoming the standard voltage for electronic ICs.
132
+
133
+

134
+
135
+
### Powering the Board
136
+
137
+
The Nano 33 BLE Sense Rev2 can be powered in several ways:
138
+
139
+
-**Via micro USB connector**: The most common method during development and programming
140
+
-**Via `VIN` pin**: Using an external +5-18 VDC power supply that will be internally regulated to +5 VDC

144
+
145
+
***__Important note:__ The Nano 33 BLE Sense Rev2's `VIN` pin accepts a voltage range of +5-18 VDC. Do not connect voltages outside this range as you could permanently damage the board. Always verify all the connections before applying power.***
146
+
147
+
### Hello World Example
148
+
149
+
Let's program the Nano 33 BLE Sense Rev2 to reproduce the classic `Hello World` example used in the Arduino ecosystem: the `Blink` sketch. We will use this example to verify that the Nano 33 BLE Sense Rev2's connection to the computer works correctly, that the Arduino IDE is properly configured, and that both the board and development environment function as expected.
150
+
151
+
First, connect your Nano 33 BLE Sense Rev2 to your computer using a micro USB cable, open the Arduino IDE, and make sure that the board is connected correctly. If you are new to the Arduino IDE, please refer to the official Arduino documentation for more detailed information about initial setup. Copy and paste the following example sketch into a new Arduino IDE file:
152
+
153
+
```arduino
154
+
/*
155
+
Blink
156
+
157
+
Turns an LED on for one second, then off for one second, repeatedly.
158
+
159
+
Most Arduinos have an on-board LED you can control. On the UNO, MEGA and ZERO
160
+
it is attached to digital pin 13, on MKR1000 on pin 6. LED_BUILTIN is set to
161
+
the correct LED pin independent of which board is used.
162
+
If you want to know what pin the on-board LED is connected to on your Arduino
163
+
model, check the Technical Specs of your board at:
// the setup function runs once when you press reset or power the board
179
+
void setup() {
180
+
// initialize digital pin LED_BUILTIN as an output.
181
+
pinMode(LED_BUILTIN, OUTPUT);
182
+
}
183
+
184
+
// the loop function runs over and over again forever
185
+
void loop() {
186
+
digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
187
+
delay(1000); // wait for a second
188
+
digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
189
+
delay(1000); // wait for a second
190
+
}
191
+
```
192
+
193
+
To upload the sketch to the board, click the **Verify** button to compile the sketch and check for errors, then click the **Upload** button to program the device with the sketch.
194
+
195
+
You should see the built-in orange user LED of your Nano 33 BLE Sense Rev2 board turn on for one second, then turn off for one second, repeating this cycle continuously.
0 commit comments