"How to control an electric wheelchair using voice and head movement?"

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.

1 Like

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.

1 Like

I think you need to follow forum recommendations on posting your code
Please read

1 Like

Please edit you post so that your code is viewed as code.

Hint: <code>

I can’t see any code posted ?

github+arduino+Voice+Recognition+V3

Well such a picture is almost useless.
Think: If you would try to rebuild this wiring by this picture would this work.

Well if this picture would be the only thing to make it possible to return from planet mars
you would surely try it. But here on earth?

If your main subject in studying is anything technical you should show much more own effort. I think you are surely able to google for demo-codes.

Click on the little orange pen...

I don’t see any orange pen !!?

For me it's not orange anymore now that I've clicked on it, but you get the idea:

i see, thanks. It’s in the edit history of the first post..l

Sadly, hard to find, as the code and other stuff has been deleted from the main thread , so it’s not obvious.

I didn't know OP had edited it out (unintentionally?) when I posted, but thankfully there's a history.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.