News for hackers. Stuff that matters.
Re:Open Source Smartwatch by kken on Saturday January 02, 2021 @10:59AM (#25613630)
Ok, just to make sure I understand this correctly.

- This is basically a commercial smartwach (the Colmi P8) that is based on a well documented SOC, the nordic nRF52832

- The open source version comes with an enclosure that is not glued shut, so that it is easy to access testpoints on the pcb.

- Development is done by accessing the nRF51 SWD interface with pogo pins or similar. The programming interface can be a standard SWD interface such as an STLink clone

Ok, sounds easy enough. It should be possible to just buy one of those smartwatches and crack them open? But OTOH the developer version is not much more expensive.

The main question is now: What software to run on it, that goes beyond a few experiments? Is there any kind of open source smartwatch OS that would run on this?

Edit: Corrected typo, of course I meant SWD interface, not SWM. (SWM or rather SWIM is for STM8)

Re:Open Source Smartwatch by justinclift on Saturday January 02, 2021 @10:18PM (#25619054)
The main developer of TinyGo (a version of Go for embedded devices) added support for the PineTime a while back:

https://tinygo.org/microcontrollers/pinetime/

With that, you can write Go code which (when compiled) is then flashed to the watch for running directly on the hw. No need for an OS layer underneath.

Re:Open Source Smartwatch by amar-laksh on Saturday January 02, 2021 @12:22PM (#25614364)
Re:Open Source Smartwatch by wongarsu on Saturday January 02, 2021 @01:41PM (#25615170)
There is also https://github.com/endian-albin/pinetime-hypnos

and the default https://github.com/JF002/Pinetime

My guess would be that Wasp-OS will become the beginner-friendly fully-featured option while Pinetime will be the more battery friendly option.

Re:Open Source Smartwatch by kken on Saturday January 02, 2021 @12:35PM (#25614486)
Nice!
Re:Open Source Smartwatch by sq_ on Saturday January 02, 2021 @06:23PM (#25617642)
> It should be possible to just buy one of those smartwatches and crack them open?

Could the way that they're sealed become a problem? Description says waterproof glue will be involved in the final version and seem a bit unclear about whether it'll have any mechanical interlock [0]. Sounds like one might have a hard time putting it back together...

[0] https://pine64.com/product/pinetime-dev-kit/?v=0446c16e2e66

Re:Open Source Smartwatch by jarnix on Saturday January 02, 2021 @11:12AM (#25613722)
:) not sure it's up to anybody to do it. To me "nRF51 SWM interface with pogo pins" means absolutely nothing, same for nRF52832 or STLink.
Re:Open Source Smartwatch by pantalaimon on Saturday January 02, 2021 @12:03PM (#25614190)
I think GP means the SWD interface, which is a standard ARM programming/debugging connector.

I would advise against the ST-Links though as they expose a more high level protocol and don't always work with non-STM chips. FT232H dongles make for a more versatile programmer.