Bukit Mertajam, Penang

Controlling Arduino Using Voice

Introduction

Controlling a Maker UNO using voice seems difficult and impossible. But no worries, now we can control the Maker UNO using our voice with the help of Arduino Voice Control Apps and Bluetooth HC-06. This apps is free and available in playstore. Now let’s have a look on how to do it! 

Hardware Preparation

This tutorial use :

  1. Maker UNO
  2. Bluetooth HC-06
  3. Red LED
  4. Green LED
  5. Yellow LED
  6. 220 ohm Resistor x 3
  7. Male to Male Jumper Wire
  8. Breadboard

You can make the hardware connection based on the diagram and table below.

Connection
HC-06 : VCCMaker UNO: 5V
HC-06 : GNDMaker UNO: GND
HC-06 : RXMaker UNO: pin 10
HC-06 : TXMaker UNO: pin 11
Yellow LED (+)Maker UNO: pin 4
Red LED (+)Maker UNO: pin 5
Green LED (+)Maker UNO: pin 6
Yellow LED (-)Maker UNO: GND with Resistor
Red LED (-)Maker UNO: GND with Resistor
Greed LED (-)Maker UNO: GND with Resistor
Figure 1 : Circuit Connection

Arduino Voice Control

This is step by step on how to use the apps. Check it out!

Figure 2 : Arduino Voice Control Apps

Control The Arduino Using Voice

These are the output of the Arduino based on the voice input through the apps.

VOICE INPUTOUTPUT
onAll LED turn on
offAll LED turn off
yellow onYellow LED turn on
yellow offYellow LED turn off
red onRed LED turn on
red offRed LED turn off
green onGreen LED turn on
green offGreen LED turn off

Sample Code

This is the sample code used for this tutorial. Try it!

Thank you

Thank you for reading this tutorial and we hope it helps your project development. If you have any technical inquiry, please post at Cytron Technical Forum.

Leave a comment

Loading...