TENSTAR ROBOT ESP32 SuperMini (C3, S3, H2, C6 variants)

Contents

TENSTAR ROBOT ESP32 SuperMini Development Board User Manual

Model: ESP32 SuperMini (C3, S3, H2, C6 variants)

Brand: TENSTAR ROBOT

1. Introduction

The TENSTAR ROBOT ESP32 SuperMini series offers compact and powerful IoT development boards, featuring Espressif's ESP32-C3, ESP32-S3, ESP32-H2, and ESP32-C6 chips. These boards are designed for a wide range of applications requiring Wi-Fi and Bluetooth connectivity, offering excellent RF performance and robust security features. Their small form factor and rich peripheral set make them ideal for embedded systems, wearable applications, and various IoT projects.

Overview of TENSTAR ROBOT ESP32 SuperMini development boards, showing C3, S3, C6, and H2 variants.
Figure 1: Overview of ESP32 SuperMini variants

2. Package Contents

Your TENSTAR ROBOT ESP32 SuperMini package typically includes the following items:

  • 1 x ESP32 SuperMini Development Board (C3, S3, H2, or C6 variant)
  • Pin Headers (for soldering)

Note: An optional expansion board may be included depending on the purchased variant.

ESP32-C3 SuperMini board with included pin headers and an expansion board.
Figure 2: ESP32-C3 SuperMini with pin headers and expansion board

3. Specifications

General Specifications

FeatureDescription
Brand NameTENSTAR ROBOT
TypeVoltage Regulator (Development Board)
ConditionNew
OriginMainland China
PackageSMD
Supply Voltage5V (USB-C), 3.3V (Pin)
Dissipation Power1 (typical)
Operating Temperature1 (typical)
CustomizationYes

Variant-Specific Features

  • ESP32-C3 SuperMini:
    • CPU: ESP32-C3, 32-bit RISC-V single-core processor, up to 160 MHz
    • Connectivity: Wi-Fi (802.11 b/g/n), Bluetooth 5.0 LE
    • Memory: 400KB SRAM, 384KB ROM, 8MB Flash
    • Interface: USB Type-C
    • Peripherals: 2xUART, 1xSPI, 2xI2C, 1xI2S, 1xPWM, 1xADC, 1xRGB LED (GPIO8)
    • Dimensions: 18mm x 22.5mm
    ESP32-C3 SuperMini pinout diagram and schematic overview.
    Figure 3: ESP32-C3 SuperMini Pinout and Dimensions
  • ESP32-S3 SuperMini:
    • CPU: ESP32-S3, dual-core processor, up to 240 MHz
    • Connectivity: Wi-Fi (802.11 b/g/n), Bluetooth 5.0 LE
    • Memory: 512KB SRAM, 8MB Flash
    • Interface: USB Type-C
    • Peripherals: 2xUART, 1xSPI, 2xI2C, 1xI2S, 1xPWM, 1xADC, 1xRGB LED (GPIO8)
    • Dimensions: 18mm x 23.5mm, Weight: 3g
    ESP32-S3 SuperMini pinout diagram, dimensions, and schematic overview.
    Figure 4: ESP32-S3 SuperMini Pinout and Dimensions
  • ESP32-H2 SuperMini:
    • CPU: ESP32-H2, up to 96 MHz
    • Connectivity: 802.15.4 (Zigbee/Thread), Bluetooth 5.0 LE
    • Memory: 256KB SRAM, 4MB Flash
    • Interface: USB Type-C
    ESP32-H2 SuperMini pinout diagram and schematic overview.
    Figure 5: ESP32-H2 SuperMini Pinout
  • ESP32-C6 SuperMini:
    • CPU: ESP32-C6, up to 160 MHz
    • Connectivity: Wi-Fi (802.11ax/b/g/n), Bluetooth 5.0 LE, 802.15.4 (Zigbee/Thread)
    • Memory: 512KB SRAM, 4MB Flash
    • Interface: USB Type-C
    ESP32-C6 SuperMini pinout diagram and schematic overview.
    Figure 6: ESP32-C6 SuperMini Pinout

