O'Reilly logo

Arduino Android Blueprints by Stefan Buttigieg, Marco Schwartz

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

Chapter 7. Voice-activated Arduino

In this chapter, we will use another feature of Android devices to control an Arduino system: voice recognition. We will control a relay that is connected to an Arduino board by sending vocal commands from the phone.

This relay can be connected to many things. For example, it can be connected to an electric door lock so that you could open and close a door by just speaking into your phone. You can also connect the relay to a lamp, to switch the lamp on and off by giving a vocal command to your phone.

In this chapter, you will learn how to:

  • Connect a relay and a Bluetooth module to an Arduino board so that it can be controlled from the Android application
  • Build an application using the Android speech API
  • Control 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