Giter Club home page Giter Club logo

twatch-idf-rs's Introduction

CI MIT/Apache-2.0 licensed

twatch-idf-rs

TTGO T-Watch 2020 v1 Rust firmware.

Preview

demo.webm

Description

This project is a Work in Progress of a rust firmware for the T-Watch-v1 from Lilygo.

What's working ?

  • Power Management Unit - using my own driver for AXP202
    • Power button
    • Battery level
    • Plugged in status - Not tested
    • Deep sleep
  • Screen - using mipidsi crate
    • Backlight settings
  • Touchscreen - using my own driver for FT6x36
  • Accelerometer - using my own driver of BMA423
    • X/Y/Z axis sensors
    • Activity recognition
    • Step counter
  • I2S Speaker
  • WiFi should work, but not used right nown
  • BLE - WIP here
  • Vibration with the included motor
  • Clock - using PCF8563 realtime clock driver
    • Time
    • Alarms - Not tested

What's included

This project is a tech demo. The firmware comes with 5 tiles demonstrating some features:

  • Hello world: only displays text
  • Light: adjust brightness of the screen backlight
  • Motor: demonstrate the vibrator
  • Time: Shows Realtime clock, battery level, accelerometer and swipe gestures
  • Sleep: Disable screen and backlight when button is pressed

Credits

Many things from this project are inspired by the rust-esp32-std-demo. Kudos to the people on #esp-rs:matrix.org for their help.

How to use?

Refer to this repo to install the custom Rust ESP toolchain. You should also install cargo espflash to ease the use of this project.

Then you can launch the following command to compile one of the example, flash it to your device and monitor the ESP32 serial:

cargo espflash --monitor --speed 921600 <device>

twatch-idf-rs's People

Contributors

pyaillet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

twatch-idf-rs's Issues

Add topics

I suggest to add some topics to the project on GitHub: esp32, twatch, twatch-2020, ttgo.
Topics will help users to discover project from other projects.

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.