4. Setup Guide

4.1 Hardware Setup

  1. Connect your ESP32 SuperMini development board to your computer using a USB Type-C cable. Ensure the cable supports data transfer.
  2. If using an expansion board, carefully connect the SuperMini to the expansion board.

4.2 Software Setup (Arduino IDE)

  1. Download Arduino IDE: If you don't have it, download and install the latest version of the Arduino IDE from the official website.
  2. Add ESP32 Board Manager URL:
    • Open Arduino IDE.
    • Go to File > Preferences.
    • In the 'Additional Boards Manager URLs' field, add the following URL: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
    • Click 'OK'.
  3. Install ESP32 Boards:
    • Go to Tools > Board > Boards Manager...
    • Search for "esp32" and install the "esp32 by Espressif Systems" package.
  4. Select Board:
    • Go to Tools > Board > ESP32 Arduino.
    • Select the appropriate board for your SuperMini (e.g., "ESP32C3 Dev Module" for ESP32-C3).
  5. Configure Serial Port:
    • Go to Tools > USB CDC On Boot.
    • Set it to Enabled to allow serial communication via the USB port.
Arduino IDE setup for ESP32 boards, including board manager URL and serial port configuration.
Figure 7: Arduino IDE Board Manager and USB CDC On Boot settings

5. Operating Instructions

5.1 Digital Pin Control (LED Blinking)

This example demonstrates basic digital output by making the on-board LED blink every second.

  1. Copy the following code into your Arduino IDE:
// define led according to pin diagram
int led = 8;

void setup() {
// initialize digital pin led as an output
pinMode(led, OUTPUT);
}

void loop() {
digitalWrite(led, HIGH); // turn the LED on
delay(1000); // wait for a second
digitalWrite(led, LOW); // turn the LED off
delay(1000); // wait for a second
}
  1. Upload the code to your board. The on-board LED will start blinking.
Arduino code for basic digital pin control (LED blinking).
Figure 8: Digital Pin LED Blinking Code Example

5.2 Digital PWM Control (LED Fading)

This example demonstrates Pulse Width Modulation (PWM) to gradually dim the on-board LED.

  1. Copy the following code into your Arduino IDE:
int ledPin = 8; // LED connected to digital pin 10

void setup() {
// declaring LED pin as output
pinMode(ledPin, OUTPUT);
}

void loop() {
// fade in from min to max in increments of 5 points:
for (int fadeValue = 0 ; fadeValue <= 255; fadeValue += 5) {
// sets the value (range from 0 to 255):
analogWrite(ledPin, fadeValue);
// wait for 30 milliseconds to see the dimming effect
delay(30);
}

// fade out from max to min in increments of 5 points:
for (int fadeValue = 255 ; fadeValue >= 0; fadeValue -= 5) {
// sets the value (range from 0 to 255):
analogWrite(ledPin, fadeValue);
// wait for 30 milliseconds to see the dimming effect
delay(30);
}
}
  1. Upload the code to your board. The on-board LED will gradually fade in and out.

5.3 Analog Pin Control (Potentiometer)

This example uses an analog input (e.g., from a potentiometer) to control the blinking interval of the LED.

  1. Connect a potentiometer to analog pin A5 on your board.
  2. Copy the following code into your Arduino IDE:
const int sensorPin = A5;
const int ledPin = 8;

void setup() {
pinMode(sensorPin, INPUT); // declare the sensorPin as an INPUT
pinMode(ledPin, OUTPUT); // declare the ledPin as an OUTPUT
}

void loop() {
// read the value from the sensor:
int sensorValue = analogRead(sensorPin);
// turn the ledPin on
digitalWrite(ledPin, HIGH);
// stop the program for <sensorValue> milliseconds:
delay(sensorValue);
// turn the ledPin off:
digitalWrite(ledPin, LOW);
// stop the program for for <sensorValue> milliseconds:
delay(sensorValue);
}
  1. Upload the code to your board. Turning the potentiometer knob will change the LED's blinking speed.
