Skip to content

Overview

We provide an IoT solution for the driver board, using the socket protocol within a LAN and the MQTT protocol across networks.

If you purchased the 4G video car package, we will configure this module before shipping, and you can use it right out of the box;

If you purchased the board alone or a standard car, you can use our provided tool to flash the program onto the board or download the source code to flash it yourself.

1. Flashing the Program onto the ESP32 Driver Board

  • Flashing Tool Download the tool here and flash the general-purpose program.

or

2. Download the App on Your Phone or Tablet

Currently only the Android app is released. Click to download the Android APP

3. Configuration Steps

  1. Press and hold the boot button on the development board, and release it when the LED indicator starts flashing;

  2. On your phone or computer, search for the hotspot with the prefix "RobotS3" and connect to it.

    a) After connecting, wait a moment. Since this Wi-Fi cannot access the internet, the system may prompt: "Keep connected?" Click "Keep connected";

    b) If you do not keep the connection, it may fail to connect.

  3. Open the address 192.168.123.1 in your phone's browser.

    a) The phone will then open an interface showing the Wi-Fi list;

    b) Click the Wi-Fi you want to connect to, enter the password, and the device will connect to that Wi-Fi;

    c) If successful, the development board will restart, stop flashing the LED, and automatically turn off the RobotS3 hotspot;

    d) There is a certain probability of configuration failure; if the LED on the board stops flashing, press and hold the boot button again to try once more.

  4. If the board's indicator turns green and stays lit, it means it is connected to the Wi-Fi. If it is yellowish or red, it is not connected; you can try configuring the network again.

  5. Switch your phone back to the Wi-Fi you selected earlier, reopen the app, and it will automatically scan and find the device;

  6. After the app recognizes the device, pairing succeeds; afterwards the phone can switch to other networks.

3. Data Packet Format (For Reference Only)

The ESP32 code is open source, so you can modify the code to extend your functionality.

The app sends data packets of 10 bytes total, which are automatically filled with different data according to the state of the buttons or joysticks:

First byte: 1 is a data packet, 2 is a heartbeat packet, others are customizable;

Second byte is auxiliary data, customizable;

Third byte is the up/down slide data of the left joystick, default 127; sliding up reaches a minimum of 0, sliding down reaches a maximum of 255;

Fourth is the left/right slide data of the left joystick;

Fifth and sixth are the right joystick;

Seventh to tenth represent button states; one byte is 8 bits, so these 4 bytes can express up to 32 button states. For example:

  • a) The seventh byte has 8 bits with a default value of 0x00000000, indicating all 8 buttons are released; if button A is pressed, it is 0x0000001
  • b) If buttons A and B are pressed at the same time, the data is 0x00000011