Skip to main content

FAQ

Factory Firmware and Networking​

Q: Does Xiaozhi AI require flashing separate firmware?

The current factory firmware already integrates AIChats. After connecting to the network, simply complete activation as prompted on the screen to use it, with no need to switch firmware or reboot. To restore the factory functions, flash the complete merged firmware ESP32-S3-Touch-LCD-1.85B_FactoryOnly_20261109.bin to 0x0; flashing only 01_factory.bin does not include data partitions such as the voice model.

For detailed operations, see the ESP32-S3-Touch-LCD-1.85B Firmware Flashing Tutorial.

Q: For first-time use, how do I connect the development board to Wi-Fi?

The factory firmware provides the following two networking methods, both of which require 2.4 GHz Wi-Fi and do not support 5 GHz.

Method 1: Configure your own Wi-Fi via a phone

  1. On the development board, open "Settings" > "Connect Wi-Fi".
  2. Use your phone to scan the QR code on the screen, or connect to the development board hotspot S3-LCD-1.85B-xxxxxx in your phone's Wi-Fi settings, with the password 12345678; the hotspot name is subject to what is displayed on the screen.
  3. After the phone connects to the development board hotspot, the network configuration page will open; if it does not pop up automatically, enter http://192.168.4.1 in the phone browser.
  4. Fill in your own 2.4 GHz Wi-Fi name and password and submit. If the development board displays "Connected! You can go back.", the connection is successful; if it displays "Connected and saved.", the network information has been saved, and the device will preferentially connect to that network on the next power-on.

Method 2: Enable a phone hotspot with a specified name

Before powering on the development board, enable an internet-accessible 2.4 GHz phone hotspot with the name set to weather-wifi and the password set to 12345678; the name and password must match exactly. When no other network is saved, the development board will attempt to connect to this hotspot automatically.

After successfully connecting to the network, the desktop time will synchronize to Beijing time, and the Weather APP can obtain Shenzhen weather. For network configuration interface images and detailed steps, see the ESP32-S3-Touch-LCD-1.85B Factory Firmware Wi-Fi Setup Instructions.

Q: Wi-Fi scan can detect networks, so why is the weather still not updated?

"Wi-Fi scan" is only used for scanning and does not connect to a network. Please complete the network connection according to the ESP32-S3-Touch-LCD-1.85B Factory Firmware Wi-Fi Setup Instructions, confirm that the connected network can access the internet, and then open Weather and wait for the data to update.

TF Card and Media Files​

Q: Which functions can be used without a TF card?

Functions such as Settings, Display and Touch Test, Sensor, Battery detection, Button Test, and games do not require a TF card. Mic Test recording and playback also do not require a TF card; Xiaozhi AI requires network connection and activation.

Photo Album, Music, and Video playback require a TF card. Use the FAT32 format and insert the card before powering on; do not remove the card during reading or writing.

Q: After inserting the card, why are the photo album, music, or video lists still empty?

First confirm in "Settings" > "SD card" that the TF card is recognized, then check the folders and file formats in the TF card root directory:

  • photo: JPG/JPEG images.
  • music: MP3 audio.
  • video: MJPEG-encoded AVI videos.

After updating the files, exit the corresponding APP and reopen it. For directory examples, see ESP32-S3-Touch-LCD-1.85B TF Card Directory Description.

Q: Why do JPG images in the photo album fail to load?

A single JPG/JPEG file must not exceed 1 MB, and large images are also limited by decoding memory. If loading fails, you can shrink the image to 360 × 360 pixels and try again.

The photo album supports full-screen display; images are scaled proportionally and center-cropped to fill the 360 × 360 display area.

Q: What should I do if a video cannot be played or plays without sound?

VideoPlayer supports MJPEG-encoded AVI files, with a video frame size not exceeding 360 × 360 pixels; a file extension of .avi does not necessarily mean the encoding meets the requirements.

The current factory firmware only plays the video image and does not play the audio track in the AVI, so a video without sound is within the current functional scope. The image is scaled proportionally and displayed centered within a 240 × 240 area.

Battery and Real-Time Clock​

Q: What should I do if Battery shows -- or the desktop does not display the battery icon?

First confirm that the included 3.7 V lithium battery is connected before powering on the Type-C; connecting only the Type-C cannot replace the battery. Troubleshoot according to the prompts on the Battery page:

  • "Reading gauge..." or "Gauge initializing": Reading or initializing; wait for the data to update.
  • "No battery detected": The chip reports that no battery is detected; check the battery connection. The current solution relies on chip status bits and cannot reliably determine whether a battery is actually inserted.
  • "Gauge unavailable": The battery monitoring data is unavailable; check the battery connection and power on again to retry.