Arduino code examples for Digital PWM (LED fading) and Analog pin control (potentiometer).
Figure 9: Digital PWM and Analog Pin Code Examples

5.4 Serial Port Communication

The board has hardware serial ports (UART) and can also use a software serial library. By default, USB serial is enabled, allowing you to connect the board to a PC via USB Type-C and view data on the Arduino IDE's serial monitor.

  • To use UART as a serial port, connect pin 20 as TX and pin 21 as RX using a USB serial adapter.
  • For additional serial ports, use the SoftwareSerial library.

5.5 I2C Connection (OLED Display)

To connect an OLED display (e.g., 0.96 OLED) via I2C:

  1. Open Arduino IDE and navigate to Sketch > Include Library > Manage Libraries...
  2. Search for "u8g2" and install it.
  3. Upload your code to display text on the OLED.

5.6 WiFi Scan

This example scans for available Wi-Fi networks.

  1. Copy the following code into your Arduino IDE:
#include "WiFi.h"

void setup()
{
Serial.begin(115200);

// Set WiFi to station mode and disconnect from an AP if it was previously connected
WiFi.mode(WIFI_STA);
WiFi.disconnect();
delay(100);

Serial.println("Setup done");
}

void loop()
{
Serial.println("scan start");

// WiFi.scanNetworks will return the number of networks found
int n = WiFi.scanNetworks();
Serial.println("scan done");
if (n == 0) {
Serial.println("no networks found");
} else {
Serial.print(n);
Serial.println(" networks found");
for (int i = 0; i < n; ++i) {
// Print SSID and RSSI for each network found
Serial.print(i + 1);
Serial.print(": ");
Serial.print(WiFi.SSID(i));
Serial.print(" (");
Serial.print(WiFi.RSSI(i));
Serial.print(")");
Serial.println((WiFi.encryptionType(i) == WIFI_AUTH_OPEN)?" ":"*");
delay(10);
}
}
Serial.println("");

// Wait a bit before scanning again
delay(5000);
}
  1. Upload the code and open the Serial Monitor. You will see a list of detected Wi-Fi networks.
Serial monitor output showing WiFi network scan results.
Figure 10: WiFi Scan Serial Monitor Output

5.7 WiFi Connect

This example connects your ESP32 SuperMini to an existing Wi-Fi network.

  1. Modify the ssid and password variables in the code below with your network credentials.
  2. Copy the following code into your Arduino IDE:
#include <WiFi.h>

const char* ssid = "your-ssid"; //your WiFi Name
const char* password = "your-password"; //your WiFi password

void setup()
{
Serial.begin(115200);
delay(10);

// We start by connecting to a WiFi network

Serial.println();
Serial.println();
Serial.print("Connecting to ");
Serial.println(ssid);

WiFi.begin(ssid, password);

while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(".");
}

Serial.println("");
Serial.println("WiFi connected");
Serial.println("IP address: ");
Serial.println(WiFi.localIP());
}
void loop()
{
}
  1. Upload the code and open the Serial Monitor. It will display "WiFi connected" and the assigned IP address upon successful connection.
Arduino code for connecting to a WiFi network and serial monitor output.
Figure 11: WiFi Connect Code Example

5.8 WiFi Hotspot

This example configures the ESP32 SuperMini as a Wi-Fi access point (hotspot).

  1. Copy the following code into your Arduino IDE:
#include "WiFi.h"

void setup()
{
Serial.begin(115200);
WiFi.softAP("ESP_AP", "123456789");
}

