In this project, we will control a simple robot by using voice commands using the XIAO nRF52840 Sense that has a built-in microphone. In this project, we use the micro_speech library, and the received commands are displayed on the old screen.
π· Pictures- 4 Different Voice Commands
- Show all received commands on Oled Display
We will use XIAO nRF52840 Sense as a processor. and we will add an OLED display to show received commands. Also with the Help of the DRV8833 Dual Motor Driver Module, we were able to control our DC Motors as Voice Commands were received.
- XIAO nRF52840 Sense
- DRV8833 Dual Motor Driver
- Oled 0.96 SSD1306
Make the connections according to the table and schematic below.
- XIAO nRF52840 and DRV8833.
We Should Connect STBY pin to VCC pin.
- Complete Schematic
Before uploading the code you need to install the required library in Arduino IDE. Follow these steps:
- Follow this path Sketch> Include Library> Manage Libraries
- Search for Adafruit SSD1306
- Install the library
-Then search for the βGFXβ and install it also.
π UsageAfter completing all the steps, the robot moves by receiving voice messages and the received messages are displayed on the screen.
Comments