jakkra / ZSWatch

ZSWatch - the Open Source Zephyr™ based Smartwatch, including both HW and FW.
https://forms.gle/G48Sm5zDe9aCaYtT9
GNU General Public License v3.0
2.38k stars 206 forks source link
angle-of-arrival ble bluetooth display gc9a01a lvgl nordic-semiconductor nrf-connect nrf-connect-sdk nrf52 nrf53 nrf5340 sensors smart-watch smartwatch zephyr zephyr-rtos zswatch

ZSWatch

ZSWatch_gh_banner

[![License](https://img.shields.io/badge/License-GPL%203.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![discord](https://img.shields.io/badge/chat-discord-blue?logo=discord&logoColor=white)](https://discord.gg/8XfNBmDfbY)

ZSWatch v4 CNC:ed Stainless Steel (left), Clear Resin 3D print (right)

Table of content

About

Smartwatch built from scratch, both hardware and software. Built on the Zephyr™ Project RTOS, hence the name ZSWatch - Zephyr Smartwatch.

https://github.com/jakkra/ZSWatch/assets/4318648/ec1a94fd-a682-4559-9e68-f3e5bfcbe682

Features

Hardware

PCB

A 4-layer board that measures 38mm in diameter is designed in KiCad. More info here.

Software

Watchfaces

The watch supports different watchfaces which can be changed dynamically. The watch also supports ESP32 watchfaces from Felix Biego. Please checkout this fork for more informations.

Smartphone communication

Pairing

Android phone communication

Fortunately, there is a great Android app called GadgetBridge that handles everything needed on the phone side, such as notifications management, music control and so much more. The ZSWatch right now pretends to be one of the supported Smart Watches in Gadgetbridge, following the same API as it does. In the future there may be a point in adding native support, we'll see.

iOS device communication

Apple exposes Apple Notification Center Service GATT server which handles notifications management on the phone side, music control is done in the same fashion using Apple Media Service... The ZSWatch communicates straight to the iOS with no extra Apps.

Enclosure/Casing

3D printed casing with 3D printed buttons, option CNC:able casing in metal.

Upcomming features

There are almost endless possibilities for features that could be implemented, see here for full progress and in GitHub issues.

Charger/Dock

Option with and without onboard SEGGER J-Link OB debugger. As the debugger requires a license, this will only be available as part of a kit.

See more at here.

Demos

Building or getting one

Some things are still in progress:

I'll also build a few initial kits (assembled) for those who don't want or can build ZSWatch themselves. In addition to the assembled ZSWatch and dock you will get the following compared to if you build it yourself:

If you are interested in a kit or want to get notified when the missing parts above are resolved, fill in your mail here (Google form) and I'll send a reminder when it's ready.

Or if you want to get notified for releases and when the missing parts are finished simply press the Watch button (next to Fork and Star) -> Custom -> Releases and you will see in your feed when it's officially released.

Environment, Compiling and running the code

See Wiki page about Start Developing.

Writing apps for the Application Manager

See Wiki page about apps.

Licence GPL-3.0

The main difference from MIT is now that if anyone wants to build something more with this, then they need to also open source their changes back to the project, which I think this is fair. This is so everyone can benefit from those improvements. If you think this is wrong free to contact me and I'm open to change the LICENCE.

Thanks

SEGGER for supporting SEGGER-OB licenses that make the dock a fully functional programmer and debugger for ZSWatch. Thanks to this the project will be much more approachable for persons without a J-Link debugger, letting them have full development and debugging capabilities.

Miscellaneous stuff