pdf-icon

M5AtomEcho Program Compilation and Upload

1. Preparation

2. USB Driver Installation

Driver Installation Tip
Connect the device to the PC and open the device manager to install the FTDI driver . For Windows 10, download the driver files matching your OS, unzip them, and install them through the device manager. (Note: In some system environments, the driver may need to be installed twice to take effect. Unrecognized devices are usually named M5Stack or USB Serial. Windows recommends using driver files for direct installation in the device manager (custom update); executable installation may not work properly). Click here to download the FTDI driver
MacOS Notes
For MacOS users, before installation, go to System Preferences -> Security & Privacy -> General -> Allow apps downloaded from -> App Store and identified developers.

3. Port Selection

Connect the device to the computer via a USB cable. After completing the driver installation, select the corresponding device port in the Arduino IDE.

4. Program Compilation & Upload

  1. Open the example program “EchoRest” from the driver library.
  1. Fill in the WiFi name and password in the code.
  1. Click the upload button to automatically compile and upload the program.

5. Program Effects

Indicator light description:

  • After powering on, a red status light indicates the network is not connected.
  • After powering on, a green status light indicates the network is connected.
  • Pressing the button changes the status light to yellow.
  • A red status light indicates a recognition result.
  • A green status light indicates a successful recognition result.
  1. Open the serial monitor and press the reset button to display that the WiFi is connected.
  1. Hold down the button and start speaking for voice recognition. When finished speaking, it will print “end”. Release the button and wait for the recognition result.
On This Page