O'Reilly logo

Arduino by Example by Adith Jagadish Boloor

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Implementing speech control

We have already learned about Bluetooth and speech control in the previous chapters. In this chapter, we are going to merge them.

Connecting the HC-06 module

Just like in the burglar alarm project (Chapters 4 and 5), hook up the Bluetooth to the Arduino MEGA in the following manner:

Connecting the HC-06 module

Make sure you are connecting the Bluetooth module to the 3.3V of the MEGA, and not the 5V. Leave the rest of the servo wiring as it is.

Programming the Arduino

Now, open the robot_dog_speech.ino file. Just like before, change the servo center parameters to match your robot. Upload the program and connect the computer to the Bluetooth, using the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required