pdf-icon

ATOM ECHO

SKU:C008-C

Tutorial

This tutorial will show you how to connect the ATOM Echo to Home Assistant.
This tutorial will show you how to program and control Atom Echo devices through Arduino IDE
This tutorial will introduce you to how other M5 devices can obtain recognition results from Atom Echo STT through UIFlow.

Description

ATOM ECHO is a Programmable Smart Speaker based on the M5ATOM design. Its form factor is very small, its dimensions are only 24 * 24 * 17 mm. Music can be played using the BT capabilities of the ESP32 from a mobile phone or tablet. The device could be programmed to access AWS, Baidu and other cloud platforms, using the built-in microphone and speaker for voice interaction, so that ATOM ECHO has certain AI capabilities, realizing voice control, story telling, Internet of things and other functions. The speaker is embedded with an RGB LED (SK6812), which can visually display the connection status. In addition to being used as a BT speaker, it still has the control ability of Atom series.Screw hole on the back is convenient for users to fix.

Product Features

  • Light and small
  • Support STT services
  • Based on ESP32, Support A2DP
  • 2.4G Wi-Fi IEEE 802.11b/g/n
  • Built-in microphone and speaker
  • RGB LED status display indication
  • GROVE extension interface
  • Record and playback
  • Programmable key
  • Programming platform:Arduino、ESP-IDF/ADF

Include

  • 1x ATOM ECHO

Applications

  • BT Speaker
  • Voice control
  • IoT

Specification

Resources Parameter
SoC ESP32-PICO-D4,240MHz,Dual Core,Wi-Fi
Flash 4MB
Interface 1x IR-TX,1x Function Button,1x Reset Button
PinOut G21/G25/5V/GND, 3V3/G22/G19/G23/G33
RGB LED SK6812
Speaker 0.8W/NS4168 I2S
Microphone SPM1423 PDM
Net weight 5g
Gross weight 10g
Product Size 24*24*17mm
Package Size 85*65*17mm
Case Material Plastic ( PC )

Pin Map

DataOut BCLK DataIn LRCK RGB Btn
G22 G19 G23 G33 G27 G39
Pins Note:
G19/G22/G23/G33 have already been defined. Please do not reuse these pins, as it may cause damage to the ATOM ECHO.
Play Note:
To prevent accidental damage to the ATOM ECHO, please avoid the following operations during use:
1.Outputting DC signals through the I2S channel.
2.Playing white noise for an extended period of time.
3.Playing full-scale square wave audio.

Schematic

Driver Installation

Connect the device to the PC, open the device manager to install FTDI driver for the device. Take the win10 environment as an example, download the driver file that matches the operating system, unzip it, and install it through the device manager. (Note: In some system environments, the driver needs to be installed twice for the driver to take effect. The unrecognized device name is usually M5Stack or USB Serial. Windows recommends using the driver file to install directly in the device manager (custom Update), the executable file installation method may not work properly). Click here to download FTDI driver
For MacOS users, please tick System Preferences -> Security and Privacy -> General -> Allow downloadable apps from the following locations -> App Store and Approved Developer Options .

EasyLoader

EasyLoader is a concise and fast program writer, which has a built-in case program related to the product. It can be burned to the main control by simple steps to perform a series of function verification.

Download Windows Version Easyloader Download MacOS Version Easyloader

Description:
The Factory Test firmware is BT speaker, which uses A2DP protocol to transmit audio data(call reception is not supported). After power on, the red LED will be displayed. When the connection with BT device is established, the LED will turn green. At this time, the sound can be output through atom echo. The LED turns red when disconnected. The firmware is compiled on the esp-idf platform. If senior users need to develop other functions by themselves, they can build the environment according to the official documents of Espressif. See the following links for the source code of factory firmware and bin file, where the BIN file burning address is 0x0000.

Example

Arduino

ESP-IDF

Video

The following video is an example

Tutorials for setting up the M5Stack Atom Echo as a voice assistant for Home Assistant