Voice Control Your Arduino! SpeakUp Click Test

  Рет қаралды 6,841

Basement Creations

Basement Creations

3 жыл бұрын

Hi everyone
It's been a while since I uploaded something but now I am back with a new video about voice control module and arduino. In recent months I have learned to use professional video editing software and acquired some recording equipment so my next videos should be of much better quality.
You can expect the continuation of the electric mountainboard series in the near future. I am also working on another video about the jumping robot and I have some new original ideas as well.
You can download Arduino code and SpeakUp case model here www.thingiverse.com/thing:481...

Пікірлер: 19
@SECTOR07
@SECTOR07 2 жыл бұрын
Awesome demonstration, I'm using this board in a project as well and am really liking it so far. Not much out there though when looking for specific information so thanks for sharing all the possibilities!
@pewdiepiofficial6030
@pewdiepiofficial6030 2 жыл бұрын
Bro, love the way you expand thanks for such a video ...
@jasonbriggs6341
@jasonbriggs6341 3 жыл бұрын
I'm not sure you actually need the logic converter. If speak up always the output and the Arduino is always the input it should work. When the SpeakUp outputs a 1 on a pin it will be about 3.3v. The Arduino will read a 1 for anything above 3v. That being said a logic converter would help guaranty that the signal gets above the threshold especially in the case where the SpeakUp supply drops below 3.3v (low battery?)
@BasementCreationsChannel
@BasementCreationsChannel 3 жыл бұрын
Thank you for this comment! You are probably right. I didn't know that Arduino is able to read 3.3v signals so I thought that a logic converter is necessary. Turns out that one-way communication could be possible without it and it would only be essential for two-way communication since that may damage lower voltage board.
@embededfabrication4482
@embededfabrication4482 2 жыл бұрын
@@BasementCreationsChannel the signals from sensors are pretty low aren't they? Yes, you don't want an output from arduino going to a click input if there are any
@tamardanan3643
@tamardanan3643 2 жыл бұрын
Hi, I am attempting to create a very similar project, but I'm having an error with the Speak Up click. First, the speak up Click doesnt process my commands right away. Takes me a few tries till it reads my command. Second, once it does catch the command it doesn't process the code that i set up to read? Is there any advice you can give me?
@SECTOR07
@SECTOR07 2 жыл бұрын
If your having trouble getting the board to read commands I would try adjusting the threshold in the software settings. Its set at 15 by default but increasing this value will increase the acceptable amount of difference from the recording before it recognizes the command. Also, make sure when you record there is as little background noise as possible. As for your code, the only issue I could see is that what you set up as the output for the command if you set it to HIGH or Pulse the code will be different on the microcontroller side for each one. Either that or wiring. Those are the only two common possibilities.
@zenzen9131
@zenzen9131 Жыл бұрын
Hello very good video :) Please do you know if this module is able to identify the command phrase if it is the middle of a sentence and not just at the start ? For example I would like to recognise "TURN LEFT" from a variety of sentences such as "At the end of the road TURN LEFT" and "After one mile TURN LEFT" and "At the next roundabout TURN LEFT" etc etc without knowing beforehand what the preamble words may be ?
@BasementCreationsChannel
@BasementCreationsChannel Жыл бұрын
Hi, this module can only recognize pre-recorded phrases and they need to be spoken slowly and precisely so there is a possibility that it will recognize them in sentences but it most likely will be unreliable.
@zenzen9131
@zenzen9131 Жыл бұрын
@@BasementCreationsChannel Thank you for your reply
@tvrl9180
@tvrl9180 Жыл бұрын
Just wanted to ask if it is possible to use Speakup with the Arduino UNO? Since it only has one serial port and all.
@BasementCreationsChannel
@BasementCreationsChannel Жыл бұрын
It should be. I used the Arduino Mega so that I could talk to both SpeakUp and PC but if you just want the communication between the Uno and SpeakUp then it should be possible with just one serial port.
@ryanramminger1707
@ryanramminger1707 3 жыл бұрын
can you put the code in the video description? the link does not work
@BasementCreationsChannel
@BasementCreationsChannel 3 жыл бұрын
Well thats weird. You just need to download .rar file from Thingiverse and unpack it. I just checked and it works well for me, but if you have some problems I can post it right here. #include Servo myservo; int motor1pin1 = 5; int motor1pin2 = 2; char incomingByte; char incomingByte1; int redPin = A3; int greenPin = A4; int bluePin = A5; int Fan = 31; int Lamp = 33; int RedLED = A1; int GreenLED = A2; int YellowLED = A0; void setup() { analogWrite(redPin, 255); analogWrite(greenPin, 255); analogWrite(bluePin, 255); myservo.attach(9); digitalWrite(Fan,HIGH); digitalWrite(Lamp,HIGH); pinMode(motor1pin1, OUTPUT); pinMode(motor1pin2, OUTPUT); pinMode(Fan,OUTPUT); pinMode(Lamp,OUTPUT); pinMode(redPin, OUTPUT); pinMode(greenPin, OUTPUT); pinMode(bluePin, OUTPUT); pinMode(RedLED,OUTPUT); pinMode(GreenLED,OUTPUT); pinMode(YellowLED,OUTPUT); Serial.begin(115200); Serial2.begin(115200); Serial.println("Ready for commands"); } void loop() { ///// if (Serial2.available() > 1) { // read the incoming byte: incomingByte = Serial2.read(); incomingByte1 = Serial2.read(); Serial.print ("Received data = "); Serial.print(int(incomingByte) ,DEC); Serial.println(int(incomingByte1) ,DEC); //// if (incomingByte == 0){ // Fan On Serial.println ("Command: Number One"); digitalWrite(Fan,LOW); } //// if (incomingByte == 1){ // Fan Off Serial.println ("Command: Number Two"); digitalWrite(Fan,HIGH); } //// if (incomingByte == 2){ // Lamp On Serial.println ("Command: Lamp On"); digitalWrite(Lamp,LOW); } //// if (incomingByte == 3){ // Lamp Off Serial.println ("Command: Lamp Off"); digitalWrite(Lamp,HIGH); } //// if (incomingByte == 6){ // Red On Serial.println ("Command: Red On"); digitalWrite(RedLED,255); } //// if (incomingByte == 7){ // Red Off Serial.println ("Command: Red Off"); digitalWrite(RedLED,0); } //// if (incomingByte == 8){ // Green On Serial.println ("Command: Green On"); digitalWrite(GreenLED,255); } //// if (incomingByte == 9){ // Green Off Serial.println ("Command: Green Off"); digitalWrite(GreenLED,0); } //// if (incomingByte == 10){ Serial.println ("Command: Yellow On"); digitalWrite(YellowLED,255); } //// if (incomingByte == 11){ Serial.println ("Command: Yellow Off"); digitalWrite(YellowLED,0); } //// if (incomingByte == 12){ Serial.println ("Command: Servo 0"); myservo.write(6); } //// if (incomingByte == 13){ Serial.println ("Command: Servo 60"); myservo.write(60); } //// if (incomingByte == 14){ Serial.println ("Command: Servo 90"); myservo.write(90); } //// if (incomingByte == 15){ Serial.println ("Command: Servo 120"); myservo.write(120); } //// if (incomingByte == 16){ Serial.println ("Command: Servo 180"); myservo.write(180); } //// if (incomingByte == 17){ Serial.println ("Command: RGB Blue"); analogWrite(redPin, 255); analogWrite(greenPin, 255); analogWrite(bluePin, 0); } //// if (incomingByte == 18){ Serial.println ("Command: RGB Off"); analogWrite(redPin, 255); analogWrite(greenPin, 255); analogWrite(bluePin, 255); } //// if (incomingByte == 19){ Serial.println ("Command: RGB White"); analogWrite(redPin, 0); analogWrite(greenPin, 0); analogWrite(bluePin, 0); } //// if (incomingByte == 20){ Serial.println ("Command: RGB Green"); analogWrite(redPin, 255); analogWrite(greenPin, 0); analogWrite(bluePin, 255); } //// if (incomingByte == 21){ Serial.println ("Command: RGB Purple"); analogWrite(redPin, 125); analogWrite(greenPin, 255); analogWrite(bluePin, 0); } //// if (incomingByte == 22){ Serial.println ("Command: Open the Window"); digitalWrite(motor1pin1, LOW); digitalWrite(motor1pin2, HIGH); delay(800); digitalWrite(motor1pin1, LOW); digitalWrite(motor1pin2, LOW); ; } //// if (incomingByte == 23){ Serial.println ("Command: Close the Window"); digitalWrite(motor1pin1, HIGH); digitalWrite(motor1pin2, LOW); delay(800); digitalWrite(motor1pin1, LOW); digitalWrite(motor1pin2, LOW); } } }
@embededfabrication4482
@embededfabrication4482 2 жыл бұрын
Why can't arduino use 3.3V for an input??? should be no problem. You just don't want to power the click board from an arduino 5V supply pin unless you go thru the USB. I made a bunch of copies of each command saying it with my own voice each time, this makes it much more reliable maybe?
@BasementCreationsChannel
@BasementCreationsChannel 2 жыл бұрын
You are right. While making that video I really didn't want to burn the SpeakUp board and I was a little too cautious. But as long as it's a one way communication Arduino should be able to read 3.3V SpeakUp signals without any problems.
@embededfabrication4482
@embededfabrication4482 2 жыл бұрын
@@BasementCreationsChannel I have it working fine, also use a pull down resistor
@user-yz1iq6os1k
@user-yz1iq6os1k 3 жыл бұрын
thank you for your sharing. can you show me the full code in 10:55.
@BasementCreationsChannel
@BasementCreationsChannel 3 жыл бұрын
Hi The code that you can see in 10.55 is just a shorter version of the code that you can download from Thingiverse or even copy from this comment section.
Geeetech voice recognition module (arduino)
28:19
iforce2d
Рет қаралды 71 М.
Four Simple Speech Recognition Products
16:04
James Bruton
Рет қаралды 72 М.
- А что в креме? - Это кАкАооо! #КондитерДети
00:24
Телеканал ПЯТНИЦА
Рет қаралды 8 МЛН
Double Stacked Pizza @Lionfield @ChefRush
00:33
albert_cancook
Рет қаралды 90 МЛН
Iron Chin ✅ Isaih made this look too easy
00:13
Power Slap
Рет қаралды 35 МЛН
Speech To Text using ESP32
13:57
techiesms
Рет қаралды 53 М.
The Cheapest Microcontroller? Getting started with the 10 cent Puya PY32.
21:36
Mechanical  Switches are Obsolete?! Switch to a Latch Circuit! EB#53
10:36
Movi Speech Recognition & Synthesizer for Arduino
6:59
AnotherMaker
Рет қаралды 9 М.
Arduino Automatic Chicken Coop Door
8:04
Basement Creations
Рет қаралды 9 М.
Sensors - which one to use
17:06
Electronoobs
Рет қаралды 1,3 МЛН
iPhone 15 Pro в реальной жизни
24:07
HUDAKOV
Рет қаралды 460 М.
1$ vs 500$ ВИРТУАЛЬНАЯ РЕАЛЬНОСТЬ !
23:20
GoldenBurst
Рет қаралды 1,9 МЛН