DIY Smartwatch with ESP32-S3: The Ultimate Xiaomi Band Alternative

DIY Smartwatch with ESP32-S3: The Ultimate Xiaomi Band Alternative

Project Name: DIY_SmartWatch_S3

Project Author: seanfan

Introduction

This smartwatch is agreat alternative to the Xiaomi Band!

Moreover, both the software and hardware are open source!

01 Open Source Project Description
Project Description

A smartwatch designed with ESP32-S3.

It has strong expandability, allowing you to add “unlimited” features!

DIY Smartwatch with ESP32-S3: The Ultimate Xiaomi Band Alternative

02 Function Description
Function Description
1

Basic Functions: Check time, weather, listen to music, set alarms, display incoming call information, view WeChat messages

2

Supports Bluetooth and Wi-Fi communication

3

Long battery life, in standby mode, only runs the built-in low-power RISC-V processor of the ESP32-S3

4

Features a 240×280color LCD touchscreen

5

Sleep detection, built-in 9D motion sleep sensor; can monitor heart rate, blood oxygen, blood pressure trends

6

SupportsType-Ccharging interface

7

Supports externaladditional sensor attachments, such as ECG, EEG, EMG, respiration, body fat, body impedance, temperature, blood pressure, etc.

8

Provides hardware interfaces for cutting-edge technology, software algorithm evaluation, and testing platforms

03 Design Diagrams
Design Diagrams

DIY Smartwatch with ESP32-S3: The Ultimate Xiaomi Band Alternative

MCU_RF

DIY Smartwatch with ESP32-S3: The Ultimate Xiaomi Band Alternative

TypeC_Power

DIY Smartwatch with ESP32-S3: The Ultimate Xiaomi Band Alternative

MotionSensor

DIY Smartwatch with ESP32-S3: The Ultimate Xiaomi Band Alternative

Interface_BioSensor

DIY Smartwatch with ESP32-S3: The Ultimate Xiaomi Band Alternative

Ext_Misc

DIY Smartwatch with ESP32-S3: The Ultimate Xiaomi Band Alternative

Ext_Misc

Original schematic, swipe up to see more

DIY Smartwatch with ESP32-S3: The Ultimate Xiaomi Band Alternative

PCB Diagram

DIY Smartwatch with ESP32-S3: The Ultimate Xiaomi Band Alternative

Functional Block Diagram

Circuit Description:

1

ASPI interface supports 240×280 color LCD screen

2

ASPI interface for external health data collection unit, implementing heart rate, blood oxygen, and other health functions

3

Amulti-functional external button, implementing power on/off, Home, and long press reset functions

4

Device supports USB Debug function

04 Software Description
Firmware for the watch is developed based on the Espressif ESP-IDF v5.2 framework.

This section mainly explainshardware driver migration, design UI considerations.

(1) Hardware Driver Migration

For GUI, and related screens, touch, and buttons, modify components relying on the file idf_component, adding the following content:

DIY Smartwatch with ESP32-S3: The Ultimate Xiaomi Band Alternative

Modify related hardware IO configurations, as follows:

DIY Smartwatch with ESP32-S3: The Ultimate Xiaomi Band Alternative

Configure project pre-definitions through idf.py menuconfig:

DIY Smartwatch with ESP32-S3: The Ultimate Xiaomi Band Alternative

(2) UI Design

Use the UI design tool SquareLine Studio 1.3.3 to design the UI and generate code.

Modify the CMakeLists.txt file to import the generated code into the build project:

DIY Smartwatch with ESP32-S3: The Ultimate Xiaomi Band Alternative

As shown in the figure, modify and add UI entry functions and compile the project:

DIY Smartwatch with ESP32-S3: The Ultimate Xiaomi Band Alternative

Debugging running Logo illustration:

DIY Smartwatch with ESP32-S3: The Ultimate Xiaomi Band Alternative

DIY Smartwatch with ESP32-S3: The Ultimate Xiaomi Band Alternative

Software debugging现场图:

DIY Smartwatch with ESP32-S3: The Ultimate Xiaomi Band Alternative

05 Open Source Resource Download Entry
For【project source files + video demonstration files】, please scan the code or copy the link to enter the open-source page.

DIY Smartwatch with ESP32-S3: The Ultimate Xiaomi Band Alternative

Scan to enter the open-source page
Get【circuit and other source files】

Copy the open-source URL and open it in any browser: https://oshwhub.com/seanfan/DIY_SmartWatch_S3

DIY Smartwatch with ESP32-S3: The Ultimate Xiaomi Band Alternative

If you have any questions, you can comment and consult the original author under the open-source project!

*This article is a reprint of user creations from the “Lichuang Open Source Hardware Platform”. If there is any infringement, please contact for removal.

If you like it, please give me a thumbs up!
DIY Smartwatch with ESP32-S3: The Ultimate Xiaomi Band Alternative
Click here to view the original project

Leave a Comment

×