Edge Impulse Docs

Edge Impulse Documentation

Welcome to the Edge Impulse documentation. You'll find comprehensive guides and documentation to help you start working with Edge Impulse as quickly as possible, as well as support if you get stuck. Let's jump right in!

ST B-L475E-IOT01A

The ST IoT Discovery Kit (also known as the B-L475E-IOT01A) is a development board with a Cortex-M4 microcontroller, MEMS motion sensors, a microphone and WiFi - and it's fully supported by Edge Impulse. You'll be able to sample raw data, build models, and deploy trained neural networks directly from the studio. It's available for around 50 USD from a variety of distributors including Digikey and Mouser.

The Edge Impulse firmware for this development board is open source and hosted on GitHub: edgeimpulse/firmware-st-b-l475e-iot01a.

Two variants of this board

There are two variants of this board, the B-L475E-IOT01A1 (US region) and the B-L475E-IOT01A2 (EU region) - the only difference is the sub-GHz radio. Both are usable in Edge Impulse.

ST B-L475E-IOT01A development board

ST B-L475E-IOT01A development board

Installing dependencies

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

  1. Node.js v12 or higher.
  2. On Windows:
    • ST Link - drivers for the development board. Run dpinst_amd64 on 64-bits Windows, or dpinst_x86 on 32-bits Windows.
  3. On Linux:
    • GNU Screen - install for example via sudo apt install screen.
  4. The Edge Impulse CLI and a serial monitor. Install by opening a command prompt or terminal and run:
npm install -g edge-impulse-cli @serialport/terminal

Problems installing the CLI?

.

Connecting to Edge Impulse

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

1. Connect the development board to your computer

Use a micro-USB cable to connect the development board to your computer. There are two USB ports on the development board, use the one the furthest from the buttons.

2. Update the firmware

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

  1. The development board is mounted as a USB mass-storage device (like a USB flash drive), with the name DIS_L4IOT. Make sure you can see this drive.
  2. Download the latest Edge Impulse firmware.
  3. Drag the DISCO-L475VG-IOT01A.bin file to the DIS_L4IOT drive.
  4. Wait until the red/yellow LEDs stopped flashing.

3. Setting keys and WiFi credentials

From a command prompt or terminal, run:

$ edge-impulse-daemon

This will start a wizard which will ask you to log in, choose an Edge Impulse project, and set up your WiFi network.

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.

Device connected to Edge Impulse.

Next steps: building a machine learning model

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

Troubleshooting

Unable to set up WiFi with ST B-L475E-IOT01A development board

If you experience the following error when attempting to connect to a WiFi network:

? WiFi is not connected, do you want to set up a WiFi network now? Yes
Scanning WiFi networks...Error while setting up device Timeout

You have hit a known issue with the firmware for this development board's WiFi module that results in a timeout during network scanning if there are more than 20 WiFi access points detected. If you are experiencing this issue, you can work around it by attempting to reduce the number of access points within range of the device, or by skipping WiFi configuration.

Updated 21 days ago

ST B-L475E-IOT01A


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.