The voice-controlled bot application is the main focus of this chapter. The following are the three main parts involved in creating a voice-controlled robot:
- A voice recognition application: The voice recognition application will recognize our voice and send data as text when a particular word is recognized. For example, if we say the word forward, the application would send an F to the robot.
- Bluetooth connection: This involves establishing a working connection between the Bluetooth of the smartphone and the Bluetooth of the RPi.
- RPi Robot program: In this section, we will decode the text information that is transmitted from the smartphone and move the robot accordingly. For example, if the incoming text is F, then we will write a program to move the robot forward.
In this section, we will create a voice recognition application. In the...