[SER] Taking snapshot... [WS ] Failed to sample data Timeout when waiting for OK (timeout: 1000) AT+SNAPSHOT=64,64,y

I have an ESP32 M5STACK FISH EYE Module and I have an Edge Impulse project set up…
now whenever I have connect my edge impulse project to my device and try to take snapshots it says
[SER] Entering snapshot stream mode…
[WS ] Incoming sampling request {
path: ‘/api/training/data’,
label: ‘sample’,
length: 60000,
interval: 0,
hmacKey: ‘3bfc7308e20c04e1787463d103c40d6e’,
sensor: ‘Camera (64x64)’
}
[SER] Taking snapshot…
[WS ] Failed to sample data Timeout when waiting for
OK (timeout: 1000) AT+SNAPSHOT=64,64,y

Hello @divyasnhundley,

Only the ESP-EYE can run the official firmware, if you want to run it on the M5Stack, you need to modify the firmware and apply some changes, see here: Espressif ESP-EYE (ESP32) - Edge Impulse Documentation

Best,

Louis

@divyasnhundley

  • A good starting point might be this ESP code that uses the AI Thinker camera.
  • I’d start by changing the pin definitions to match your ESP32 M5STACK FISH EYE.
    • Note that the code uses the ESP library esp_camera.h that gets installed when you add the ESP Core in the Arduino Boards Manager. Installing the FISH EYE might add in different libraries. So different #includes may be needed at the top on the INO.