δΈζ | English
Welcome to the Wearable Solution repository for QuecPython! This repository provides a comprehensive solution for developing wearable device applications using QuecPython.
QuecPython has launched a GUI solution for the wearable industry, including clock display, call making/answering, heart rate/temperature/blood oxygen measurement, step count display, system settings, and other optional functions.
The wearable industry solution uses LVGL to draw graphical interfaces. LVGL is a lightweight, open-source embedded graphics library. QuecPython has integrated LVGL and uses NXP's GUI Guider as a graphical interface design tool to automatically generate QuecPython code, greatly improving the efficiency of embedded platform graphical interface design.
- Clock Display: Digital and analog clock interfaces with real-time updates.
- Health Monitoring: Heart rate, temperature, and blood oxygen measurement.
- Activity Tracking: Step count display and goal setting.
- Communication: Call making and answering, chat functionalities.
- System Settings: Device information, system upgrade, watch face settings, ringtone settings, vibration mode, factory reset, power off.
Before you begin, ensure you have the following prerequisites:
-
Hardware:
- A QuecPython wearable development board
- USB Data Cable (USB-A to USB-C)
- PC (Windows 7, Windows 10, or Windows 11)
-
Software:
-
Clone the Repository:
git clone https://github.com/QuecPython/solution-wearable.git cd solution-wearable -
Flash the Firmware:
Follow the instructions to flash the firmware to the development board.
-
Connect the Hardware:
- Insert the SIM card into the SIM card slot.
- Connect the antenna.
- Use a USB data cable to connect the development board to the computer's USB port.
-
Download Code to the Device:
- Launch the QPYcom debugging tool.
- Connect the data cable to the computer.
- Press the PWRKEY button on the development board to start the device.
- Follow the instructions to import all files within the
codefolder into the module's file system, preserving the directory structure.
-
Run the Application:
- Select the
Filetab. - Select the
main_t.pyscript. - Right-click and select
Runor use the run shortcut button to execute the script.
- Select the
solution-wearable/
βββ code/
β βββ EventMesh.py # Event management module
β βββ common.py # Common utilities and base classes
β βββ constant.py # Constant configurations
β βββ lcd.py # LCD and TP driver initialization
β βββ css.py # CSS styles and font styles
β βββ ui.py # UI screen classes and interface logic
β βββ mgr.py # Background functionalities and managers
β βββ main_t.py # Application entry script
β βββ 16px.bin # Font file
β βββ 28px.bin # Font file
β βββ 56px.bin # Font file
β βββ img/ # Image resources
β β βββ point.png
β β βββ gps.png
β β βββ bat4.png
β β βββ ...png
βββ README.md # This README file
Click for details of the wearable solution's implementation.
We welcome contributions to improve this project! Please follow these steps to contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature/your-feature). - Commit your changes (
git commit -m 'Add your feature'). - Push to the branch (
git push origin feature/your-feature). - Open a Pull Request.
This project is licensed under the Apache License. See the LICENSE file for details.
If you have any questions or need support, please refer to the QuecPython documentation or open an issue in this repository.
