Skip to the content
2 layersSmartwatchProject, the printed circuit board in 3D

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.

Copper layers
2
Thickness
1.6 mm
Parts
7
Nets
55
Pads
131
Tracks, vias
3, 1
Pours
6
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
7 Jun 2025
Updated
2 Sep 2025

Overview

SmartwatchProject 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 with 7 parts on 55 nets, routed with 3 tracks and 1 via.

It is built around the ESP32-S3-WROOM-1-N8, AMS1117-3.3 and DS3231MZ+. Its parts include 5 ICs, 1 capacitor and 1 connector. It belongs with the ESP32 boards of this library.

Main components

3

README

README.md

LVGL project for ESP32

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.

  • Version of ESP-IDF required 4.2. NOTE: We're trying to make this repo backwards compatible, usage of idf.py is encouraged.
  • Version of LVGL used: 7.9.
  • Version of lv_examples used: 7.9.
Table of content

Example demo for TFT displays:

Example GUI_DEMO with ESP32 using LVGL

Monochrome support:

Example_monochrome demo with ESP32 using LVGL

Display and touch controllers

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.

Get started

Prerequisites

  • ESP-IDF Framework.

Note

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.

Build and run the demo.

  1. Clone this project by git clone --recurse-submodules https://github.com/lvgl/lv_port_esp32.git, this will pull this repo and its submodules.

  2. Get into the created lv_port_esp32 directory.

  3. Run idf.py menuconfig

  4. Configure LVGL in Components config->LVGL Configuration. For monochrome displays use the mono theme and we suggest enabling the unscii 8 font.

  5. Configure your display and/or touch controllers in Components config->LVGL TFT Display Configuration and Components config->LVGL TOUCH Configuration.

  6. Store your project configuration.

  7. Build the project with idf.py build

  8. 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)

Use LVGL in your ESP-IDF project

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:

  1. Create a directory named components (if you don't have one already) with mkdir -p components.
  2. Clone the lvgl repository inside the components directory with git submodule add https://github.com/lvgl/lvgl.git components/lvgl
  3. Run idf.py menuconfig, go to Component config then LVGL configuration to configure LVGL.

Use lvgl_esp32_drivers in your project

It is recommended to add lvgl_esp32_drivers as a submodule in your IDF project's git repo.

From your project's root directory:

  1. Create a directory named components (if you don't have one already) with mkdir -p components.
  2. Clone the lvgl_esp32_drivers repository inside the components directory with git submodule add https://github.com/lvgl/lvgl_esp32_drivers.git components/lvgl_esp32_drivers
  3. Run idf.py menuconfig, go to Component config then LVGL TFT configuration and LVGL TFT Display configuration to configure lvgl_esp32_drivers.

Platformio support

Using the lv_platformio project add the following lines to platformio.ini file:

text
[env:esp32]
platform = espressif32
framework = espidf
board = esp-wrover-kit

Change the default environment to default_envs = esp32.

Modify the main.c like this:

c
#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.

ESP32-S2 Support

Support for ESP32-S2 variant is Work In Progress. Smaller displays (e.g. 320x240) work fine, but larger ones need testing.

Background

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.

Parts

7
QtyValueFootprintReferences
110µFCapacitor_SMD:C_0603_1608MetricC1
1AMS1117-3.3Package_TO_SOT_SMD:SOT-223-3_TabPin2U8
1DS3231MPackage_SO:SOIC-16W_7.5x10.3mm_P1.27mmU2
1ESP32-S3-WROOM-1RF_Module:ESP32-S3-WROOM-1U1
1MAX98357APackage_DFN_QFN:TQFN-16-1EP_3x3mm_P0.5mm_EP1.23x1.23mmU6
1MCP73831-2-MCPackage_DFN_QFN:DFN-8-1EP_3x2mm_P0.5mm_EP1.7x1.4mmU9
1USB_B_MicroConnector_USB:USB_Micro-B_Molex-105017-0001J1

More from AngeloDuenas/SmartwatchProject

1
  • 2 layers15.8 × 20.3 mmC6WiFI, the printed circuit board in 3D

    C6WiFI

    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.

    26 partsMIT

Similar boards

  • 2 layers45.7 × 60.2 mmPcb watch, the printed circuit board in 3D

    Pcb watch

    nithinmathewjoji/Schrodinger-Clock-PCB-Watch-

    An open-source ESP32-S3-based smartwatch with RTC, I2C display, buzzer, LEDs, and battery monitoring. Designed using KiCad, it features a compact PCB layout, Li-Po battery support, and USB charging

    58 parts4MIT
  • 2 layers100 × 100 mmV2 Estacion Nviel, the printed circuit board in 3D

    V2 Estacion Nviel

    HecVelaz/Proyecto-Mburica-

    Repositorio central del Proyecto Mburicao: Sistema IoT de monitoreo de nivel de cauces, modelos de predicción con IA y documentación científica

    62 parts3MIT
  • 2 layers86 × 109.7 mmKiki player, the printed circuit board in 3D

    Kiki player

    alaotach/kiki-player

    46 parts2
  • 2 layers105 × 58 mmZAP-010A, the printed circuit board in 3D

    ZAP-010A

    lalithk06/Esp32_Smart_Plug

    Hardware reference design for an ESP32-S3 smart plug with mains power conversion, relay switching, RTC support, USB connectivity, and protection components.

    80 parts
  • 2 layers105 × 58 mmZAP-01A, the printed circuit board in 3D

    ZAP-01A

    ponrajleo/AI-Hardware-ESP32S3-

    This project is part of a complete open-source hardware design course on YouTube:

    103 parts
  • 2 layers105 × 58 mmViRa V1.0, the printed circuit board in 3D

    ViRa V1.0

    VikramR3/ViRa_Ai_plug

    ESP32-S3 mains smart plug: HLK-5M05 isolated supply, SRD-05VDC relay, DS3231M RTC. 2-layer KiCad design.

    80 partsMIT
  • 6 layers100 × 100 mmCARVanta Sentinel v2, the printed circuit board in 3D

    CARVanta Sentinel v2

    dhruv1859/CARVantaBAC

    🧬 CARVanta Next-Generation Precision Oncology & AI CAR-T Cell Platform Interactive 3D Biological Digital Twin • 3D Neural Bridge • Sentinel HYDRA Biosensor

    86 parts1Apache-2.0
  • 2 layers117 × 81.5 mmPressLog Edge Node, the printed circuit board in 3D

    PressLog Edge Node

    bansalsaksham/PressLog

    Manufacturing-ready PCB design for an industrial IoT downtime-logging edge node. Offline-first firmware architecture, KiCad schematics, Gerbers, and BOM.

    45 parts1

Questions

What parts does the SmartwatchProject use?

7 parts, built around the ESP32-S3-WROOM-1-N8, AMS1117-3.3 and DS3231MZ+. 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.

Where can I download the SmartwatchProject KiCad files?

From the AngeloDuenas/SmartwatchProject repository on GitHub, at the commit this page was made from: the board is SmartwatchProject.kicad_pcb and its schematic CustomWiFi - Copy/CustomWiFi - Copy/C6WiFI.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the SmartwatchProject design in my own project?

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).