LUX-ESP32 - Three Camera ESP32 Board

ESP32 SoM

The BW1092 is a modified version of the BW1098OBC with an added ESP32 System on Module (ESP32-WROOM-32). This board allows users to quickly prototype standalone embedded solutions.

Besides the standard DepthAI capabilites, the ESP32 gives users access to a lightweight processor with useful features such as Bluetooth, Bluetooth Low Energy (BTLE), and WiFi, and comes in a convenient FCC/CE-certified module.

Requirements

  • PC to program ESP32.

What’s in the box?

  • BW1092

  • BW1099EMB

  • USB3C cable (6 in.)

Setup

Install the Python API.

Verify installation

We’ll execute a DepthAI example Python script to ensure your setup is configured correctly. Follow these steps to test DepthAI:

  1. Start a terminal session.

  2. Clone the depthai example repository.

git clone https://github.com/luxonis/depthai.git
  1. Access your local copy of depthai.

cd [depthai repo]
  1. Install the example repository requirements.

python -m pip install -r requirements.txt
  1. Run demo script.

python3 depthai_demo.py

The script launches a window, starts the cameras, and displays a video stream annotated with object localization metadata:

Depth projection

In the screenshot above, DepthAI identified a TV monitor (1.286 m from the camera) and a chair (3.711 m from the camera).

See the list of object labels in our pre-trained OpenVINO model tutorial.

Using the ESP32/SPI Interface

A number of examples that show how to communicate with the ESP32 over SPI can be found here:

https://github.com/luxonis/depthai-experiments/tree/master/gen2-spi

All of these examples consist of two parts: An application that runs on the ESP32 and an application that runs on the MyriadX using the gen2 Pipeline Builder. More information on how to set up both of these can be found in that github’s README.