TENSTAR ROBOT ESP32-C3 SuperMini Plus V2.0

Contents

TENSTAR ESP32-C3 SuperMini Plus Development Board User Manual

Model: ESP32-C3 SuperMini Plus V2.0

1. Introduction

The TENSTAR ESP32-C3 SuperMini Plus is a compact IoT development board powered by the Espressif ESP32-C3 WiFi Bluetooth SoC. Designed for versatility and ease of use, this board features a small form factor and a single-sided surface mount design, making it ideal for a wide range of embedded applications and IoT projects. It integrates WiFi and Bluetooth 5.0 capabilities, along with various communication interfaces and GPIOs, providing a robust platform for your development needs.

TENSTAR ESP32-C3 SuperMini Plus Development Board with FPC antenna and pin headers
The TENSTAR ESP32-C3 SuperMini Plus Development Board.

2. Key Features

  • Powerful CPU: ESP32-C3, 32-bit RISC-V single-core processor, up to 160 MHz.
  • Wireless Connectivity: Integrated 2.4 GHz WiFi (802.11 b/g/n) and Bluetooth 5.0 (LE).
  • Memory: 4MB Flash.
  • Low Power Consumption: Supports deep sleep power consumption of about 43μA.
  • Security Features: Supports AES-128/256, hashing, RSA, HMAC, digital signature, and secure boot.
  • Interfaces: 4 serial communication interfaces (UART, I2C, SPI, I2S).
  • GPIOs: 11 digital I/Os (can be used as PWM pins) and 4 analog inputs (ADC pins).
  • Onboard LED: GPIO8 pin.
  • Compact Design: Small and delicate form factor (22.5mm x 18mm) with single-sided surface mount.
  • USB Interface: USB Type-C for power and data.

3. Technical Specifications

Feature Specification
Brand Name TENSTAR ROBOT
Type Module
Model ESP32-C3 SuperMini Plus V2.0
CPU ESP32-C3, 32-bit RISC-V single-core
CPU Frequency Up to 160 MHz
Flash Memory 4MB
WiFi Standard 802.11 b/g/n
Bluetooth Version Bluetooth 5.0 (LE)
Supply Voltage 5V (via USB Type-C)
Dissipation Power 1
Operating Temperature -30°C to +50°C
Digital I/O Pins 11 (PWM capable)
Analog Input Pins 4 (ADC capable)
Communication Interfaces UART, I2C, SPI, I2S
Package Type DIP
Dimensions 22.5mm x 18mm
Comparison of SuperMini C3 and SuperMini C3 PLUS, highlighting LED, Antenna interface, RGB LED
Comparison of SuperMini C3 and SuperMini C3 PLUS features.
Close-up image of the ESP32-C3 SuperMini Plus board showing dimensions
Dimensions of the ESP32-C3 SuperMini Plus board.

4. Package Contents

Your package should contain the following items:

  • 1 x TENSTAR ESP32-C3 SuperMini Plus Development Board
  • 1 x FPC Antenna (for SuperMini C3 Plus version)
  • Pin Headers (for soldering)
Contents of the ESP32-C3 SuperMini Plus package including board, antenna, and pin headers
Typical package contents for the ESP32-C3 SuperMini Plus.

5. Setup Guide

5.1. Hardware Setup

  1. Connect to Computer: Use a USB Type-C data cable to connect the ESP32-C3 SuperMini Plus to your computer. Ensure you use a data-capable USB cable, as some cables only provide power.
  2. External Antenna (SuperMini C3 Plus): If you have the SuperMini C3 Plus version, connect the provided FPC antenna to the antenna interface on the board. No soldering is required for this connection.
  3. Pin Headers: Solder the included pin headers to the board if you intend to use it on a breadboard or with jumper wires.
Hardware setup diagram showing external power supply warning and USB cable requirement
Hardware setup considerations, including external power and USB cable type.

5.2. Software Setup (Arduino IDE)

  1. Install Arduino IDE: Download and install the latest version of the Arduino IDE from the official Arduino website.
  2. Add ESP32 Board Package:
    • Open Arduino IDE and 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: After installation, go to Tools > Board > ESP32 Arduino and select ESP32C3 Dev Module.
  5. Select Serial Port: Go to Tools > Port and select the serial port corresponding to your ESP32-C3 SuperMini. This is typically a COM port on Windows or /dev/ttyUSBx on Linux/macOS.

6. Operating Instructions

6.1. WiFi Functionality

Connect the ESP32-C3 SuperMini to your computer using a USB Type-C data cable.

6.1.1. Scan WiFi Networks (Station Mode)

The board can be configured in station (STA) mode to scan for available WiFi networks.

  1. Copy and paste the following code into your Arduino IDE:
  2. #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);
    }
  3. Upload the code to the board.
  4. Open the Serial Monitor in the Arduino IDE to view the scan results.
Serial monitor output showing WiFi network scan results
Example serial monitor output for WiFi network scanning.

6.1.2. Connect to a WiFi Network

  1. Copy and paste the following code into your Arduino IDE:
  2. #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()
    {
    }
  3. Modify: Replace "your-ssid" and "your-password" with your actual WiFi network credentials.
  4. Upload the code and turn on the serial monitor to check if the development board is connected to the WiFi network.
Serial monitor output showing successful WiFi connection and assigned IP address
Example serial monitor output for successful WiFi connection.

6.1.3. WiFi Hotspot (Access Point Mode)

The ESP32-C3 SuperMini can act as a WiFi access point (hotspot) for other devices to connect to.

  1. Copy and paste the following code into your Arduino IDE:
  2. #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);
    }
  3. Upload the code and open the serial monitor to check for details about the WiFi access point.
