MPU9250
Note
Before using it, please install Get Started.
Introduction
This document is T-Wristband-MPU9250 example description. MPU9250 sensor for instructing the user how to use the T-Wristband
.
Arduino
T-Wristband
can choose ESP32 Dev Module
, and other settings can be kept as default.
Warning
T-Wristband
does not use PSRAM, please do not enable PSRAM, and call PSRAM functions.
User Manual
Touch the button to switch to the next function when a press is detected:
Press for the first time to view the nine-axis sensor information
Press it a second time to enter deep sleep
During deep sleep, touch again to wake up the bracelet
OTA update:
Touch and hold the button for three seconds to do a
WiFi
reset.Select
T-Wristband
in theArduino IDE
port to upgrade over the air, as shown below:
Note
Enable ARDUINO_OTA_UPDATE
macro OTA update is valid.
Datasheet
ESP32-PICO-D4 (Datasheet)
ST7735 (Datasheet)
MPU9250 (Datasheet)
Pinout
Name |
Pin |
TFT Driver |
ST7735 |
TFT_MISO |
N/A |
TFT_MOSI |
19 |
TFT_SCLK |
18 |
TFT_CS |
5 |
TFT_DC |
23 |
TFT_RST |
26 |
TFT_BL |
27 |
Touchpad |
33 |
Touchpad Power |
25 |
IMU Interrupt |
38 |
RTC Interrupt |
34 |
Battery ADC |
35 |
VBUS ADC |
36 |
I2C SDA |
21 |
I2C SCL |
22 |
LED and Vibration |
4 |
CHARGE Indication |
38 |
Note
The vibration module is driven using IO4, which is incorporated with the LED.