DIY voice control

DIY voice control

Hello friends. Today I want to tell you and show you my homemade product that uses voice control. It's actually a voice controlled on/off switch. The peculiarity of this homemade product is that this device can not only control the load by voice command, but can also respond with voice commands previously recorded on a flash card.
In appearance, the device turned out to be so nondescript. It's my fault, but I didn't set myself the goal of making it beautiful, I was just lazy. 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 volume control knob for the transponder and a flash card receiver, which at first I also wanted to stuff inside.
What can this switch do? It can switch off 3 loads independently of each other. It works as follows: in the switch I organized increased noise immunity from unwanted switching on. This is expressed in the fact that to turn off the required load, you must first contact the device.
To contact, you must say “Arduino”.I called it that because the heart of this device is the voice module, which we will get to know in the future, and was intended primarily for the Arduino designer. Although I have never encountered Arduino and its modules are not used in this device.
We turn to the Arduino switch, if the switch responds “Listen”, then say the following of the three commands assigned by me: “Lamp”, “Garland”, “Light”. After accepting the command, the device will switch the state of the connected device to the opposite: if the lamp was on, it will turn off, if it was not on, it will turn on. And he will answer, for example: “The lamp is off” or “The lamp is on”...
Simply put, our dialogue with the switch will be as follows:
- Arduino.
- I'm listening.
- Light.
- I turn on the light.
It was, of course, possible to program the module with specific commands: “Turn on the light”, “Turn off the light”, but I decided to make it so that one command would turn it on and off.
I recorded all the answers on a flash card. These are regular WAV files. The text was read by an English translation site. This could be any other program that can read text. Or, in general, you or your relatives can write down these answers...
I don’t know whether this is a plus or a minus, but this device is sensitive to voice timbre. That is, for example, he disdained my wife until I separately recorded her voice on the module. And I gave her different answers: 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 plug it into the network and connect one load.
You need to wait about 5 seconds until the module itself boots up, while the controller accesses the module, while the player initializes the flash drive and the files on it...
Watch the video below of the work process...
This is how this switch works. Now let's look at the inside of the switch. Remove the top cover. The first player board with an amplifier. It is she who reproduces the answers recorded on the flash drive. The board is controlled using the UART protocol. The commands are sent by the controller located on the second board, which we will return to a little later. Next, the third board - a power supply with power switches - was made in the semesters. The entire circuit is galvanically isolated in voltage. The board is also controlled by a controller. The power supply produces 5 volts of stabilized voltage. Power switches can withstand a load of about 200 W 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 look at 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 a command to the controller via UART, the controller, having processed the command, turns the load on or off and commands the sound module to play an audio response. Everything seems simple).
I want to say that when making this homemade product, I did not set myself the task of making a serious device, rather a toy.
In the next video you will look directly at the module itself, so subscribe to the channel so as not to miss it, if of course this material interests you.
I built this switch a couple of years ago using a V2 module. But in the next video we will look at the newer version V3. We will also consider 2 types of work with this module: simple - this is if you do not know programming and full - this is if you know how to program microcontrollers.



Voice recognition module V3 -
Voice recognition module V2 -

I hope you enjoyed the video on this topic. Thanks for watching this video. If you liked it, give it a like, so I will know that you care. Subscribe to the channel, see you next time.

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


come back
Comment
  • bowtiesmilelaughingblushsmileyrelaxed relaxedsmirk
    heart_eyeskissing_heartkissing_closed_eyesflushedrelievedsatisfiedgrin
    winkstuck_out_tongue_winking_eyestuck_out_tongue_closed_eyesgrinningkissingstuck_out_tonguesleeping
    worriedfrowninganguishedopen_mouthgrimacingconfusedhushed
    expressionlessunamusedsweat_smilesweatdisappointed_relievedwearypassive
    disappointedconfoundedfearfulcold_sweatperseverecrysob
    joyastonishedscreamtired_faceangryragetriumph
    sleepyyummasksunglassesdizzy_faceimpsmiling_imp
    neutral_faceno_mouthinnocent
4 minus one =
Comments (7)
  1. Lexey
    #1 Lexey Guests 6 March 2017 22:22
    0
    Is it possible to have a complete map of connections to the player and to triacs and the diagrams of the player and power supply?
  2. Alexander Levshunov
    #2 Alexander Levshunov Guests 29 November 2018 21:22
    0
    Good afternoon
    I liked the voice control, an important point is voice activation of the control!
    In this regard, I have a question: is there a similar development for controlling the remote control of a set-top box for Beeline digital television?
    Let me explain why I became interested. My wife is disabled, group 1, her arms and legs don’t work and she can’t move. At the same time, consciousness and speech are preserved. When leaving for work, I turn on some channel for her and she watches until I arrive. At the same time, while I’m not there, another program that is interesting to her may be broadcast on another channel, but she cannot switch. If possible, the set-top box records other programs, but she can then watch when I get home and switch to watching the recording. So I come home and she asks me to turn on one thing or another, but she doesn’t have time to watch everything she wants to watch.
    How cool it would be if she could control the remote control herself. Existing voice remotes do not control set-top boxes 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 an email and we'll figure something out.
      1. maikl
        #4 maikl Guests 7 September 2019 22:38
        1
        Hello Sergey. I have the same situation with a disabled neighbor. Can you help with a set of commands for the module. I bought and am trying to make a remote control with Pic16F, at least for TV

        Regards, Mikhail.
    2. maikl
      #5 maikl Guests September 9, 2019 01:12
      0
      Hello Alexander. Please tell me how you are doing with the TV remote control. Is the topic of the question in your comments relevant?

      Michael
    3. maikl
      #6 maikl Guests 30 September 2019 18:30
      0
      Hello Alexander, I would like to talk to you about your topic “developments for controlling the remote control of a set-top box for digital television “Beeline”
  3. Guest Valery
    #7 Guest Valery Guests December 24, 2019 10:33
    1
    You can have a diagram and program for the controller. Is it possible to program on PIC?