Serial monitor output showing WiFi hotspot details like IP, SSID, and connected devices
Example serial monitor output for WiFi hotspot mode.

6.2. Bluetooth Functionality

Connect the ESP32-C3 SuperMini to your computer via a USB Type-C cable.

6.2.1. Scan Bluetooth Devices

The ESP32-C3 SuperMini can scan for available Bluetooth devices around it.

  1. Copy and paste the following code into your Arduino IDE:
  2. #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);
    }
  3. Upload the code and turn on the serial monitor to start scanning for Bluetooth devices.
Serial monitor output showing Bluetooth device scan results
Example serial monitor output for Bluetooth device scanning.

6.2.2. As a Bluetooth Server

The ESP32-C3 SuperMini can function as a Bluetooth server, allowing a smartphone or other device to connect and send data.

  1. Copy and paste the following code into your Arduino IDE:
  2. #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);
    }
  3. Upload the code.
  4. Use a Bluetooth application (e.g., LightBlue on a smartphone) to connect to "MyESP32", scan for services, and write a string to the characteristic. The received string will be displayed on the serial monitor.
Screenshots of LightBlue app showing connection to MyESP32 and writing data
Steps to connect and write data to the ESP32-C3 SuperMini acting as a Bluetooth server.

6.3. Serial Port Communication

The ESP32-C3 SuperMini has two hardware serial ports: a USB serial port and a UART serial port.

  • USB Serial Port: By default, USB serial is enabled. You can connect the development board to a PC via USB Type-C and use the Arduino IDE's Serial Monitor to see data sent via serial.
  • UART Serial Port: To use UART as a serial port, you may need to connect pin 20 as a TX pin and pin 21 as an RX pin using a USB serial adapter.

Note: You may need to set "USB CDC On Boot" to "Enabled" from the Arduino IDE's Tools menu for proper serial communication.

Diagram showing serial port connections and Arduino IDE settings for USB CDC On Boot
Serial port configuration and USB CDC On Boot setting in Arduino IDE.

6.4. I2C Communication

The ESP32-C3 SuperMini can communicate via I2C, for example, with a 0.96" OLED display.

  1. Open Arduino IDE and navigate to Sketch > Include Library > Manage Libraries...
  2. Search for and install the appropriate library (e.g., u8g2 for OLED displays).
  3. Upload the code to display text on the OLED display.

6.5. Digital Pin Control (LED Blinking)

Upload the following code to make the on-board LED blink every second.

// 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
}

6.6. Digital PWM Control (LED Fading)

Upload the following code to observe the on-board LED gradually dim.

int ledPin = 8;    // LED connected to digital pin 8

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);
  }
}

6.7. Analog Pin Control (Potentiometer)

Connect a potentiometer to pin A5 and upload the following code to control the flashing interval of the LED by turning the potentiometer knob.

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);
}

6.8. ChatGPT Integration

The ESP32-C3 SuperMini can be used for applications involving ChatGPT. This typically involves configuring the board to connect to a network, building embedded web pages, submitting questions via the web page, and receiving answers from ChatGPT via an API call.

If you are interested in this advanced application, further resources and examples can be found online for ESP32-C3 based ChatGPT integrations.

7. Pinout Diagram

The ESP32-C3 SuperMini has various interfaces, including 11 digital I/Os (PWM capable) and 4 analog inputs (ADC capable). The pin mapping can sometimes be confusing due to different naming conventions (e.g., A0-A5, GPIO0-GPIO10, D pins). When using the Arduino IDE and selecting the ESP32C3 Dev Module, you can refer to the pin map below to understand the function of each pin (analog or digital).

Detailed pinout diagram for the ESP32-C3 SuperMini board
Pinout diagram of the ESP32-C3 SuperMini.

8. Troubleshooting (FAQ)

Q: COM port cannot be recognized on IDE.

A: Enter download mode:

  1. Method 1: Press and hold the BOOT button to power on.
  2. Method 2: Press and hold down the BOOT button of the ESP32C3, press the RESET button, release the RESET button, and then release the BOOT button.

Then the ESP32C3 will enter download mode. (Each connection needs to re-enter the download mode; sometimes press once, the port instability will be disconnected, you can judge by the port identification sound).

Q: The program will not run after upload.

A: After the upload succeeds, you need to press the Reset button to execute the upload.

Q: ESP32 C3 SuperMini serial port cannot print.

A: Set the USB CDC On Boot option in the Arduino IDE's Tools menu to "Enabled".

9. User Tips

  • External Antenna Connection: For the SuperMini C3 Plus, the external FPC antenna connects directly to the U.FL connector on the PCB. Unlike some other development boards, this model typically does not require soldering or modifying jumpers to enable the external antenna. Ensure it is securely snapped into place for optimal WiFi/Bluetooth performance.
  • Power Supply: While the board can be powered via USB, ensure your USB cable is capable of data transfer if you intend to upload code or use serial communication. For external power supplies, always double-check polarity to prevent damage.
  • IDE Setup: Always ensure you have the correct board selected (ESP32C3 Dev Module) and the proper serial port chosen in your Arduino IDE before uploading code.

10. Safety Warnings

  • External Power Supply: When connecting an external power supply, be extremely careful not to short-circuit the positive and negative electrodes. Incorrect wiring can permanently damage the board and connected equipment.
  • Soldering: If soldering pin headers or other components, ensure proper ventilation and use appropriate safety gear. Avoid inhaling fumes and prevent solder splashes.
  • Static Discharge: Handle the development board with care to avoid electrostatic discharge, which can damage sensitive electronic components.

11. Warranty and Support

For technical support, documentation updates, or further assistance, please refer to the official TENSTAR ROBOT website or contact their customer service. Keep your purchase receipt for any warranty claims.

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.