We are students, and we have an engineering project about an electric wheelchair that moves using head motion and voice commands. We are using the following components:
Arduino Mega
Gyroscope (MPU6050)
Voice Recognition V3
BTS7960 Motor Driver
We have successfully controlled the wheelchair using head movement, but we are unsure how to build the code for voice control. We have already loaded the voice commands: "forward", "back", "right", "left", and "stop", but we don’t know how to write the code that activates these commands on the wheelchair.
If anyone can help us, please do. Here is an image of the wiring connections:}
When you have graduated, will you have a few hundred or maybe thousand experienced advisors to do your job for you as well? We all got this knowledge by spending hours reading, try it.
Surely, there must be sample code that works. Try modifying that code, one step at a time and see if you can change some of the sample code to react to one of your key words.