Coder Social home page Coder Social logo

ttgo-t-watch's Introduction

TTGO T-Watch

The sample program has been deprecated, please go to TTGO_TWatch_Library to see the new sample program

T-Watch is an ESP32-based smart watch hardware designed by Shenzhen Xinyuan Electronics Co., Ltd. Hardware configuration with main core SOC (ESP32), 16MBytes large flash, 8MBytes external SPRAM, integrated multi-channel programmable power management chip ( AXP202), onboard three-axis accelerometer (BMA423), built-in step counter algorithm and other multi-function GSensor, with a variety of different configurations of internal replaceable backplane, such as LORA, GPS, SIM, SD

PinOut

Name Pins
TFT CS 5
TFT SCLK 18
TFT MOSI 19
TFT MISO -1
TFT DC 27
TFT RST -1
TFT BL 12
SD CS 13
SD MOSI 15
SD MISO 2
SD SCLK 14
TOUCH SDA 23
TOUCH SCL 32
SENSOR SDA 21
SENSOR SCL 22
UART TX 33
UART RX 34
USER BUTTON 36
RTC INT 37
TOUCH INT 38
AXP202 INT 35
BMA423 INT 39

Button description:

PEK KEY: facing the screen, right upper right

  • (on state) -> long press for four seconds to shut down
  • (off state) -> long press for three seconds to boot

USER KEY : Close to the Type-C interface

  • (on state) -> long press for two seconds to release, deep sleep

Note:

  • The default program does not open any sub-modules. If you need to use other modules, enable the corresponding module in board_def.h to enable

    // #define UBOX_GPS_MODULE      //Turning on will open the M8/M6 GPS module
    // #define ACSIP_S7XG_MODULE    //Turning on will open the S7XG GPS/LORA module
    // #define ENABLE_BLE           //Turning on will open the BLE module
    
  • BLE only supports the corresponding UUID of the connection and cannot connect to the UUID that does not exist in the program. BLE server reference code Soil-BLE-Server

  • WIFI connection is only used as time synchronization

  • AXP202X_Library will have set the DCDC3 output enable to normally open, because DCDC3 will supply power to the ESP32 main chip. If using other methods of control, please be careful not to turn off DCDC3, otherwise it will not be able to burn the program.

  • The repository depends on other library files, please recursively clone the repository

    git clone --recursive https://github.com/Xinyuan-LilyGO/TTGO-T-Watch
    
  • Then move the library files in the libraries directory to

    C:\Users\<UserName>\Documents\Arduino\libraries
    
  • In the Arduino board select TTGO T-Watch, the PSRAM is enabled by default, if it is not turned on, please open it.

Known issue

  • Updating the GPS information screen for a long time will cause the program to run away
  • BLE connection sometimes causes the program to run away
  • The S7XG module only implements ping-pong sending and receiving, and the LORAWALN function is not implemented. For details, refer to the example in the datasheet.

Low power consumption:

  • In standby mode (using the M6/M8 GPS module backplane), the display is off and the current minimum power consumption is approximately ~3 mA. Detailed step reference code closes the screen section

Resource

Using library files

The pictures and fonts used in the program are from the network. If there is any infringement, please inform the author.

ttgo-t-watch's People

Contributors

lewisxhe avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.