Getting Started with the M5Stack Atom STT
In this guide I will show you how to get started using EchoS.T.T using M5Stack products.
In order to follow this guide, you will need a host computer running the latest Google Chrome web Browser, M5Stack AtomU, and an M5Stack Core2 with the latest firmware.
First things first.
To get started we first need to burn the AtomSTTU firmware to the AtomU using M5BurnerV3. Plug the AtomU into a USB Port.
AtomU plugged into a Satechi Hub as the M1 iMac doesn't have USB.
Load up the latest M5Burner, select the Atom controllers in the list on the left and then scroll down to find the AtomSTTU firmware.
M5Burner showing the Atom Echo STT Firmware.
For the AtomU select ATOM_STT but if you have the white Atom Echo, use EchoSTT. Click on the download button to download the firmware and when finished downloading, click on the burn button.
Next come the WIFI configuration dialog:
M5Burner's Wifi Configuration
Select the SSID of the network you wish to connect to, type in the password and then click the next button.
Select the port that the AtomU is connected to, select the baud rate and then click on Erase to wipe the existing firmware.
After erasure you may be returned to the main screen, if you do, repeat the last few steps to return to this dialog, make sure the correct port is deleted and click on Start to burn the firmware.
When you are returned to the main screen again, click on "Get Token", select the comport to search and retrieve you individual EchoSTT token.
Click on the blue icon to the right of the token to copy it to the host computers memory.
Next open Google Chrome and go to flow.m5stack.com.
The EchoSTT blocks are to be found in the MediaTrans menu. Copy the code as shown in the screenshot. Paste the token you copied from M5Burner into the init block. and upload to the Core2.
Next open the terminal from inside UIFlow by clicking the orange button on the bottom.
UIFlows new terminal. Currently only works in new versions of Google Chrome with Web USB!
The terminal is needed to see what the EchoSTT hears and understand. The LED on the top of the AtomU should be blue to shown that it has connected to the internet and ready for use. Press the button on the AtomU say something and then release.
I don't know if it is me or EchoSTT but it takes some time to work out how to voice commands in a way that EchoSTT will understand.
The screenshot shows some commands I tried to say to the AtomU.
"lo xo asht te" was supposed to be "Hello EchoSTT".
"Reggie" is supposed to be "Red LED".
With a bit of learning and practice you will be able to control the LED bars on the bottom of the Core2AWS.
The code works by waiting on text to be recorded by the EchoSTT and sent to the Core2. If the text matches that in the IF logic block, then the LEDs will light.
This guide is based on the video found on the document page for the AtomU STT.
I hope you have found this useful and thank you for taking the time to stop by and read.
Code