EchoSTT is a voice-to-text service that sends local voice recordings to a cloud server via the internet and returns the transcription results to the local device or other M5 devices. Click here to view the detailed usage documentation .
The TimerCAM enables a low-power, timed wake-up shooting feature, which depends on a Wi-Fi connection. The captured images are automatically uploaded to the M5 cloud, and a unique token is used to generate a fixed HTTP interface. Other devices can access this interface to obtain the latest image and the current battery voltage status of the device. Click here to view the detailed usage documentation .
The M5CORE2
is used for voice recording, remote transmission, or saving to a local TF Card, with playback functionality. This feature depends on a Wi-Fi connection. Recorded audio is forwarded through the M5 cloud, and a unique token generates a fixed API interface. Another M5CORE2 device can use this token to access the latest recorded audio.
Preparation:
1.
Click here to refer to the M5CORE2-UIFlow firmware burning tutorial and complete the firmware burning
2. Follow the steps below to connect the M5CORE2 device, which has been flashed with UIFlow firmware, to the PC. In M5Burner, find the ATOM ECHO STT
firmware, click GET TOKEN
, and save the obtained TOKEN for subsequent programming.
Mic record init
Mic record to server sec token xxx
Mic record to file second sec file path
/sd/file_name.wav
).Init token xxx autoplay True
Audio play
Get audio state
Audio deinit
This program enables sending audio data to storage under the corresponding token in the M5 cloud, supports recording audio to the TF Card, and plays audio that has been saved on the TF Card through the Speaker.
This program fetches and automatically plays audio from a specified token. Pressing the screen button can replay the audio.
Run the above programs on two M5 devices respectively, and use the buttons to trigger audio recording and playback.