O'Reilly logo

Make: JavaScript Robotics by Rick Waldron, Backstop Media

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 6. Building Voice-Controlled NodeBots

In this chapter, you will learn how to build a voice control for your NodeBot projects, from a basic controller using a microphone and loud sounds to a more advanced approach using speech recognition systems and an Android Wearable.

Initially, we will create a relay circuit that will be controlled with Johnny-Five, then we will create a microphone preamplifier circuit that will enable us to control the relay using loud sounds (see Figure 6-1). This approach will be useful if we are near our relay circuit. Then we will create a Node.js server that will respond to voice commands through real-time WebSockets and a REST API. At the end, we will see how to use other devices to interact ...

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