Talkative Automation || Audio From Arduino || Voice Controlled Automation || HC - 05 Bluetooth Module

by vishalsoniindia in Circuits > Arduino

3025 Views, 22 Favorites, 0 Comments

Talkative Automation || Audio From Arduino || Voice Controlled Automation || HC - 05 Bluetooth Module

Talkative Automation || Voice controlled automation || HC - 05 Bluetooth module
Screenshot_2017-12-17-13-44-52-663_com.mxtech.videoplayer.ad.png
PicsArt_12-17-06.29.37.jpg

.....

...........

...............

By the way, subscribe to my YouTube channel for more projects like this. I also update my upcoming projects on Instagram.

buy me a coffee! ☕: Donate


In this video we have built a Talkative Automation..

When you will send a voice command via mobile then it will turn on home devices and send feedback in voice.

Like "TV on"

"fan on"

We have use SD card module to interface micro sd card and get audio output.

Many of People want to interface the SD card with arduino or want some audio output via arduino.

So here is easiest and cheapest way to interface SD card with arduino . you can use the audio output from arduino via a switch or sensor . you can play any type of sound ,music and recording but that audio will be in to .wav file. If it is in .mp3 or any other audio type then we will convert it into .wav file.

Requirements

arduino-uno-r3-500x500.jpg
ubled10-img_0116.JPG
lcd162b-yhy.jpg
547-800x800.jpg
12w-ac-led-bulb-500x500.jpg
41PGLUlslDL._SX342_.jpg
SJ-2523-SMT.jpg&maxx=50&maxy=0.jpg
81aW5HK-CLL._SL1500_.jpg
lenovo-2-0-channel-usb-speaker-original-imadrbsbxnfscbfy.jpeg
relay-2.jpg
4(1).jpg
micro-sd-card-module-with-level-conversion.jpg
562ada__90644.jpg
IMG_20171213_160955.png
  1. Arduino uno
  2. 10mm led
  3. 2x16 lcd
  4. Bc547 transistor
  5. AC supply Bulb
  6. 220ohm Resistor
  7. Female audio jack
  8. 5v exhaust fan
  9. Woofer / audio amplifier
  10. 5v relay
  11. External 5v adapter
  12. SD card module with sd card
  13. 10k Potentiometer
  14. HC-05 Bluetooth module

Go and Watch This Video

Audio Player using Arduino with micro SD card

Go and watch this video or click on instructable link,

Where I explained how to interface sd card with arduino,

How to install tmrpcm library and

How to insert audio in SD card....

Link :--

https://www.instructables.com/id/Audio-Player-Usin...

Download the Zip File

Screenshot_2017-12-17-14-39-56-367_com.mxtech.videoplayer.ad.png

Download the zip file and extract it

_________

https://github.com/vishalsoniindia/Talkative-Autom...

Put Audio Into SD Card

Screenshot_2017-12-17-14-52-44-184_com.mxtech.videoplayer.ad.png
Screenshot_2017-12-17-14-52-55-677_com.mxtech.videoplayer.ad.png
Screenshot_2017-12-17-14-53-04-051_com.mxtech.videoplayer.ad.png
  • Open extracted folder
  • Now open sound folder
  • Copy and paste all audio in SD card as I shown in the first video.

Upload the Codes in Arduino

Screenshot_2017-12-17-14-57-49-743_com.mxtech.videoplayer.ad.png
Screenshot_2017-12-17-14-58-03-367_com.mxtech.videoplayer.ad.png
Screenshot_2017-12-17-14-58-19-514_com.mxtech.videoplayer.ad.png
  • Install tmrpcm library as I shown in first video.
  • Open again extracted folder.
  • Now open voice folder
  • Open program in arduino software
  • Connect your arduino and upload it

Connect Circuit

IMG_20171215_170016.jpg
Screenshot_2017-12-17-15-08-07-049_com.mxtech.videoplayer.ad.png
Screenshot_2017-12-17-15-08-21-029_com.mxtech.videoplayer.ad.png
Screenshot_2017-12-17-15-08-43-889_com.mxtech.videoplayer.ad.png
Screenshot_2017-12-17-15-09-09-928_com.mxtech.videoplayer.ad.png

Connect circuit as shown

Vcc - - - - > 5v

Ground - - - - - > ground /negative

_______________

Lcd

  • Connect DB7---------> arduino's 2 pin
  • DB6--------> arduino's 3 pin
  • DB5---------> arduino's 4pin
  • DB4---------> arduino's 5pin
  • E---------> 6pin
  • RS-------> 7pin
  • RW - - - - - > ground

________________

Bluetooth module

  • RX---------> TX
  • TX---------->RX

________________

SD card module

  • MISO --------->12
  • MOSI - - - - ->11
  • SCK ----------->13
  • CS ------------->10

OUTPUT Connections

Screenshot_2017-12-17-15-08-43-889_com.mxtech.videoplayer.ad.png
Screenshot_2017-12-17-15-09-09-928_com.mxtech.videoplayer.ad.png

AUDIO OUTPUT

  • Connect audio Jack's left and right terminal to 9th pin of arduino
  • Ground will be connected to arduino's ground.

_______________

A0 Output

  • Connect a0 to the base of Bc547 transistor
  • Connect collector of transistor to coil of relay.
  • Connect ac supply with bulb in series with NO terminal and Com terminal of relay.

________________

A1 Output

  • Connect positive terminal of 10mm led to the A1 pin of arduino.
  • Connect negative terminal of 10mm led to ground pin of arduino.

________________

A2 output

I have connected exhaust fan at place of heater.

  • Connect negative terminal of exhaust fan to a2.
  • Positive to 5v supply.

Download and Install App

Screenshot_2017-12-17-15-39-08-292_com.mxtech.videoplayer.ad.png

Download and install Voice control app

Link for app :- https://play.google.com/store/apps/details?id=robo...

How to connect app ...

1.Turn on Bluetooth of your Mobile.
2.Pair Bluetooth name "hc-05 " password is "1234" or "0000".

3.Download the android app.

4.Open the app and click on connect.

5.Now click on hc-05 then wait a few second.

6.If it not connect then try again.

All Done

Screenshot_2017-12-17-15-48-04-902_com.mxtech.videoplayer.ad.png
Screenshot_2017-12-17-15-47-50-022_com.mxtech.videoplayer.ad.png

Here we go.....

Just turn on your data connection and click on center button and say these commands

  1. Light on
  2. Light off
  3. TV on
  4. TV off
  5. Heater on
  6. Heater off
  7. All on
  8. All off


By the way, subscribe to my YouTube channel for more projects like this. I also update my upcoming projects on Instagram.

buy me a coffee! ☕: Donate