/xiao-prism-buddy

Prism Based Application using an ESP32C3, gesture sensor, display, and 50mm prism

Primary LanguageCApache License 2.0Apache-2.0

Xiao ESP32C3

Xiao Prism Buddy

This project is built on the ESP32 IoT Development Framework (IDF) and utilizes the C++ programming language for development.

license release repo-size

This project demonstrates the use of a splitter prism to create a three-dimensional display. Configuration is provided for connecting with a local home assistant install for fetching weather data for display on the device via animations.

Function

  • Time and animated weather display
  • Activity timers and presence detection for sleep behavior (hiding text)
  • Gesture sensor based control scheme
  • Animated gif browser
  • Cryptocurrency watcher

Third Party APIs

This application uses several third party APIs that provide free plans, see their sites for their respective license and rate limit information.

Dependencies

The following library versions were used for this example:

  • esp-idf: v5.0.4
  • LovyanGFX: v1.1.9
  • LVGL: v8.3.11

Preparing your environment

  1. Install esp-idf 5.0.4
  2. Export your environment for esp-idf
  3. Build, flash, and (optionally) monitor the deployment

Build and Flash

Run idf.py -p PORT flash monitor to build, flash and monitor the project.

(To exit the serial monitor, type Ctrl-].)

See the Getting Started Guide for full steps to configure and use ESP-IDF to build projects.

References

The SenseCAP Indicator ESP32 example indicator_basis project was used as a reference for the structure of this application with several files used and modified for this project: https://github.com/Seeed-Solution/SenseCAP_Indicator_ESP32/tree/main/examples/indicator_basis