void loop()
{
Serial.print("Host Name:");
Serial.println(WiFi.softAPgetHostname());
Serial.print("Host IP:");
Serial.println(WiFi.softAPIP());
Serial.print("Host IPV6:");
Serial.println(WiFi.softAPIPv6());
Serial.print("Host SSID:");
Serial.println(WiFi.SSID());
Serial.print("Host Broadcast IP:");
Serial.println(WiFi.softAPBroadcastIP());
Serial.print("Host mac Address:");
Serial.println(WiFi.softAPmacAddress());
Serial.print("Number of Host Connections:");
Serial.println(WiFi.softAPgetStationNum());
Serial.print("Host Network ID:");
Serial.println(WiFi.softAPNetworkID());
Serial.print("Host Status:");
Serial.println(WiFi.status());
delay(1000);
}
  1. Upload the code and open the Serial Monitor. It will display the hotspot details. You can then connect other devices to the "ESP_AP" network using the password "123456789".
Arduino code for setting up a WiFi hotspot and serial monitor output.
Figure 12: WiFi Hotspot Code Example

5.9 Bluetooth Scan

This example scans for available Bluetooth devices.

  1. Copy the following code into your Arduino IDE:
#include <BLEDevice.h>
#include <BLEUtils.h>
#include <BLEScan.h>
#include <BLEAdvertisedDevice.h>

int scanTime = 5; //In seconds
BLEScan* pBLEScan;

class MyAdvertisedDeviceCallbacks: public BLEAdvertisedDeviceCallbacks {
void onResult(BLEAdvertisedDevice advertisedDevice) {
Serial.printf("Advertised Device: %s \n", advertisedDevice.toString().c_str());
}
};

void setup() {
Serial.begin(115200);
Serial.println("Scanning...");

BLEDevice::init("");
pBLEScan = BLEDevice::getScan(); //create new scan
pBLEScan->setAdvertisedDeviceCallbacks(new MyAdvertisedDeviceCallbacks());
pBLEScan->setActiveScan(true); //active scan uses more power, but get results faster
pBLEScan->setInterval(100);
pBLEScan->setWindow(99); // less or equal setInterval value
}

void loop() {
// put your main code here, to run repeatedly:
BLEScanResults foundDevices = pBLEScan->start(scanTime, false);
Serial.print("Devices found: ");
Serial.println(foundDevices.getCount());
Serial.println("Scan done!");
pBLEScan->clearResults(); // delete results fromBLEScan buffer to release memory
delay(2000);
}
  1. Upload the code and open the Serial Monitor. It will list detected Bluetooth devices.
Arduino code for Bluetooth device scanning and serial monitor output.
Figure 13: Bluetooth Scan Serial Monitor Output

5.10 Bluetooth Server

This example sets up the ESP32 SuperMini as a Bluetooth server, allowing a smartphone app (like LightBlue) to write data to it.

  1. Copy the following code into your Arduino IDE:
#include <BLEDevice.h>
#include <BLEUtils.h>
#include <BLEServer.h>

// See the following for generating UUIDs:
// https://www.uuidgenerator.net/

#define SERVICE_UUID "4fafc201-1fb5-459e-8fcc-c5c9c331914b"
#define CHARACTERISTIC_UUID "beb5483e-36e1-4688-b7f5-ea07361b26a8"


class MyCallbacks: public BLECharacteristicCallbacks {
void onWrite(BLECharacteristic *pCharacteristic) {
std::string value = pCharacteristic->getValue();

if (value.length() > 0) {
Serial.println("*********");
Serial.print("New value: ");
for (int i = 0; i < value.length(); i++)
Serial.print(value[i]);

Serial.println();
Serial.println("*********");
}
}
};

void setup() {
Serial.begin(115200);

BLEDevice::init("MyESP32");
BLEServer *pServer = BLEDevice::createServer();

BLEService *pService = pServer->createService(SERVICE_UUID);

BLECharacteristic *pCharacteristic = pService->createCharacteristic(
CHARACTERISTIC_UUID,
BLECharacteristic::PROPERTY_READ |
BLECharacteristic::PROPERTY_WRITE
);

pCharacteristic->setCallbacks(new MyCallbacks());

pCharacteristic->setValue("Hello World");
pService->start();

BLEAdvertising *pAdvertising = pServer->getAdvertising();
pAdvertising->start();
}

