LILYGO_T-Wristband-testing

Source code of the template copied from https://github.com/TioRuben/TTGO-T-Wristband.

Flashing your code

Projects are meant to be build with PlatformIO. Every project contains platformio.ini file with preconfigured enviroments.

Upload via wired connection

First of all, you need to open wristbands screen case. Start opening from the side with charging pads as shown in image below.

Wristband dissassembly 1 Wristband dissassembly 2

Now you need to gently pull PCB from its case at the side with RTC battery.

PCB 1 PCB 2

On the back side of the primary board (side with the battery) open the FPC line connector.

FPC 1

Connect daughter board with the FPC line to the primary board as shown on the third image. Make sure, that FPC cable is oriented correctly (black side on top, side with visible contacts on the bottom).

Daughter board FPC 2

Plug FPC in and close connector's latch.

FPC 3 FPC 4

Now connect daughter board to the computer with USB-C, or micro USB cable.

USB

Your computer should immediately recognize your device and install drivers.

To flash you software via USB, open the platfomio.ini file and find

[platformio]
default_envs = esp32dev_(wired/OTA)

Make sure, that default enviroment is set to esp32dev_wired, not to esp32dev_OTA.