Project files
README.md
Machine-translated by Robotheca from the original in Chinese (opens in a new tab). License: GPL-3.0-only (opens in a new tab).
ElectronBot-Voice
This is the voice version of the ElectronBot desktop robot.
Original project: https://github.com/peng-zhihui/ElectronBot (opens in a new tab) Discussion on the voice version: https://github.com/peng-zhihui/ElectronBot/discussions/161 (opens in a new tab)
[Update 2022-04-29]: The new sensor board was completed last night. I'm going to get it manufactured today. This time it should be fine. Please.
[Update 2022-05-05]: The new sensor board has been debugged successfully. This board does not require programming; once soldered and debugged, it becomes a USB sound card and microphone when plugged into a computer. Next, we can use the computer's audio and microphone interfaces to develop audio features! The SDK demo is on the way...
[Update 2022-05-09]: Some friends have asked about the engineering program for Version 2. Since the development workload for this version is substantial, it is recommended only for learning and research into the underlying operation of the WM8978 audio chip. Therefore, I have uploaded a project with an audio test version. It uses the CUBE+KEIL environment, and the effect after power-on is the "alarm sound" shown in the video for testing the audio driver. Be careful!
Differences from the original project:
Version 1: (Recommended)
Only the sensor board is different; the mainboard can remain unchanged from the original project. The sensor board adds a USB sound card chip, turning it into an audio device when plugged into a computer. Additionally, the sensor board's mounting holes and IMU orientation remain the same as the original project, allowing direct interface calls for voice development.
Version 2: (For learning audio development)
- Only the mainboard hardware is different; all other hardware remains the same. If you use this version of the mainboard, the software is also compatible with the original project.
- The mainboard replaces the SD card module with a WM8978 audio module while maintaining compatibility with all other interfaces. To support future expansion of local storage, an SPI flash chip has been added.
- To use voice features, you need to use the USB upper-layer communication protocol provided in this project.
- For students interested in learning audio development, this hardware is a good reference. The WM8978 is an excellent CODEC, and many domestic alternatives, such as the ES8388, are available.
Files by @jinsonli, at commit d8cac34, read from GitHub in your browser. Hardware license: GPL-3.0-only; software license: GPL-3.0-only. Robotheca doesn't review code: read it before running it.