When valid data is not obtained, the values display -- and the desktop battery icon is hidden; after valid data is obtained, they are restored. See ESP32-S3-Touch-LCD-1.85B Battery Usage Instructions.

Q: If I connect the Type-C first and then insert the battery, the battery level keeps showing 100%. What should I do?

If you connect the Type-C first and then insert the battery, the fuel gauge may continue to use the previous estimate. The main interface and the Battery APP use the same battery data, and reopening the APP may not update that estimate.

Please disconnect the Type-C and the battery, then connect the battery first and the Type-C afterward, and check the battery level again. Keep the battery connected during normal use.

Q: After connecting the Type-C, why does Battery not show Charging?

The charge/discharge status is determined based on the actual battery current, not solely on whether the Type-C is connected. A positive current indicates charging, and a negative current indicates discharging; when the current is close to zero, it may display "Idle", and when the full-charge state conditions are met, it displays "Fully charged".

Q: What do the capacity and temperature in Battery represent?

"Remaining" is the remaining capacity, "Full charge" is the full charge capacity reported by the battery monitoring chip, and "Design" is the design capacity; the three have different meanings, and their values are not required to be equal. The current firmware uses the parameters of the included 3.7 V / 500 mAh battery.

"Temperature" is the internal temperature of the BQ27220 fuel gauge and cannot be directly used as a cell temperature or ambient temperature reading. Battery only reads and displays battery data and does not provide charging control or automatic low-battery shutdown functions.

Q: What should I do if the Sensor RTC time shows --:--:--?

Before opening Sensor, connect the included 3.7 V lithium battery first; even when using Type-C power, keep the battery connected. --:--:-- and "RTC unavailable" indicate an abnormal read of the hardware real-time clock; confirm the battery connection and power on again to check.

Q: Why is the time in Sensor different from the desktop time?

The desktop time is synchronized to Beijing time after network time synchronization, while Sensor displays the time of the PCF85063 hardware real-time clock (RTC). The two are independent, and network time synchronization does not modify the hardware RTC.

A valid RTC date is retained after a reboot; when an oscillator stop or invalid date is detected, it is initialized to January 1, 2025, 12:00:00. RTC power needs to be maintained during continuous timekeeping. See ESP32-S3-Touch-LCD-1.85B Sensor Usage Instructions.

Audio and Buttons​

Q: How do I play back the two recording channels of Mic Test, and where are the recordings saved?

Tap "Record" to record MIC1 and MIC2 simultaneously; recording ends automatically after a maximum of 5 seconds, or you can tap "Stop" to stop early. After recording is complete, tap "MIC1" and "MIC2" respectively to play back the corresponding channel; connect the speaker before use.

The recording is temporarily saved in PSRAM, with no TF card required; recording again overwrites the previous one, and it is cleared after closing the APP or power loss. Music, Mic Test, and AIChats share the audio hardware; exit the current audio APP before using another audio APP.

Q: Why does pressing PWR in Button Test not respond?

Button Test only detects BOOT (GPIO0) and does not detect PWR. Release BOOT first, then briefly press and release it once, and check the status, count, and "PASS" prompt.

Q: How do I exit the five-color cycle screen of Display Test?

Display Test can be exited by double-tapping the same position on the screen or pressing BOOT.

ESP-IDF Basic Examples​

Q: After flashing an IDF example, why is there no factory desktop, and why are the screens of some examples off?

The 6 examples in examples/esp-idf each demonstrate a single function, and the corresponding example runs after flashing. Among them, 03_qmi8658, 04_pcf85063, and 05_bq27220 only output data through the serial port and do not initialize the screen; please use a 115200 baud rate to view the logs.

The complete desktop project is located in examples/factory. To restore the desktop, flash the complete factory firmware according to the ESP32-S3-Touch-LCD-1.85B Firmware Flashing Tutorial.

Q: The 02_sd_card test failed. After inserting the TF card, why does it not automatically retest?

This example tests only once at startup. Power off, insert a writable FAT32 TF card, then power on again or press RESET to retest. Each run overwrites test.txt in the card root directory; please back up any file with the same name in advance. The program does not format the TF card.

The screen displaying Write / read passed and ESP_OK indicates that the test succeeded. On failure, check the mount, write, read, or unmount stage according to the on-screen prompts, and check the serial error code; Card cleanup failed indicates that read/write passed but unmounting failed.

For operation and output descriptions, see 02_sd_card Example.

Q: Why is the acceleration of 03_qmi8658 not zero when stationary, and is die the ambient temperature?

The sensor still measures gravity when stationary, so the three-axis acceleration is not required to be all zero. Simply tilt or rotate the development board and check whether the acceleration and angular velocity change with the motion.

Accel [g] is acceleration, and gyro [deg/s] is angular velocity; die is the internal temperature of the QMI8658 chip and cannot replace an ambient temperature measurement.

