DIY do it yourself
Master classes, instructions, useful tips, recipes.
» » »DIY voice control
DIY voice control

Hello friends. Today I want to tell and show you my homemade product that uses voice control. In fact, it is a on / off switch with voice control. A feature of this homemade product is that this device can not only control the load with a voice command, but can also respond with voice commands recorded previously on a flash card.
In appearance, the device turned out so unprepossessing. This is my fault, but I did not set myself the goal of making it beautiful, it was just laziness. Actually, for the same reason, I brought out a minimum of devices for controlling this device, of which on the front panel there is only a transponder volume control knob and a flash card receiver, which at first also wanted to be pushed inside.
What can this switch do? It can turn off 3 loads independently of each other. It works from the following: in the circuit breaker I organized increased noise immunity from unwanted switching on. This is expressed in the fact that to turn off the desired load, you must first turn to the device.
To appeal, you must say "Arduino." I called it because the heart of this device is the voice module, which we will get to know later, was intended primarily for the Arduino designer. Although I have never encountered an Arduino and its modules are not used in this device.
We turn to the switch “Arduino”, if the switch answers “Listen”, then say the next of the three commands I have appointed: “Lamp”, “Garland”, “Light”. After accepting the command, the device will switch the state of the connected device to the opposite: if the lamp is on, it will turn it off, if it is not on, it will turn it on. And he will answer, for example: “The lamp is off” or “The lamp is on” ...
Simply put, our dialogue with the switch will consist of the following:
- Arduino.
- I'm listening.
- The light.
- Turn on the light.
Of course, it was possible to program the module with specific commands: “Turn on the light”, “Turn off the light”, but I decided to make one command turn on and off.
All answers are recorded by me on a flash card. These are ordinary WAV files. The text was read by an English translation site. It can be any other program that can read text. Or, in general, you or your relatives can write down these answers ...
I don’t know if this is a plus or a minus, but this device is sensitive to the timbre of the voice. That is, for example, he recognized my wife until I recorded her voice separately on the module. And I made other answers to her: a woman answers me, and a man answers her. Cool, isn't it?)
Well now, let's finally move on to testing this device. We connect to the network, connect one load.
It takes 5 seconds to wait until the module boots up, while the controller turns to the module, while the player initializes the USB flash drive and the files on it ...
Watch the video below the process of work ...
This switch works like this. Now let's look at the circuit breaker filling. Remove the top cover. The first board of the player with an amplifier. It is she who reproduces the answers recorded on the USB flash drive. The board is controlled using the UART protocol. The commands are sent by the controller located on the second board, to which we will return a little later. Next, the third board - the power supply with power switches is made on semesters. The whole circuit is galvanically isolated by voltage. The board is also controlled by the controller.The power supply produces 5 volts of stabilized voltage. Power switches can withstand a load of about 200 watts per channel. Now let's move on to the second board. There is a controller on it that controls everything and a voice command recognition module.
We will consider the operation, connection and configuration of the module in the next video. And now I will explain the operation of the controller, which is made on atmega8. The module that recognizes the command gives the command to the controller via UART, the controller having processed the command turns the load on or off and sends a command to the sound module to play an audio response. Everything seems to be simple).
I want to say that while doing this homemade product I did not set myself the task of making a serious device, rather a toy.
In the next video, we will look directly at the module itself, so subscribe to the channel so as not to miss, if of course this material interests you.
I built this switch a couple of years ago on a module of version V2. But in the next video we will consider a newer version of V3. We will also consider 2 types of work with this module: simple - this is if you do not own programming and full - this is if you can program microcontrollers.



Voice Recognition Module V3 - #
Voice Recognition Module (Speech) V2 - #

I hope you enjoyed the video on this topic. Thanks for watching this video. If you liked it, like it, so I will know that you care about it. Subscribe to the channel, until we meet again.

Do you like devices that use voice control in their interface?


come back
Comments (3)
  1. Lexeus
    #1 Lexeus Guests March 6, 2017 10:22 p.m.
    0
    Is it possible to connect a full card for connecting to a player and triacs, and a player and PSU circuit?
  2. Alexander Levshunov
    #2 Alexander Levshunov Guests November 29, 2018 21:22
    0
    good afternoon
    I liked the voice control, an important point is the voice control activation!
    In this regard, I have a question: is there a similar development for controlling the remote control of a Beeline digital set-top box?
    I’ll explain why I became interested. My wife is a disabled person of group 1, her arms and legs do not work, and she can’t move. At the same time, my consciousness and speech have been preserved. When I leave for work, I turn on some kind of channel to her and she watches before I arrive. At the same time, while I am not on another channel, another program interesting to her can be broadcast, but she can’t switch. If possible, the prefix records but she can watch, when I get home and switch the recording view. Here I come home and she asks me to turn on one or the other, but she doesn’t have time to see everything.
    It would be great if she could control the remote control herself. Existing voice consoles do not control consoles and require manual activation.
    Alexander
    1. Guest Sergey
      #3 Guest Sergey Guests December 12, 2018 11:54
      0
      Hello, Alexander! Nothing is impossible. Write me in the mail, we’ll come up with something.

Read also

Error codes for washing machines