Coder Social home page Coder Social logo

guyou / my-ttgo-watch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sharandac/my-ttgo-watch

0.0 0.0 0.0 141.91 MB

Firmware for a ttgo-watch2020-v1 smartwatch based on ESP32 from LilyGo.

License: GNU General Public License v2.0

C++ 1.60% C 98.36% HTML 0.01% Shell 0.01% Python 0.01% Ruby 0.01% PHP 0.03%

my-ttgo-watch's Introduction

   


My-TTGO-Watch

A GUI named hedge for smartwatch like devices based on ESP32. Currently support for T-Watch2020 (V1,V2,V3), T-Watch2021 (V1 and V2, no ota-updates), M5Paper, M5Core2, WT32-SC01 and native Linux support for testing.

Features

  • BLE communication

  • Time synchronization via BLE

  • Notification via BLE

  • Step counting

  • Wake-up on wrist rotation

  • Quick actions:

    • WiFi
    • Bluetooth
    • GPS
    • Luminosity
    • Sound volume
  • Multiple watch faces:

  • Multiple 'apps':

    • Music (control the playback of the music on your phone)
    • Navigation (displays navigation instructions coming from the companion app)
    • Map (displays a map)
    • Notification (displays the last notification received)
    • Stopwatch (with all the necessary functions such as play, pause, stop)
    • Alarm
    • Step counter (displays the number of steps and daily objective)
    • Weather
    • Calendar
    • IR remote
    • ...
  • Companion apps: Gadgetbridge

Install

Clone this repository and open it with platformIO. Select the right env and then build and upload. Or follow the great step by step tutorial from ShotokuTech.

Please check out https://github.com/sharandac/My-TTGO-Watch/blob/709ed0c5863435aa966c1d6f44552ddc0909a57c/src/hardware/wifictl.cpp#L256-L261 to setup your wifi when wps or input via display is not possible.

If you are interested in native Linux support, please install sdl2, curl and mosquitto dev lib and change the env to emulator_* in platformIO.

sudo apt-get install libsdl2-dev libcurl4-gnutls-dev libmosquitto-dev build-essential

Known issues

  • the webserver crashes the ESP32 really often
  • the battery indicator is not accurate, rather a problem with the power management unit ( axp202 )

Development on the Windows platform

The development tools have a known issue with the size of the project on Windows platforms. When the program is built you may receive the following error:

xtensa-esp32-elf-g++: error: CreateProcess: No such file or directory
*** [.pio\build\t-watch2020-v1\firmware.elf] Error 1

This issue has not been seen on Linux or other platforms. If you must compile on Windows you may work around this linker issue by removing apps you do not use from the .\src\main.cpp file.

You might remove the example app commenting out these lines by adding two slashes (//) on these locations:

  • main.cpp line 9: //#include "app/example_app/example_app.h"
  • main.cpp line 65: // example_app_setup();

(Line numbers are approximate and may change as the system develops.)

Since each app includes a different set of files, you may need to comment out several apps to reduce it small enough for the Windows build. And don't forget to delete the corresponding app files/directories. Commenting out is not enough.

How to use

Cf. Usage

Forks that are recommended

Pickelhaupt
FantasyFactory
NorthernDIY
linuxthor
d03n3rfr1tz3
lunokjod

For the programmers

Cf. contribution guide

Interface

TTGO T-Watch 2020

screenshot screenshot screenshot screenshot screenshot screenshot screenshot screenshot screenshot screenshot screenshot screenshot

M5Paper ( downscaled )

screenshot screenshot screenshot

M5Core2

screenshot screenshot screenshot screenshot

WT32-SC01

screenshot screenshot screenshot

TTGO T-Watch 2021

screenshot screenshot screenshot

Contributors

Special thanks to the following people for their help:

5tormChild
bwagstaff
chrismcna
datacute
fliuzzi02
guyou
jakub-vesely
joshvito
JoanMCD
NorthernDIY
Neuroplant
paulstueber
pavelmachek
rnisthal
ssspeq

and the following projects:

ArduinoJson
AsyncTCP
ESP32SSDP
ESP32-targz
ESP8266Audio
ESPAsyncWebServer
LVGL
NimBLE-Arduinoh2zero/NimBLE-Arduino
pubsubclient
TinyGPSPlus
TFT_eSPI
TTGO_TWatch_Library

Every Contribution to this repository is highly welcome! Don't fear to create pull requests which enhance or fix the project, you are going to help everybody.

If you want to donate to the author then you can buy me a coffee.

my-ttgo-watch's People

Contributors

sharandac avatar guyou avatar d03n3rfr1tz3 avatar dervomsee avatar chrismcna avatar datacute avatar neuroplant avatar fliuzzi02 avatar northerndiy avatar ssspeq avatar paulstueber avatar jakub-vesely avatar pavelmachek avatar rnisthal avatar gdv0 avatar bwagstaff avatar wfdudley avatar joshvito avatar 5tormchild avatar ajvreugdenhil avatar tearran avatar dicamarques14 avatar zenflow avatar lesykm avatar calebe94 avatar w4b-zero avatar

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.