ECE Infotech and technologies: Voice Controlled LEDs using Arduino and Bluetooth Follow @AlokSin0308

Saturday, 15 September 2018

Voice Controlled LEDs using Arduino and Bluetooth



Controlling LEDs with voice command seems to be a difficult task, but it’s easy and you can quickly build it. We just need an Arduino UNO to serially communicate with HC-06 Bluetooth module and a smartphone to send voice command to Bluetooth module HC-06. For receiving voice command we are using “Arduino Bluetooth Voice Controller” android app.
Material Required:


  • Arduino UNO
  • HC-06 Bluetooth Module
  • LEDs (Red, and Green)
  • Resistor 220 ohm (2 nos.)
  • Arduino Bluetooth Voice Controller (Download from play store)
  • Breadboard
  • Connecting wires

Bluetooth can operate in the following two modes:


  1. Command Mode
  2. Operating Mode
In Command Mode we will be able to configure the Bluetooth properties like the name of the Bluetooth signal, its password, the operating baud rate etc. The Operating Mode is the one in which we will be able to send and receive data between the PIC Microcontroller and the Bluetooth module. Hence in this tutorial we will be toying only with the Operating Mode. The Command mode will be left to the default settings. The Device name will be HC-05 (I am using HC-06) and the password will be 0000 or 1234 and most importantly the default baud rate for all Bluetooth modules will be 9600.
The module works on 5V supply and the signal pins operate on 3.3V, hence a 3.3V regulator is present in the module itself. Hence we need not worry about it. Out of the six pins only four will be used in the Operating mode.


HC-06 Bluetooth Module:

S.NoPin on HC-05/HC-06Pin name on MCUPin number in PIC
1VccVdd31st pin
2VccGnd32nd pin
3TxRC6/Tx/CK25th pin
4RxRC7/Rx/DT26th pin
5StateNCNC
6
EN (Enable)
NC
NC

No comments:

Post a Comment

Arduino based Automatic Plant Irrigation System with Message Alert

Whenever we go out of town for few days, we always used to worry about our plants as they need water on regular basis. So here we are ma...