Question/Issue:
Cannot get Camera to work on Arduino H7 rev2 and Vision Shield rev1 Ethernet
Project ID:
[Provide the project ID] 746082
Context/Use case:
[Provide context or use case where the issue is encountered]
Download the Edge Impulse H7 library and try to take a photo from Edge Studio. I am not trying to run any AI model just yet. I just wanted to take one sample
Steps Taken:
- Download the firmware from https://cdn.edgeimpulse.com/firmware/arduino-portenta-h7.zip
- Run flash_windows.bat and it all programs fine
- Run edge-impulse-daemon , login and connect to my project
- It says h7 connected
- Go to Data Acquisition, select Camera 320x240 and choose Start Sampling
- The CLI shows this error and on the Studio webpage the same TIMEOUT error
[SER] Entering snapshot stream mode…
[WS ] Device “arduino h7 2” is now connected to project “Car Detection v2”. To connect to another project, run edge-impulse-daemon --clean
.
[WS ] Go to Car Detection v2 - Data acquisition - Edge Impulse to build your machine learning model!
[WS ] Incoming sampling request {
path: ‘/api/training/data’,
label: ‘test2’,
length: 60000,
interval: 0,
hmacKey: ‘9afe4896ebe7a87b87e795e25ce42397’,
sensor: ‘Camera (320x240)’
}
[WS ] Failed to sample data Error: Timeout when waiting for snapshot to be started or idle
at RemoteMgmt.waitForSnapshotStartedOrIdle (C:\Users\ejl034\AppData\Roaming\npm\node_modules\edge-impulse-cli\build\cli-common\remote-mgmt-service.js:616:23)
at async WebSocket. (C:\Users\ejl034\AppData\Roaming\npm\node_modules\edge-impulse-cli\build\cli-common\remote-mgmt-service.js:235:29)
C:\Users\ejl034\AppData\Roaming\npm\node_modules\edge-impulse-cli\build\cli-common\remote-mgmt-service.js:616
throw new Error(‘Timeout when waiting for snapshot to be started or idle’);
^
Error: Timeout when waiting for snapshot to be started or idle
at RemoteMgmt.waitForSnapshotStartedOrIdle (C:\Users\ejl034\AppData\Roaming\npm\node_modules\edge-impulse-cli\build\cli-common\remote-mgmt-service.js:616:23)
at async WebSocket. (C:\Users\ejl034\AppData\Roaming\npm\node_modules\edge-impulse-cli\build\cli-common\remote-mgmt-service.js:368:21)
Node.js v22.17.0
Expected Outcome:
To be able to take picture
Actual Outcome:
Timeout
Reproducibility:
- [X ] Always
Environment: Arduino H7 ABX00042 REV2 + ARDUINO ASX00021 CAMERA description on the box HM-01B0
- Platform: N/A
- Build Environment Details: N/A
- OS Version: Window 11
- Edge Impulse Version (Firmware): should not matter I am not running an impulse
- To find out Edge Impulse Version:
- if you have pre-compiled firmware: run edge-impulse-run-impulse --raw and type AT+INFO. Look for Edge Impulse version in the output.
- if you have a library deployment: inside the unarchived deployment, open model-parameters/model_metadata.h and look for EI_STUDIO_VERSION_MAJOR, EI_STUDIO_VERSION_MINOR, EI_STUDIO_VERSION_PATCH
- Edge Impulse CLI Version: [e.g., 1.5.0] Edge Impulse serial daemon v1.33.1
- Project Version: [e.g., 1.0.0] - dont matter
-
Custom Blocks / Impulse Configuration: None I just want to take a sample picture
Logs/Attachments:
[SER] Entering snapshot stream mode…
[WS ] Device “arduino h7 2” is now connected to project “Car Detection v2”. To connect to another project, runedge-impulse-daemon --clean
.
[WS ] Go to Car Detection v2 - Data acquisition - Edge Impulse to build your machine learning model!
[WS ] Incoming sampling request {
path: ‘/api/training/data’,
label: ‘test2’,
length: 60000,
interval: 0,
hmacKey: ‘9afe4896ebe7a87b87e795e25ce42397’,
sensor: ‘Camera (320x240)’
}
[WS ] Failed to sample data Error: Timeout when waiting for snapshot to be started or idle
at RemoteMgmt.waitForSnapshotStartedOrIdle (C:\Users\ejl034\AppData\Roaming\npm\node_modules\edge-impulse-cli\build\cli-common\remote-mgmt-service.js:616:23)
at async WebSocket. (C:\Users\ejl034\AppData\Roaming\npm\node_modules\edge-impulse-cli\build\cli-common\remote-mgmt-service.js:235:29)
C:\Users\ejl034\AppData\Roaming\npm\node_modules\edge-impulse-cli\build\cli-common\remote-mgmt-service.js:616
throw new Error(‘Timeout when waiting for snapshot to be started or idle’);
^
Error: Timeout when waiting for snapshot to be started or idle
at RemoteMgmt.waitForSnapshotStartedOrIdle (C:\Users\ejl034\AppData\Roaming\npm\node_modules\edge-impulse-cli\build\cli-common\remote-mgmt-service.js:616:23)
at async WebSocket. (C:\Users\ejl034\AppData\Roaming\npm\node_modules\edge-impulse-cli\build\cli-common\remote-mgmt-service.js:368:21)
Node.js v22.17.0
Additional Information:
[Any other information that might be relevant]