Tokay Lite

Open source, no-code, battery-powered Edge AI camera with night vision, motion detection, and TensorFlow Lite support

Sep 10, 2024

Project update 9 of 9

Firmware and Documentation Updates

by Max Olender

Hi everyone,

We have made some significant updates to the Tokay Lite firmware. We checked the factory firmware, and the code for the LED indication was missing. The LED soldered by the fab is red. We have now fixed this in the docs.

The device firmware can be upgraded to the latest one using the guide here: https://docs.maxlab.io/docs/edge-ai-tokay-lite/firmware/

Please note that ESP32-IDF was also updated. The newest firmware requirement is to have ESP32 IDF of v5.3 to be installed. If you haven’t already, you can check the official guide on the ESP32 IDF installation here: https://docs.espressif.com/projects/esp-idf/en/stable/esp32/get-started/index.html

Apart from the indication, the rest should work fine. If you hold the power button, the WiFi AP should display "tokay-lite" as accessible so you can connect with your smartphone or laptop and further configure the network parameters.

Holding the PWR button might be confusing, so here is the explanation of why that is:

The Tokay Lite power management wake-up relies on the external power switch. During the normal operation, the software must control the power trigger using PWR_EN GPIO. Setting PWR_EN to HIGH will maintain the power, while setting PWR_EN to LOW will disconnect the power and cause the board to fall into sleep mode.

During the flashing procedure, the main firmware can’t control that GPIO. This means that as soon as flashing starts, the GPIO will be released, and the board will sleep.

To avoid that, you need to keep the SW1/PWR button pressed until the flashing or boot sequence is over. The boot sequence usually takes 3-5 seconds.

The schematics related to that feature can be seen below:

Complete schematics can be found here: https://docs.maxlab.io/assets/tokay-lite/ai-camera-rev2-schematics.png

We’ll update the docs to clarify that mechanism soon.

Regards,
Max
Maxlab team


Sign up to receive future updates for Tokay Lite.

Subscribe to the Crowd Supply newsletter, highlighting the latest creators and projects