DIY voice control

Pin
Send
Share
Send


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 by 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 "I'm listening," then say the next of the three teams I have appointed: the lamp, the garland, and the 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 it 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 do not 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 know how to program microcontrollers.
Voice Recognition Module V3 - //ali.pub/qv2kr
Voice Recognition Module (Speech) V2 - //ali.pub/do03a
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.

Pin
Send
Share
Send

Watch the video: How to make voice control home automation system using arduino (May 2024).