void loop() {
// put your main code here, to run repeatedly:
delay(2000);
}
  1. Upload the code.
  2. On your smartphone, download and open a BLE client app (e.g., LightBlue).
  3. Scan for devices and connect to "MyESP32".
  4. Find the characteristic with UUID beb5483e-36e1-4688-b7f5-ea07361b26a8.
  5. Write a value (e.g., "Hello") to this characteristic. The value will be printed on the Arduino IDE Serial Monitor.
Arduino code for setting up a Bluetooth server and interaction with the LightBlue app.
Figure 14: Bluetooth Server Code and LightBlue App Interaction

5.11 ChatGPT Application

The ESP32 SuperMini can be used for applications involving ChatGPT. This typically involves connecting the SuperMini to a network, building embedded web pages, submitting questions via the web page, and receiving answers from ChatGPT. Further resources may be available for detailed implementation.

6. Expansion Board

The expansion board is specifically designed to address some limitations of the SuperMini development boards, providing enhanced functionality and easier access to I/O ports.

Key Features:

  • Battery Charging: Connects to a 3.7V lithium battery, with charging via USB and an indicator light (green for full charge).
  • I/O Expansion: Leads out all I/O ports for convenient connection of various sensors and peripherals.
  • Power Supply: Provides VCC1 and VCC2 power supplies. Default output is 3.3V. For 3.7V output, remove the 0R resistor and connect VCC1 and VCC2 to 3.7V.

Dimensions:

  • Length: 37.4mm
  • Width: 22.5mm
  • Height: 15.2mm
Expansion board for ESP32 SuperMini, showing dimensions and power supply configuration.
Figure 15: Expansion Board Details and Dimensions

7. Troubleshooting

  • COM Port Not Recognized in IDE:
    Press and hold the BOOT button, then press and release the RESET button, and finally release the BOOT button. This sequence puts the ESP32 into download mode, which can help with COM port recognition. If issues persist, check your USB cable and drivers.
  • Program Not Running After Upload:
    After a successful upload, press the RESET button on the board to execute the uploaded program.
  • ESP32 C3 SuperMini Serial Port Cannot Print:
    Ensure that the "USB CDC On Boot" option in the Arduino IDE's Tools menu is set to "Enabled".
  • ESP32-S3 Core Count:
    The ESP32-S3 is a dual-core processor, not single-core, running at up to 240MHz.
  • ESP32-H2 Flash Version:
    The ESP32-H2 typically comes with 4MB of Flash memory (N4 version).
  • SPI Bus Functionality:
    Yes, the SPI bus is fully functional on these boards as listed in their specifications.

8. User Tips

  • Always ensure proper driver installation for your operating system to avoid COM port issues.
  • When developing, frequently check the Serial Monitor for output to debug your code effectively.
  • If using the expansion board, carefully review the VCC1 and VCC2 settings to ensure you are providing the correct voltage (3.3V or 3.7V) for your components.
  • For optimal performance and stability, use a high-quality USB Type-C cable that supports both power and data transfer.

9. Warranty and Support

For technical support, please refer to the official documentation and community forums for Espressif ESP32 products. For product-specific inquiries or issues, please contact your retailer or the manufacturer directly.

10. Compliance Information

⚠️ WARNING: This product can expose you to chemicals including lead, which is known to the State of California to cause cancer and birth defects or other reproductive harm. For more information go to www.P65Warnings.ca.gov.

Documents and downloads

Ask a question about this manual

Ask about setup, troubleshooting, compatibility, parts, safety, or missing instructions. Manuals+ will review the question and use this page’s manual context to help answer it.

After a successful submission, we securely hash the supplied account or form email before sending it to Microsoft Advertising for conversion attribution. Privacy details.