In the world of robotics, voice recognition is a hot topic. Imagine controlling a robot simply by using voice commands. Sounds exciting, right? With the advent of technology and advancements in microcontrollers, it is now possible to build a voice-recognition robot at home. In this blog, we will show you how to design and build a voice recognition robot using the XIAO nRF52840 Sense, a powerful microcontroller with a built-in microphone.
🌟 About the Project
In this project, we will use the XIAO nRF52840 Sense as the main processor and build a robot that can be controlled using voice commands. The micro_speech library will be used to recognize the voice commands and the received commands will be displayed on an OLED screen. With this project, you will learn how to design a basic robot that can be controlled using voice commands.
🎯 Features
- • 4 Different Voice Commands
- • Show all received commands on an OLED Display
🧰 Getting Started
To build this voice recognition robot, you will need the following components:
- • XIAO nRF52840 Sense
- • DRV8833 Dual Motor Driver
- • OLED 0.96 SSD1306
🔌 Schematic
To build this voice recognition robot, you will need to make the following connections:
• XIAO nRF52840 and DRV8833
XIAO nRF52840 | DRV8833 |
1 | AIN1 |
2 | AIN2 |
10 | BIN1 |
9 | BIN2 |
5V | Vm |
GND | GND |
• XIAO nRF52840 and OLED display
XIAO nRF52840 | OLED 0.96 |
---|---|
5 | SCK |
4 | SDA |
5V | VDD |
GND | GND |
Code
If you’re interested in building this project on your own, the code is available on GitHub. Simply go to the GitHub repository, and download the code.
GitHub repository: github.com/cifertech/XIAO-ROBOT
⚙️ Installation
Before uploading the code, you need to install the required libraries in the Arduino IDE. To do this, follow these steps:
- 1. Open the Arduino IDE
- 2. Go to Sketch > Include Library > Manage Libraries
- 3. Search for Adafruit SSD1306
- 4. Install the library
- 5. Search for “GFX” and install it as well.
👀 Usage
After completing all the steps, your voice recognition robot is ready to use. The robot will move in response to voice commands and the received messages will be displayed on the OLED screen. With this project, you will learn how to build a basic voice recognition robot and how to control it using voice commands.
Conclusion
Building a voice recognition robot is a fun and educational project that can teach you many new skills. By using the XIAO nRF52840 Sense, a powerful microcontroller with a built-in microphone, you can create a robot that can be controlled using voice commands. With this project, you will learn how to design and build a basic robot and how to control it using voice commands. So, go ahead and start building your own voice-recognition robot today!