Dernière mise à jour le 13 janvier 2024 par Suffocation
I'd asked for a Arduino Nano 33 BLE Sense Rev2 bestellt und einen Nano 33 BLE bekommen. Nun ja „Mann“ nimmt was „Mann“ bekommt ;). Nein ich werde hier nicht gendern weil das die Tatsachen verdrehen würde. Bewvor ich noch weiter abschweife, ich habe also das ding seit vorletztem Jahr unausgepackt in der Kiste liegen. Da ich mich gerade mit Bluetooth Joysticks, Gamepads und sonstige beschäftige und ein Board aus meinen Fundus nehmen wollte habe ich als den Nano 33 BLE ausgepackt und werde ihn hier sehr kurz vorstellen.
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
Hier ein Überberblick über die technischen Daten. Ich habe zum BLE den Ur-Nano und den IOT mit dazu genommen.
| 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
Das der Nano33Ble selbst muss über den Board Manager installiert werden.
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
Der IMU Ship ist ein LSM9DS und Arduino bietet hierfür eine eigenen Biliothek. Die Installation ist über den Bibliothekar möglich.

Bluetooth
Für Bluetooth hat Arduino eine eigene Bibliothek die alle ihre Chips unterstützen.
It's already installed on my end, which is why it says 'Remove'.

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.
Testprogramm auswählen, compilieren und auf den Arduino spielen.

Android App fürs Handy installieren um werte and das Bluetooth device zu schicken.
Nagut auch für Apfelnutzer:
Launch Application

Select device
Unten eine 0 = für LED aus bzw. alles andere für LED an eintragen und den Write Knopf drücken.
Miscellaneous
Programmieren über das Netzwerk
https://github.com/jandrassy/ArduinoOTA
Fritzing part
https://content.arduino.cc/assets/Arduino%20Nano%2033%20BLE%20Sense.fzpz
5 Volt supply to activate
Am 5 Volt Pin kann die 5V USB Spannung angezapft werden. Dies ist gut für Sensoren die eine 5V Versorgungsspannung brauchen. Aber bitte aufpassen, 5V an den Eingängen kann den Nano beschädigen.
Der 5V Pin ist bei Auslieferung nicht angeschlossen. Hierfür sind zwei Kontaktfelder auf der Unterseite, die mittels Lötzinn verbunden werden müssen. Siehe hierzu auch die folgende Abbildung.

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 mit dem PC oder Mac ist aktuell nicht vom Arduino BLE understützt. Dies disqualifiziert das Board zum beispiel als reguläres HID Device oder als BLE Lautsprecher. Unter Windows MAC can das Board zumbeispiel über Web Bluetooth API, JavaScript und 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
Der Nano 33 BLE ist aus meiner Sicht völlig überteuert, jeder beliebge ESP32 kann fast genaso so viel. Aber nur fast, die IMU mit 9 Freiheitsgraden ist ein echter Gewinn und nicht ganz billig was sicherlich zum hohen Preis beiträgt. Auch ist das Board im bekannten Formfaktor perfekt für ein Breadboard geeignet was bei den meisten ESP Boards nicht klappt. Die Integration in die Arduino GUI ist wie gewohnt gut. Hervozuheben sind die analogen Ports und die Interupts die an allen digitalen pins funktionieren.
Der kleiner Wehrmutsdropfen bleibt, der hohe Preis von ~22€. Wer nicht so viele Ports braucht ist mit dem ESP32 günstiger unterwegst und bekommt unter 10€ noch ein Display und WLan dazu. Die IMU muss jedoch extern betrieben werden.
Der USB Port ist etwas gewöhnungsbedürftig, nach dem Programmieren wird ein Reset durchgeführt, das erinnert an den Leonardo. Auch ist der Mico USB Port nicht mehr ganz zeitgemäß.
Verwandte Beiträge
Sources
Arduino Bluetooth Contribution
https://github.com/jandrassy/ArduinoOTA
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
| Date | Change | Author |
|---|---|---|
| 11.01.2024 | Post created | Suffocation |