1. Introduction
This manual provides detailed instructions for setting up, operating, and programming the TENSTAR ROBOT TS-ESP32-S3 Development Board. This board integrates an ESP32-S3 microcontroller with a 1.14-inch TFT display, a BMP280 temperature and pressure sensor, and a QMI8658C gyroscope and acceleration sensor, making it ideal for various embedded projects and learning to program with Arduino or CircuitPython.


2. Product Overview and Features
The TS-ESP32-S3 Development Board is a compact and versatile module designed for embedded systems development. It features:
- Microcontroller: ESP32-S3FH4R2
- Display: 1.14-inch TFT display (135x240 pixels)
- Sensors:
- BMP280: Temperature and Pressure Sensor (I2C address 0x76)
- QMI8658C: Gyroscope and Acceleration Sensor (I2C address 0x77)
- Power Interface: USB Type-C for power and data, PH2.0 2-pin port for 3.7V lithium battery.
- Charging: Supports fast charge for lithium batteries.
- Connectivity: Wi-Fi, Bluetooth.
- Programming: Compatible with Arduino IDE and CircuitPython.
- Dimensions: Approximately 50.8mm x 22.9mm.
- Weight: 9g.
- Supply Voltage: 5V (via USB Type-C).
- Operating Temperature: 1 (unit not specified, typically Celsius).

Power Interface Details:
- USB Type-C: Used to power the development board and for data communication.
- PH2.0 port: A 2-pin connector for a 250mAh or larger 3.7V/4.2V lithium battery. The battery will be charged when the board is powered via USB.
- CHG LED: Power indicator. Lights up when charging, turns off when fully charged.
- 3V3: Stable 3.3V voltage output, capable of 500mA peak current.
3. Pin Definitions
The board features a variety of pins for different functionalities:

- Analog Pins: A0 to A5 are analog inputs. A0 to A4 are located on ADC2, and A5 is located on ADC1.
- Digital Pins: D6, D9 - D13 are digital pins. D6, D9, and D10 are on ADC1. D11-D13 are on ADC2.
- SPI Pins: The SPI pin is located on the ESP32-S3 high-speed peripheral. You can set any pin to a low-speed peripheral, but you won't get a fast interface!
- SCK: This is the SPI clock pin.
- MISO: This is the SPI microcontroller output/sensor input pin.
- MOSI: This is the SPI microcontroller input/sensor output pin.
- UART Interface:
- RX: This is the UART receiving pin. TX (Transmission) pins attached to the sensor or splitter.
- TX: This is the UART send pin. RX (receive) pins attached to the sensor or splitter.
- I2C Interface:
- I2C interface: This is shared by the STEMMA QT connector.
- SCL: This is the I2C clock pin. There is a 5k pull-up resistor on the pin.
- SDA: This is the I2C data pin. There is a 5k pull-up resistor on the pin.
- RGB and LED:
- RGB: The RGB light refers to pin 33, which is marked 33 on the board. Used as a status indicator in the CircuitPython boot loader. Control by code. It is board.NEOPIXEL in CircuitPython and PIN_NEOPIXEL in Arduino.
- Red LED: A red LED, labeled 13 on the board, lights up or flashes during certain operations (such as emitting a pulse in a boot loader) and can be controlled by code. It is board.LED in CircuitPython and LED_BUILTIN or 13 in Arduino.
- SH1.0-4P Connector: The SH1.0-4P interface is used to connect Qwiic sensors or devices.
- Buttons:
- RST Button: This button restarts the development board and helps enter the boot loader. You can reset the development board with one click without unplugging the USB cable or battery. Click once, and then click again when the NeoPixel state LED is purple to enter the UF2 boot loader (when CircuitPython needs to be loaded).
- RST Pins: Can be used to reset the board. Manually ground to reset the board.
- BOOT Button: This button can be used as input or to put the board into ROM boot loader mode. It is available in CircuitPython as board.BUTTON and in Arduino as 0. To enter ROM boot loader mode, hold down the Boot button while pressing the RST button above it.
- Debug Console: The Debug TX (DBG) pin is the hardware UART debug pin. You can connect it to a USB console cable to read the debug output of the ESP32 IDF. This is very useful for low-level debugging.
4. Setup Instructions
4.1. Arduino IDE Setup
To program the ESP32-S3 board using the Arduino IDE, follow these steps:
- Install ESP32 Boards: Open Arduino IDE, go to File > Preferences, and add the ESP32 board manager URL. Then, go to Tools > Board > Boards Manager and search for 'ESP32' to install the package.
- Select Board: Go to Tools > Board > ESP32 Arduino and select the appropriate ESP32-S3 board (e.g., 'ESP32S3 Dev Module').
- Select Port: Connect the board via USB Type-C. Go to Tools > Port and select the serial port corresponding to your board.
Note:
- After you upload your code from the Arduino IDE to the ESP32-S3, be sure to press the reset button! Otherwise the program does not run.
- ESP32-S3 USB serial does not support USB serial support on Windows 7 or 8. Please update to espressif supported version win 10!
4.2. Sensor Library Installation (QMI8658C)
The QMI8658C sensor is connected via I2C (address 0x77) and can measure acceleration and gyroscope data.
- Install Library: In Arduino IDE, go to Sketch > Include Library > Manage Libraries. Search for 'QMI8658C' and install the appropriate library (e.g., 'Adafruit QMI8658C').
- Example Code: Use example sketches provided by the library to read sensor data.

