Arduino Nano 33 BLE

Dernière mise à jour le 13 janvier 2024 par Suffocation

I'd asked for a Arduino Nano 33 BLE Sense Rev2 ordered and received a Nano 33 BLE. Oh well, „man“ takes what „man“ gets ;). No, I won't be using gender-neutral language here because that would distort the facts. Before I ramble on any further, I've had the thing lying in its box, unopened, since the year before last. As I'm currently busy with Bluetooth joysticks, gamepads, and other things and wanted to take a board from my stash, I unpacked the Nano 33 BLE and will give a very brief introduction here.

ATTENTIONThis Nano is not compatible with the original Nano as it operates at 3.3V instead of 5V. This is also indicated by the 33 in the name.

Facts

Here's an overview of the technical data. I've also included the original Nano and the IoT for BLE.

Name Arduino Nano Arduino Nano 33 IoT Arduino Nano 33 BLE
Number/CPU 1 / ATmega328 2 / SAMD21 Cortex®-M0+ 32-bit low-power ARM MCU 1 / 64 MHz Arm® Cortex-M4F (with FPU)
Clock speed (MHz) 16 48 64
Kernel 1 ?/? 1
Digital IOs / Pins 14 14 14
Analog inputs 8 8 8
Interrupt Pins 2 11 14
Pulse Width Modulation 6 8 14
SPI 1 1 1
Flash memory 32k 256 1 megabyte
RAM (KB) 2000 32 256KB
EEPROM (KB) 1000
WiFi 2.4 GHz 802.11b/g/n
NINA-W102
Encryption WEB / WPA2 / TKIP / AES?
Bluetooth 4.2 BR/EDR / 4.2 Low power NINA-B306 Module Bluetooth® Low Energy 5.0 Module Bluetooth® 5 Multiprotocol / Zigbee
UART 1 1 1
I2C 1 1 1
Ethernet
Video
Sound
Miscellaneous LSM9DS1 (9-axis IMU)
MPM3610 DC regulator
NFC-A tag
Nina B306
USB 1 Mini 1 Micro
Operating voltage [V] 5-12V 3,3 3,3
Input voltage 5 21 21
Current (mA) / Standby (mA) 40 7 / 30
Size L x W x H 18x45x4 18x45x4 43,16 x 17,7
Weight [g] 7 7 5

Pinout

Schematic

Instructions

Areas of application

  • Bluetooth-controlled applications with the mobile phone
  • Human Interface Devices (Mouse, Keyboard, Joystick)
  • BLE Audio Applications

Views

Programming

Install Board

The Nano33Ble itself must be installed via the Board Manager.

Gui1.x

GUI 2.x

It's already installed on my end, which is why it says 'Remove'.

Libraries

IMU LSM9DS1

https://docs.arduino.cc/tutorials/nano-33-ble/imu-accelerometer

The IMU Ship is an LSM9DS and Arduino offers its own library for it. Installation is possible via the library manager.

Install LSM9D1 via the library manager

Bluetooth

For Bluetooth, Arduino has its own library that supports all of its chips.

It's already installed on my end, which is why it says 'Remove'.

ArduinoBLE library from the Library Manager

Test programme

Bluetooth

The ArduinoBLE library includes a simple test program. This can be used to switch the LED on and off on the Nano board via Bluetooth.
Select test program, compile and upload to Arduino.

Example LED from the ArduinoBLE library

Android app to install on the phone to send readings to the Bluetooth device.

LightBlue Google Play Store

It also works for Apple users:

LightBlue Apple Store

Launch Application

Blue Light Start-Bildtschirm
Blue Light Start Screen

Select device

Below, enter 0 = for LED off or anything else for LED on and press the Write button.

Miscellaneous

Programming over the network

https://github.com/jandrassy/ArduinoOTA

Fritzing part

https://content.arduino.cc/assets/Arduino%20Nano%2033%20BLE%20Sense.fzpz

5 Volt supply to activate

The 5V USB voltage can be tapped from the 5V pin. This is good for sensors that require a 5V supply voltage. But please be careful, 5V on the inputs can damage the Nano.

The 5V pin is not connected on delivery. For this, there are two contact pads on the underside, which must be connected with solder. Please also refer to the following diagram.

5 Volt Connection Activate – Image is from the 33 IoT but it is the same for the 33 BLE

Problems

No BLE connection on the phone

I suspect my Samsung Galaxy S8 is too old, I can see the Arduino in the Bluetooth monitor, but I can't use it in Light Blue.

Pairing with PC

Pairing with a PC or Mac is not currently supported by the Arduino BLE. This disqualifies the board, for example, as a regular HID device or as a BLE speaker. Under Windows and Mac, the board can be used, for example, via the Web Bluetooth API, JavaScript, and HTML5.

SOURCES

https://forum.arduino.cc/t/arduino-nano-33-ble-no-bluetooth-pairing/636789/5

https://developer.mozilla.org/en-US/docs/Web/API/Web_Bluetooth_API 49

https://googlechrome.github.io/samples/web-bluetooth/ 42

Conclusion

From my point of view, the Nano 33 BLE is completely overpriced; any ESP32 can do almost as much. But only *almost*. The 9-degrees-of-freedom IMU is a real bonus and isn't cheap, which certainly contributes to the high price. Also, being in the familiar form factor, the board is perfect for a breadboard, which isn't the case for most ESP boards. The integration into the Arduino GUI is, as usual, good. Worth highlighting are the analogue ports and the interrupts that work on all digital pins.

The small drop of disappointment remains, the high price of ~22€. For those who don't need so many ports, it's with the ESP32 cheaper on the go and includes a display and Wi-Fi for under €10. However, the IMU has to be operated externally.

The USB port takes a bit of getting used to; after programming, a reset is performed, which is reminiscent of the Leonardo. The micro USB port is also no longer entirely up-to-date.

Related Posts

Sources

Arduino manufacturer's page

Arduino Bluetooth Contribution

https://github.com/jandrassy/ArduinoOTA

Comparison of the new Nanos by Andreas Spiess

https://gilberttanner.com/blog/arduino-nano-33-ble-sense-overview

https://forum.arduino.cc/t/arduino-nano-33-ble-no-bluetooth-pairing/636789/5

https://developer.mozilla.org/en-US/docs/Web/API/Web_Bluetooth_API 49

https://googlechrome.github.io/samples/web-bluetooth/ 42


Leave a Reply

Your email address will not be published. Required fields are marked *