Skip to content
/ wasp-os Public
forked from wasp-os/wasp-os

A MicroPython based development environment for smart watches (including Pine64 PineTime)

License

GPL-3.0, LGPL-3.0 licenses found

Licenses found

GPL-3.0
COPYING
LGPL-3.0
COPYING.LGPL
Notifications You must be signed in to change notification settings

sactre/wasp-os

 
 

Repository files navigation

Watch Application System in Python

Introduction

Although still in its infancy wasp-os provides many example applications including a simple digital clock, a stopwatch, a step counter and a heart rate monitor. All of these, together with access to the MicroPython REPL for interactive tweaking and testing, are running on PineTime. It keeps time well and has enough power saving functions implemented that it can survive for well over 72 hours between charges so even at this early stage it is functional as a wearable timepiece.

Wasp-os includes a robust bootloader based on the Adafruit NRF52 Bootloader. It has been extended to make it robust for development on form-factor devices without a reset button, power switch, SWD debugger or UART. This allows us to confidently develop on sealed devices relying only on BLE for updates.

Videos

wasp-os: Open source heart rate monitoring for Pine64 PineTime

Open source heart rate monitoring for Pine64 PineTime

An M2 pre-release running on Pine64 PineTime

An M2 pre-release running on Pine64 PineTime

How to develop wasp-os python applications on a Pine64 PineTime

How to develop wasp-os python applications on a Pine64 PineTime

Developing for Pine64 PineTime using wasp-os and MicroPython

Developing for Pine64 PineTime using wasp-os and MicroPython

Documentation

Wasp-os is has extensive documentation which includes a detailed Applicaiton Writer's Guide to help you get started coding for wasp-os as quickly as possible.

Getting Started

Wasp-os can be installed without using any tools onto the following devices:

  • Pine64 PineTime (developer edition)
  • Colmi P8

The Installation Guide contains detailed instructions on how to build and install wasp-os.

At the end of the install process your watch will show the time (03:00) together with a date and battery meter. When the watch goes into power saving mode you can use the button to wake it again.

At this point you will also be able to use the Nordic UART Service to access the MicroPython REPL. You can use tools/wasptool --console to access the MicroPython REPL.

To set the time and restart the main application:

^C
watch.rtc.set_localtime((yyyy, mm, dd, HH, MM, SS))
wasp.system.run()

Or just use:

./tools/wasptool --rtc

which can run these commands automatically.

As mentioned above there are many drivers and features still to be developed, see the :ref:`Roadmap` for current status.

Screenshots

wasp-os digital clock app running on PineTime

About

A MicroPython based development environment for smart watches (including Pine64 PineTime)

Resources

License

GPL-3.0, LGPL-3.0 licenses found

Licenses found

GPL-3.0
COPYING
LGPL-3.0
COPYING.LGPL

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Python 98.6%
  • Makefile 1.3%
  • Shell 0.1%