ForestHub Logo ForestHub Logo ForestHub

Hardware-Leitfaden

nRF52840 für Voice Recognition mit Edge Impulse

The Arduino Nano 33 BLE Sense runs keyword spotting with Edge Impulse using its built-in MP34DT05 microphone. The 256 KB SRAM handles small keyword models (5-8 commands), though the 64 MHz clock limits vocabulary size compared to faster MCUs.

Veröffentlicht 2026-04-01

Hardware-Spezifikationen

Spez. nRF52840
Prozessor ARM Cortex-M4F @ 64 MHz
SRAM 256 KB
Flash 1 MB
Konnektivität Bluetooth 5.0 LE, 802.15.4 (Thread/Zigbee), NFC, USB 2.0
Preisbereich $5-8 (Chip), $20-35 (Board)

Kompatibilität: Eingeschränkt

The Arduino Nano 33 BLE Sense's built-in microphone is the key advantage — no external hardware needed for voice input. Edge Impulse's audio classification pipeline handles MFCC extraction, training, and deployment as a single workflow. The 256 KB SRAM provides 2x the 128 KB minimum for voice models, but this is tight: a keyword model plus audio buffers and MFCC features leave under 100 KB for the application. The 64 MHz Cortex-M4F is the main constraint — MFCC computation on 1-second audio windows takes 50-100ms, consuming a significant portion of the real-time budget. This limits the vocabulary to 5-8 keywords for reliable real-time operation. Larger vocabularies require more complex models that exceed the RAM and latency budget. Edge Impulse's built-in keyword detection pipeline is well-optimized for the nRF52840, and their documentation includes Arduino Nano 33 BLE-specific tutorials. BLE enables forwarding recognized keywords to connected devices. Rating is 'Possible' because it works but with clear limitations that faster MCUs do not have.

Erste Schritte

  1. 1

    Connect Nano 33 BLE Sense to Edge Impulse

    Flash Edge Impulse firmware or use edge-impulse-daemon. The built-in MP34DT05 microphone streams audio directly to Edge Impulse Studio. Überprüfe audio quality in the data collection view — the Sense variant's mic is adequate for keyword spotting within 1 meter.

  2. 2

    Record keyword samples

    In Edge Impulse Studio, record 50+ samples per keyword (1 second each). Include a 'noise' class with 100+ samples of background sounds. Also include a 'unknown' class with non-keyword speech. More samples improve robustness to speaker variation.

  3. 3

    Configure audio classification pipeline

    Select MFCC for audio processing and Classification (Keras) for the learning block. Edge Impulse automatically configures MFCC parameters for keyword spotting. Check the estimated latency — target under 200ms total for the Nano 33 BLE.

  4. 4

    Deploy as Arduino library

    Export from Edge Impulse as an Arduino library. Include in your sketch via #include. The library provides a continuous audio sampling loop that feeds MFCC features to the classifier. Map keyword detections to BLE characteristics or GPIO outputs.

Alternativen

ESP32-S3 with TFLite Micro

2x the SRAM (512 KB), 4x the clock (240 MHz), and Wi-Fi. Supports larger vocabularies (20+ keywords). Requires external microphone but offers better performance and connectivity.

STM32H7 with TFLite Micro

4x the SRAM (1 MB), 7x the clock (480 MHz). Supports 30+ keyword vocabularies. CMSIS-NN accelebewertet. For professional voice control applications that need high accuracy and large vocabularies.

Häufige Fragen

How many keywords can the Arduino Nano 33 BLE recognize?
Reliably 5-8 keywords plus noise and unknown classes. The 256 KB SRAM and 64 MHz clock limit model complexity. Each additional keyword adds ~5 KB to the model and increases inference latency by 5-10ms. Beyond 8 keywords, accuracy drops and latency approaches the real-time deadline.
Does the Arduino Nano 33 BLE have a built-in microphone?
The Sense variant does — an MP34DT05 MEMS microphone connected via PDM. The standard Nano 33 BLE (non-Sense) does not include a microphone and requires an external I2S or analog mic module.
Can I use Edge Impulse für spracherkennung?
Yes. Edge Impulse's free tier supports individual developers with up to 5 projects, unlimited data collection, and Arduino library export. The Nano 33 BLE is one of the officially supported Arduino boards with pre-built firmware.

Voice-AI-Agents mit ForestHub orchestrieren

Die Schlüsselwort-Erkennung läuft on-device; ForestHub auf dem Linux-Edge-Gateway routet Events, ergänzt LLM-Reasoning als einen Knoten und handelt — durchgängig replayfähig und auditierbar.

Kostenlos starten