
SmartwatchProject
AngeloDuenas/SmartwatchProject
This is an ESP32 demo project showcasing LVGL v7 with support for several display controllers and touch controllers. The demo application is the lvdemowidgets project from the lvexamples repository.

This is an ESP32 demo project showcasing LVGL v7 with support for several display controllers and touch controllers. The demo application is the lvdemowidgets project from the lvexamples repository.
C6WiFI is an open-source printed circuit board by AngeloDuenas, from the AngeloDuenas/SmartwatchProject repository on GitHub, published under the MIT licence. It is a 2-layer board of 15.8 × 20.3 mm with 26 parts on 39 nets, routed with 83 tracks and 0 vias.
It is built around the ESP32-C6, ZL6201A33S3 and SX2M32.768KM20F30TNN. Its parts include 11 capacitors, 6 connectors, 2 crystals, 1 IC and 1 diode. It belongs with the ESP32 and RISC-V boards of this library.
This is an ESP32 demo project showcasing LVGL v7 with support for several display controllers and touch controllers.
The demo application is the lv_demo_widgets project from the lv_examples repository.
Example demo for TFT displays:

Monochrome support:

The display and touch (indev) controllers are now into it's own repository, you can find it here.
To report any issue or add new display or touch (indev) drivers you can do so in the lvgl_esp32_drivers repo.
This project tries to be compatible with both the ESP-IDF v3.x and v4.0, but using v4.0 is recommended.
Instructions assume you are using the v4.x toolchain, otherwise use the make commands, e.g. instead of running idf.py menuconfig, run make menuconfig.
Clone this project by git clone --recurse-submodules https://github.com/lvgl/lv_port_esp32.git, this will pull this repo and its submodules.
Get into the created lv_port_esp32 directory.
Run idf.py menuconfig
Configure LVGL in Components config->LVGL Configuration. For monochrome displays use the mono theme and we suggest enabling the unscii 8 font.
Configure your display and/or touch controllers in Components config->LVGL TFT Display Configuration and Components config->LVGL TOUCH Configuration.
Store your project configuration.
Build the project with idf.py build
If the build don't throw any errors, flash the demo with idf.py -p (YOUR SERIAL PORT) flash (with make this is just make flash - in 3.x PORT is configured in menuconfig)
LVGL now includes a Kconfig file which is used to configure most of the LVGL configuration options via menuconfig, so it's not necessary to use a custom lv_conf.h file.
It is recommended to add LVGL as a submodule in your IDF project's git repo.
From your project's root directory:
components (if you don't have one already) with mkdir -p components.components directory with git submodule add https://github.com/lvgl/lvgl.git components/lvglidf.py menuconfig, go to Component config then LVGL configuration to configure LVGL.It is recommended to add lvgl_esp32_drivers as a submodule in your IDF project's git repo.
From your project's root directory:
components (if you don't have one already) with mkdir -p components.components directory with git submodule add https://github.com/lvgl/lvgl_esp32_drivers.git components/lvgl_esp32_driversidf.py menuconfig, go to Component config then LVGL TFT configuration and LVGL TFT Display configuration to configure lvgl_esp32_drivers.Using the lv_platformio project add the following lines to platformio.ini file:
[env:esp32]
platform = espressif32
framework = espidf
board = esp-wrover-kitChange the default environment to default_envs = esp32.
Modify the main.c like this:
#include "lvgl.h"
// #include "driver.h"
#include "demo.h"
int app_main(void)
{
lv_init();
/* Initialize your hardware. */
/* hw_init(); */
demo_create();
/* Create the UI or start a task for it.
* In the end, don't forget to call `lv_task_handler` in a loop. */
/* hw_loop(); */
return 0;
}For more information see: platformio with espidf framework compability.
Support for ESP32-S2 variant is Work In Progress. Smaller displays (e.g. 320x240) work fine, but larger ones need testing.
ESP32-S2 has less on-chip SRAM than its predecessor ESP32 (520kB vs. 320kB). This causes problems with memory allocation with large LVGL display buffers as they don't fit into the on-chip memory and external PSRAM is not accessible by DMA.
Moreover, static allocation to external PSRAM is not yet supported (see GitHub issue).
At this momement, the buffers are dynamicaly allocated with DMA capabilty and memory allocator handles the rest.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 5 | 1uf | Capacitor_SMD:C_0402_1005Metric | C1, C2, C7, C8, C10 |
| 2 | 22pF | Capacitor_SMD:C_0402_1005Metric | C4, C6 |
| 2 | 22pf | Capacitor_SMD:C_0402_1005Metric | C3, C5 |
| 2 | 3.3pF | Capacitor_SMD:C_0201_0603Metric | C12, C13 |
| 2 | Conn_01x04 | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J4, J6 |
| 2 | Conn_01x08 | Connector_PinHeader_1.27mm:PinHeader_1x08_P1.27mm_Vertical | J2, J3 |
| 2 | TestPoint | TestPoint:TestPoint_Pad_D1.5mm | TP1, TP2 |
| 1 | 2.2nH | Inductor_SMD:L_0201_0603Metric | L1 |
| 1 | 2016-4P 40MHz | Crystal:Crystal_SMD_2016-4Pin_2.0x1.6mm | Y1 |
| 1 | Conn_01x04 | Connector_PinHeader_1.27mm:PinHeader_1x04_P1.27mm_Vertical | J5 |
| 1 | Conn_01x06 | Connector_PinHeader_1.27mm:PinHeader_1x06_P1.27mm_Vertical | J1 |
| 1 | ESP32-C6 | Package_DFN_QFN:QFN-40-1EP_5x5mm_P0.4mm_EP3.6x3.6mm | MCU1 |
| 1 | SOD-523 General | Diode_SMD:D_SOD-523 | D1 |
| 1 | SX2M32.768KM20F30TNN | Crystal:Crystal_SMD_2520-4Pin_2.5x2.0mm | Y2 |
| 1 | WIFI_ANT | RF_Antenna:Texas_SWRA117D_2.4GHz_Left | ANT1 |
| 1 | ZL6201A33S3 | Package_TO_SOT_SMD:SOT-23 | U2 |

AngeloDuenas/SmartwatchProject
This is an ESP32 demo project showcasing LVGL v7 with support for several display controllers and touch controllers. The demo application is the lvdemowidgets project from the lvexamples repository.

Zipra1/Fuimini-V2
nRF flavoured SlimeVR-compatible trackers. Now with higher volume production in mind!



SunnyYoshimitsu/CelestiCall
An attempt at making a somewhat modern smartphone with many functions.

kinggh0stee/WellD
ESP32-C6 Zigbee well monitor — reads a 4–20 mA pressure transducer and DS18B20, reports water level, temperature, and battery to Zigbee2MQTT with OTA update support


notaroomba/ledify
A super small addressable LED controller with USB-C PD up to 100W, a switchable 5V/12V output and Bluetooth!

It measures 15.8 × 20.3 mm and has 2 copper layers, 1.6 mm thick.
26 parts, built around the ESP32-C6, ZL6201A33S3 and SX2M32.768KM20F30TNN. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the AngeloDuenas/SmartwatchProject repository on GitHub, at the commit this page was made from: the board is CustomWiFi/CustomWiFi - Copy/C6WiFI.kicad_pcb and its schematic CustomWiFi - Copy/CustomWiFi - Copy/C6WiFI.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).