Seeed Grove - Vision AI Module

Grove - Vision AI Module is a thumb-sized board based on Himax HX6537-A processor which is equipped with a 2-Megapixel OV2640 camera, microphone, 3-axis accelerometer and 3-axis gyroscope. It offers storage with 32 MB SPI flash, comes pre-installed with ML algorithms for face recognition and people detection and supports customized models as well. It is compatible with the XIAO ecosystem and Arduino, all of which makes it perfect for getting started with AI-powered machine learning projects!

It is fully supported by Edge Impulse which means you will be able to sample raw data from each of the sensors, build models, and deploy trained machine learning models to the module directly from the studio without any programming required. Grove - Vision AI Module is available for purchase directly from Seeed Studio Bazaar.

Quick links access:

Installing dependencies

To set this board up in Edge Impulse, you will need to install the following software:

  1. On Linux:

    • GNU Screen: install for example via sudo apt install screen.

  2. Download the latest Bouffalo Lab Dev Cube

Problems installing the Edge Impulse CLI?

See the Installation and troubleshooting guide.

Connecting to Edge Impulse

With all the software in place it's time to connect the board to Edge Impulse.

1. Update BL702 chip firmware

BL702 is the USB-UART chip which enables the communication between the PC and the Himax chip. You need to update this firmware in order for the Edge Impulse firmware to work properly.

  1. Get the latest bootloader firmware (tinyuf2-grove_vision_ai_vX.X.X.bin)

  2. Connect the board to the PC via a USB Type-C cable while holding down the Boot button on the board

  3. Open previously installed Bouffalo Lab Dev Cube software, select BL702/704/706, and then click Finish

  4. Go to MCU tab. Under Image file, click Browse and select the firmware you just downloaded.

  5. Click Refresh, choose the Port related to the connected board, set Chip Erase to True, click Open UART, click Create & Download and wait for the process to be completed .

You will see the output as All Success if it went well.

Note: If the flashing throws an error, try to click Create & Download multiple times until you see the All Success message.

2. Update Edge Impulse firmware

The board does not come with the right Edge Impulse firmware yet. To update the firmware:

  1. Download the latest Edge Impulse firmware and extract it to obtain firmware.uf2 file

  2. Connect the board again to the PC via USB Type-C cable and double-click the Boot button on the board to enter mass storage mode

  3. After this you will see a new storage drive shown on your file explorer as GROVEAI. Drag and drop the firmware.uf2 file to GROVEAI drive

Once the copying is finished GROVEAI drive will disappear. This is how we can check whether the copying is successful or not.

3. Setting keys

From a command prompt or terminal, run:

edge-impulse-daemon

This will start a wizard which will ask you to log in, and choose an Edge Impulse project. If you want to switch projects run the command with --clean.

Alternatively, recent versions of Google Chrome and Microsoft Edge can collect data directly from your board, without the need for the Edge Impulse CLI. See this blog post for more information.

4. Verifying that the device is connected

That's all! Your device is now connected to Edge Impulse. To verify this, go to your Edge Impulse project, and click Devices. The device will be listed here.

Device connected to Edge Impulse

Collecting data from Grove - Vision AI

With everything set up you can now build and run your first machine learning model with these tutorials:

Image models

Audio models

IMU models

Looking to connect different sensors? The Data forwarder lets you easily send data from any sensor into Edge Impulse.

Deploy model to Grove - Vision AI

After building the machine learning model and downloading the Edge Impulse firmware from Edge Impulse Studio, deploy the model uf2 to Grove - Vision AI by following steps 1 and 2 under Update Edge Impulse firmware section.

Compile Edge Impulse firmware from source

If you want to compile the Edge Impulse firmware from the source code, you can visit this GitHub repo and follow the instructions included in the README.

The model used for the official firmware can be found in this public project.

Last updated

Revision created

Merge branch 'main' into brickml