4.3. Sensor Library Installation (BMP280)
The BMP280 sensor is connected via I2C (address 0x76) and provides ambient temperature and barometric pressure readings.
- Install Library: In Arduino IDE, go to Sketch > Include Library > Manage Libraries. Search for 'BMP280' and install the appropriate library (e.g., 'Adafruit BMP280').
- Example Code: Use example sketches provided by the library to read sensor data.

4.4. TFT Display Setup
The 1.14-inch TFT display has a 240x135 pixel color display with an ST7789 chip.
- Install TFT_eSPI Library: In Arduino IDE, go to Sketch > Include Library > Manage Libraries. Search for 'TFT_eSPI' and install it.
- Modify Configuration: After installation, navigate to the library folder (usually in your Arduino sketchbook folder under `libraries/TFT_eSPI`). Open the `User_Setup_Select.h` file and uncomment the line for `User_Setup_ST7789.h` or a similar setup for ST7789. You may also need to adjust `TFT_WIDTH` (135) and `TFT_HEIGHT` (240) and pin definitions (e.g., `TFT_MISO`, `TFT_MOSI`, `TFT_SCLK`, `TFT_CS`, `TFT_DC`, `TFT_RST`, `TFT_BL`).
- Display Content: Use the TFT_eSPI library functions to draw text, shapes, and images on the display.
Note:
- If you are having problems with I2C or TFT display on the Arduino, make sure you are using the latest Espressif board support pack. If you are still having problems, you may need to manually pull the pin up in your code.
- After downloading the program, you need to press the RST button to run the program.
5. Operating Instructions
5.1. WiFi Connectivity
The ESP32-S3 supports both WiFi client and access point (hotspot) modes.
Scan WiFi Networks:
Use the provided example code to scan for available WiFi networks and print them to the serial monitor.

Connect to WiFi Network:
Modify the example code with your network SSID and password to connect the board to an existing WiFi network.

WiFi Hotspot:
The board can also act as a WiFi hotspot, allowing other devices to connect to it.

5.2. I2C Scan
When using the development board, you may need to connect an I2C device. You can use an I2C scanner sketch to detect connected I2C devices and their addresses.
5.3. Three Power Consumption Modes
The ESP32-S3 chip supports three basic operating states to manage power consumption:
- Normal: Full power operation.
- Light Sleep: CPU and most peripherals are paused, but memory and some peripherals remain active.
- Deep Sleep: Most of the chip is powered down, with only RTC memory and a few peripherals active. This mode offers the lowest power consumption.
6. Specifications
| Feature | Detail |
|---|---|
| Brand Name | TENSTAR ROBOT |
| Model | TS-ESP32-S3 |
| Type | Module |
| Package | SMD |
| Condition | New |
| Application | Computer |
| Supply Voltage | 5V |
| Dissipation Power | 1 |
| Operating Temperature | 1 |
| Display | 1.14 inch TFT (135x240 pixels, ST7789) |
| Sensors | BMP280 (Temperature/Pressure), QMI8658C (Gyroscope/Acceleration) |
| Connectivity | Wi-Fi, Bluetooth |
| Power Interface | USB Type-C, PH2.0 2-pin for 3.7V LiPo battery |
| Dimensions | 50.8mm x 22.9mm x 1mm (approximate) |
| Weight | 9g |
7. Troubleshooting
- Board not recognized by PC: Ensure you have the correct ESP32-S3 board drivers installed. Try a different USB Type-C cable.
- Upload errors in Arduino IDE: Verify the correct board and COM port are selected. Ensure you press the RST button after uploading if the program doesn't start automatically.
- TFT display not working: Double-check the TFT_eSPI library configuration (`User_Setup_Select.h`) for correct pin definitions and display resolution. Ensure the latest Espressif board support package is installed.
- Sensor data not reading: Confirm the correct I2C addresses (BMP280: 0x76, QMI8658C: 0x77) in your code. Ensure libraries are correctly installed.
- WiFi connection issues: Verify SSID and password. Check signal strength. Ensure the ESP32-S3 board support package is up-to-date.
8. User Tips
- Battery Management: When using a LiPo battery, ensure it is connected correctly to the PH2.0 port. The board will automatically charge the battery when powered via USB-C.
- Debugging: Utilize the Debug TX pin for low-level debugging with a USB console cable, especially for complex projects.
- Power Saving: Experiment with Light Sleep and Deep Sleep modes in your code to optimize battery life for portable applications.
- CircuitPython: For quick prototyping and ease of use, consider using CircuitPython, which is well-supported on this board.
9. Maintenance
To ensure the longevity and optimal performance of your TS-ESP32-S3 Development Board:
- Handle with Care: Avoid static discharge by working on an anti-static mat or wearing an anti-static wrist strap.
- Storage: Store the board in a dry, cool environment, away from direct sunlight and extreme temperatures.
- Cleaning: If necessary, gently clean the board with a soft, dry brush or compressed air to remove dust. Avoid using liquids or harsh chemicals.
- Power Supply: Always use a stable 5V power supply. Over-voltage can damage the board.
10. Warranty and Support
For technical support, programming examples, or further assistance, please refer to the TENSTAR ROBOT official documentation or community forums. While specific warranty details are not provided in this manual, general support for development boards typically covers manufacturing defects. Please contact your retailer for specific warranty claims.