esp-brookesia

ESP-Brookesia is a human-machine interaction development framework designed for AIoT devices.

APACHE-2.0 License

Stars
45
Committers
1

Latest Arduino Library Version:

Latest Espressif Component Version:

ESP-Brookesia

Overview

ESP-Brookesia is a human-machine interaction development framework designed for AIoT devices. It aims to simplify the processes of user UI design and application development by supporting efficient development tools and platforms, thereby accelerating the development and market release of customers' HMI application products.

[!NOTE] "Brookesia" is a genus of chameleons known for their ability to camouflage and adapt to their surroundings, which closely aligns with the goals of the ESP-Brookesia. This framework aims to provide a flexible and scalable UI solution that can adapt to various devices, screen sizes, and application requirements, much like the Brookesia chameleon with its high degree of adaptability and flexibility.

The key features of ESP-Brookesia include:

  • Developed in C++, it can be compiled for PC or ESP SoCs platforms and supports VSCode, ESP-IDF, and Arduino development environments.
  • Offers a rich set of standardized system UIs with support for dynamic UI style adjustments.
  • Implements an app-based application management approach, ensuring UI isolation and coexistence across multiple apps, enabling users to focus on UI implementation within their target app.
  • Application UIs are compatible with "Squareline exported code" development methods.

The system UI functionality demonstration is as follows:

The functional block diagram of ESP-Brookesia is as follows, mainly consisting of the following components:

  • System UI Core: Implements the unified core logic of all system UIs, including app management, stylesheet management, event management, etc.
  • System UI Widgets: Encapsulates common widgets for system UIs, including status bar, navigation bar, gesture, etc.
  • System UIs: Implements various types of system UIs based on "System UI Core" and "System UI Widgets".
  • Squareline: Contains multiple versions of ui_helpers files exported from "Squareline Studio" to avoid function name conflicts when used across multiple apps.
  • Fonts: Contains the default fonts used by the system UIs.

Usage

Please refer to the documentation - How to Use.

System UIs

Currently, ESP-Brookesia offers the following system UIs:

System UI Widgets

Please refer to the documentation - System UI Widgets.