Q: Why does 04_pcf85063 not start counting from 2026 as in the code, and how do I change the time?

First connect the included 3.7 V lithium battery, then connect the Type-C, and keep the battery connected. The example defaults to SET_TIME_ON_BOOT = false, retaining the valid time in the RTC; only when an oscillator stop or invalid date is detected, the BSP initializes it to January 1, 2025, 12:00:00.

To set the time, change SET_TIME_ON_BOOT in main/main.cpp to true, modify initial, and recompile and flash. Once enabled, this time is written on every startup; if you need to retain subsequent timekeeping, change the switch back to false and recompile and flash. This example does not perform network time synchronization.

Q: 05_bq27220 shows present=1 and 100% even with only USB connected. Does this prove the battery is normal?

No. The above status and values come from the fuel gauge and cannot reliably prove that a battery is actually connected or the actual battery level. Please first connect the included 3.7 V / 500 mAh battery, then connect the Type-C, and keep the battery connected.

A positive current indicates charging, and a negative current indicates discharging; RC is the remaining capacity, FCC is the full charge capacity, design is the design capacity, avg is the average current, and gauge is the internal temperature of the fuel gauge. If only the status is output without battery values, check present, initialized, and the serial error prompt.

If connecting the Type-C first and then the battery causes the battery level to keep showing 100%, reconnect according to the Battery Connection Order Instructions. For field meanings, see 05_bq27220 Example.

Q: How do I test the two microphones with 06_mic_test, and why can't I click playback?

First connect the speaker, speak into the microphone, and observe whether the MIC1 and MIC2 volume bars change. Tap "Record" to record both audio channels simultaneously; recording stops automatically after a maximum of 5 seconds, or you can tap "Stop" to end early; after recording is complete, tap "MIC1" and "MIC2" respectively to play back the corresponding channel.

The playback buttons are unavailable when no recording has been made or while recording or playback is in progress. The recording is saved in PSRAM, with no TF card or network required; a new recording overwrites the previous one, and it is cleared after a reset or power loss. The default playback volume is 60%, and no real-time external playback occurs during level monitoring and recording.

CLIPPED indicates that sample clipping has been detected; you can lower the sound intensity and record again. The level value in dBFS is not equivalent to the ambient noise decibel level. If an error occurs, check the on-screen prompt and tap "Retry" to try again. See 06_mic_test Example.

Other Questions​

Q: How to get more library support for the example?

A: You can subscribe to this repository and submit an issue describing your requirements. Once the engineer receives the request, it will be evaluated as soon as possible: ESP32-display-support

Q: When both the battery and Type-C are connected, I long press the PWR button for about 2 seconds and then unplug the Type-C, and the device powers off. What should I do?

Principle: While the Type-C is connected, VBUS maintains the DCDC enable. At this point, long pressing the PWR button for about 2 seconds generates a shutdown signal, but the device is still powered by VBUS; after the Type-C is unplugged, VBUS disappears, the shutdown signal takes effect, and the device powers off immediately.

Solution: Press the PWR button again to restore battery power, and the screen can then light up normally.

Q: Why does the flashing fail?
  1. When the serial port is occupied, the flashing will fail. Close the serial port monitor and try to flash again.
  2. When the ESP32 program crashes, the flashing will fail. In this case, you need to completely power off the development module, hold down BOOT button and power it on again to enter the forced download mode and then flash it. After flashing, it does not automatically exit download mode, so you need to power off and restart again.
Q: How do I check which COM port I am using?

Windows System:

  1. Through Device Manager: Press Windows + R to open the "Run" dialog; enter devmgmt.msc and press Enter to open Device Manager; expand the "Ports (COM & LPT)" section, where all COM ports and their current status are listed.
  2. Using Command Prompt: Open Command Prompt (CMD); enter the mode command, which will display status information for all COM ports.
  3. Check the hardware connection: If an external device is already connected to a COM port, the device typically occupies a port number. You can determine which port is being used by checking the connected hardware.

Linux System:

  1. Use the dmesg command: Open the terminal.
  2. Use the ls command: Type ls /dev/ttyS* or ls /dev/ttyUSB* to list all serial devices.
  3. Use the setserial command: Type setserial -g /dev/ttyS* to view configuration information for all serial devices.
Q: Can you help me review or modify my code? Can you help me modify the code?

This product is positioned as a development board, not a finished product. This product is positioned as a development board, not a finished product. The product ecosystem is based on the ESP32 core, which is very mature and has a friendly development environment. We do not assist with code modifications; please let your inner maker and geek DIY skills shine. If you have questions, you can ask the engineers for answers.

If you like our product and wish to customize hardware, casing, software, etc. in bulk, please feel free to contact our sales.

Bulk Customization

Q: How do I use SquareLine Studio to design interfaces?