Question/Issue:
When I try to stream audio from my Arduino Nicla Voice into Edge Impulse via the edge-impulse-daemon
, sampling immediately fails with a timeout error (AT+SAMPLESTART=Microphone
).
Project ID:
DEEPKAKADIYA-project-1 (635596)
Context/Use case:
I’m building a keyword-spotting model. I need to collect raw microphone data from the Nicla Voice over USB so I can label it and train in Edge Impulse.
Steps Taken:
- Installed Edge Impulse CLI (v1.32.1) on macOS
- Flash-loaded the pre-compiled Nicla Voice firmware
- Ran the provided
.sh
script to start the daemon - Tried
edge-impulse-daemon --clean
- Swapped USB cables and ports
- Tweaked the AT-command baud rate in the launch script
Expected Outcome:
The daemon finds the Nicla Voice, enters sampling mode, and begins streaming microphone frames into the Edge Impulse Studio “Data acquisition” page.
Actual Outcome:
Sampling immediately errors out with:
Sampling failed
Timeout when waiting for > (timeout: 35000)
AT+SAMPLESTART=Microphone
Reproducibility:
100% — it always times out.
Environment:
- Board: Arduino Nicla Voice
- OS: macOS 14.4 (Ventura)
- Edge Impulse CLI: 1.32.1
- Python: 3.11.x
- Edge Impulse Studio: v1.71.22
-
Firmware: Audio firmware given Official documentation