Coder Social home page Coder Social logo

p8-firmware's Introduction

p8-firmware

A firmware for the P8 smartwatch based off of the code from ATC1441.

Recent docs can be found here

From 0x416c6578:

I rewrote a lot of the code from here as a way to learn about embedded programming.
All code is commented so that people wanting to learn about how Aaron's firmware works can do so more easily.
If you would like to know how to set up the toolchain in Linux, see the documentation I wrote here.
HUGE HUGE thanks to Aaron for all his work, I would have never have got this far on my own. This has been a great learning experience in writing efficient embedded C(++), and learning about the nRF SDK.

TODO:

In the future

  • Get heart rate sensor working
  • Implement main screen, and a framework for adding new screens
  • Switch to using LVGL fonts
  • Better activity estimation with heartrate sensor
  • Support reading from and writing to the flash chip

Changes over ATCWatch

  • Faster text writing routine that writes an entire character's data into the LCD buffer before writing over SPI
  • Writing integers to the display (both with and without preceding zeroes)
  • Removed usage of String object
  • Activity monitor with approximate distance travelled
  • Stopwatch implemented (works in background also)
  • The app draw is different to ATCwatch, with a row of apps along the bottom, and buttons / swipes between them
  • Device doesn't wakeup on wrist raise (increases battery life a bit)
  • Images are just characters

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.