DIY Arduino Voice Controlled Lamp | Science Project

Sdílet
Vložit
  • čas přidán 8. 07. 2024
  • Have you ever wondered how an Amazon Echo, Google Home or Apple Homepod can control lights and household appliances using voice commands? This video provides an overview of how you can make your own voice-controlled appliance using an Arduino and a voice recognition module. Written instructions for this project are available on the Science Buddies website: www.sciencebuddies.org/scienc...
    0:00 intro
    0:22 Arduino overview
    1:49 voice recognition modules
    2:34 IoT relay
    3:50 voice controlled appliance
    Specific instructions for the hardware shown in this video:
    Grove Speech Recognizer: • Grove Speech Recognize...
    Elechouse Voice Recognition Module: • Elechouse Voice Recogn...
    IoT Relay: • IoT Power Relay and Ar...
    Science Buddies also hosts a library of instructions for over 1,500 other hands-on science projects, lesson plans, and fun activities for K-12 parents, students, and teachers! Visit us at www.sciencebuddies.org to learn more.
    #STEM #sciencebuddies #arduino #smarthome
    *******************************
    Connect with Science Buddies:
    TWITTER: / sciencebuddies
    FACEBOOK: / sciencebuddies
    INSTAGRAM: / scibuddy
    PINTEREST: / sciencebuddies

Komentáře • 61

  • @user-gm6cg5fg7g
    @user-gm6cg5fg7g Před měsícem

    Bro good switch controlling

  • @giannarivera4266
    @giannarivera4266 Před rokem +4

    Hi! What can we substitute with IOT Power Relay? We’ve been having a hard time looking for it online, as it seems to be sold out almost everywhere. Thanks

    • @Science.Buddies
      @Science.Buddies  Před rokem

      It looks like Digikey has them in stock: www.digikey.com/en/products/detail/adafruit-industries-llc/2935/6227071. SparkFun and Adafruit used to carry a similar product called the Powerswitch Tail that's been discontinued: www.adafruit.com/product/268, but you could also look around to see if you can find a used one.

    • @giannarivera4266
      @giannarivera4266 Před rokem

      @@Science.Buddies Hi! I'm from overseas so the IOT Power Relay is still a bit expensive for us. Are there any other alternatives for it?

    • @giannarivera4266
      @giannarivera4266 Před rokem

      Also, do you need both the Elechouse and the Grove Speech Recognizer for this project?

    • @Science.Buddies
      @Science.Buddies  Před rokem

      Hi - unfortunately we're not currently aware of any other alternatives to the IoT relay, unless you can find a used Powerswitch Tail somewhere. And no, you only need one of the speech recognition modules for this project, we just show examples of a few different kinds. (Apologies for the delayed reply - until now, CZcams only notified us of new comments, not additional replies to older comments)

    • @a-k-mosa
      @a-k-mosa Před 11 měsíci

      @@giannarivera4266 You can just use a regular 5V Relay.

  • @giancarlocabiling1152
    @giancarlocabiling1152 Před rokem +2

    Hello! How long did it take you to do this project voice command?

    • @Science.Buddies
      @Science.Buddies  Před rokem +1

      It depends on your level of Arduino experience, but if you have all the materials you should be able to have this up and running in less than a day.

    • @skcoding1638
      @skcoding1638 Před 8 měsíci

      69 years😭😭

  • @homeofcomedytv4570
    @homeofcomedytv4570 Před rokem

    Hello science bodies. I will like to ask a question concerning this video. Is it possible i do this project then i modify such that i can manually turn and off and also do voice command on the same project?

    • @homeofcomedytv4570
      @homeofcomedytv4570 Před rokem

      I will really wish for us to chat more so you can explain better because i am working on a project of a voice control light bulb/ manually putting on and off

    • @Science.Buddies
      @Science.Buddies  Před rokem

      Hi - yes, you can have multiple inputs control a single output with an Arduino. You may find our introductory Arduino series helpful if you are new to working with Arduino: czcams.com/play/PLlBVuTSjOrclb0iCMSRpS_H1lSrlSVeEm.html

  • @noidea2799
    @noidea2799 Před 4 měsíci

    Hello sir! Do you know the problem with what i did as i copy what you've done the training if voice goes well as it notified for its success but when i load the trained command it says record untrained

    • @Science.Buddies
      @Science.Buddies  Před 4 měsíci +1

      Several other people have reported this issue lately and if you Google the error message it appears to be an issue with recent boards discussed in support forum threads. We recommend contacting the manufacturer for a refund or replacement.

  • @vaishnavidagade8055
    @vaishnavidagade8055 Před 10 měsíci +1

    Hello, I was just wondering if i can use a LED instead of a lamp . I that case I will not require a relay??? Waiting for your response.

    • @Science.Buddies
      @Science.Buddies  Před 10 měsíci

      Hi - yes, you can use this with any other output on the Arduino (LED, buzzer, motor, etc), you do not need to use the IoT relay. We have tutorials for many other devices in our Arduino playlist: czcams.com/play/PLlBVuTSjOrclb0iCMSRpS_H1lSrlSVeEm.html&si=bLFp6fkkTAFccyKD

    • @vaishnavidagade8055
      @vaishnavidagade8055 Před 10 měsíci

      @@Science.Buddies Thank you so much for your response 😊. I can start my project now.

  • @tasneemfaiz4330
    @tasneemfaiz4330 Před rokem

    hello, is there a specific arduino you used, or are all of them the same? thank you

    • @Science.Buddies
      @Science.Buddies  Před rokem

      Hi - so far, all of our Arduino projects use the Arduino UNO, which is the most common and popular board for beginners. However, all Arduinos are definitely NOT the same. You can read about some of the different types here, but we recommend the UNO for getting started: www.arduino.cc/en/hardware#boards-1

    • @tasneemfaiz4330
      @tasneemfaiz4330 Před rokem

      @@Science.Buddies Ok, thank you, one more question, do all the arduinos do the same thing or are they different

    • @rbcvlogs2723
      @rbcvlogs2723 Před 10 měsíci

      What type of Arduino use

  • @janmelis1580
    @janmelis1580 Před rokem +1

    where can i find the code of this project (for ardiuno)

    • @Science.Buddies
      @Science.Buddies  Před rokem

      Please see the link in the video description. That has written instructions on our site, including downloadable code and links to the relevant libraries.

  • @noidea2799
    @noidea2799 Před měsícem

    hello sir do you know any alternative i can use instead of using iot power relay?

    • @Science.Buddies
      @Science.Buddies  Před měsícem +1

      Unfortunately we're not aware of a direct substitute for the IoT power relay.

  • @RAJPUTGAMER-kv7ge
    @RAJPUTGAMER-kv7ge Před 6 měsíci

    Bro where do find detailed lecturers about Arduino like how to use it, how to give it commands, and what software is required to give instruction if required

    • @Science.Buddies
      @Science.Buddies  Před 6 měsíci +1

      We have an entire Arduino tutorial playlist on our channel! czcams.com/play/PLlBVuTSjOrclb0iCMSRpS_H1lSrlSVeEm.html&si=L8Tn40SeA7IhBmry

  • @FrenchFriPlaysMinecraft
    @FrenchFriPlaysMinecraft Před 5 měsíci

    Hi science buddies. I'm doing this project for my science fair, and is there any code to upload to the arduino for the lamp, like the led? Like is there an example code, or do I just not upload any code. I've connected the arduino and IOT relay, and set up the elechouse, but It wont turn on after I say on. Thank you!

    • @Science.Buddies
      @Science.Buddies  Před 5 měsíci

      Hi - please refer to the written instructions on our website: www.sciencebuddies.org/science-fair-projects/project-ideas/Elec_p093/electricity-electronics/arduino-voice-controlled-lamp. If you are running the example code as instructed there, you need to have the IoT relay connected to pin 13 on the Arduino, or edit the code to control it with a different pin. Make sure you are seeing the on-board LED on the Arduino (which is also connected to pin 13) turn on as well.

    • @Science.Buddies
      @Science.Buddies  Před 5 měsíci

      Hi - if you're having trouble with this project, please post your question, along with your code and pictures of your circuit, in the Ask an Expert forum on our website, and we will be able to help: www.sciencebuddies.org/science-fair-projects/ask-an-expert-intro

  • @salahalosali9708
    @salahalosali9708 Před 3 měsíci

    I hope you reply
    My friend and I have a voice project which is who to convert the electrical chair into voice commands responded
    We did it and we use the hard ware you used in this video ( Voice recognition) but it didn't provide a smart replay to our comments sometimes it turn on the chair just by hearing a noise voice
    So does there any hardware or software solutions for this issue?

    • @Science.Buddies
      @Science.Buddies  Před 3 měsíci

      Hi - this isn't really enough information for us to help you troubleshoot specific things. If you are a student doing a school science project then you can ask for help in the Ask an Expert forums on our website. Otherwise you could ask for help in the official Arduino forums on their website.

    • @salahalosali9708
      @salahalosali9708 Před 3 měsíci

      @@Science.Buddies I am a university student and this is a graduation project, I want you to inform me if there is a way to enhance the voice response

  • @juniorsejarah5151
    @juniorsejarah5151 Před 5 měsíci

    Does this work ?

  • @Jetfire_
    @Jetfire_ Před rokem +1

    Am I able to change the microphone

    • @Science.Buddies
      @Science.Buddies  Před rokem

      Hi - it depends on which voice recognition module you choose. Some have a built-in microphone and some require an external microphone.

    • @hunt23.
      @hunt23. Před rokem

      @@Science.Buddies with elechouse vr3 its able to use different microphone ?

  • @jomfawad9255
    @jomfawad9255 Před 6 měsíci

    Does it recognise the user's voice? so its tailored to his specific voice?

    • @Science.Buddies
      @Science.Buddies  Před 6 měsíci

      It depends which module you use, there are different models that are speaker dependent and speaker independent. Please see the links in the description.

  • @giancarlocabiling1152

    Hello! Does it need the internet to function? Thank you!

    • @Science.Buddies
      @Science.Buddies  Před rokem +2

      Hi - no, that is the trade-off of using these devices. They do not require an internet connection but can only process a limited number of voice commands. If you use something like a Raspberry Pi, you can connect to a speech-to-text service that runs the same technology used for Siri, Alexa, etc, and can process anything you say - but this requires an internet connection.

    • @giancarlocabiling1152
      @giancarlocabiling1152 Před rokem

      @@Science.Buddies thank you!

  • @ericgasgasceletaria1013
    @ericgasgasceletaria1013 Před 10 měsíci

    Hi I am just wondering if i can do this if my light bulb is directly connected to the circuit breaker and controlled by a common switch. What I want is just to insert the materials needed to the wire between bulb and switch with proper wiring. What do you want to suggest ? Thank you for an active response.

    • @Science.Buddies
      @Science.Buddies  Před 10 měsíci

      Hi - we do not recommend that approach because it involves handling high-voltage wiring directly, which can be very dangerous if you don't know what you're doing. The IoT relay allows you to interface with high-voltage lights and appliances without needing to work with the high voltage wiring directly. If you want to do that we recommend that you consult an electrician.

  • @FatimaAamer-ok4gg
    @FatimaAamer-ok4gg Před 2 měsíci +1

    I can't find the code can you please upload the video of it or something

  • @user-eh8sp8jv2s
    @user-eh8sp8jv2s Před rokem

    Hello! can I have information of the lamp?

    • @Science.Buddies
      @Science.Buddies  Před rokem

      There is nothing special about the lamp, it's just a basic desk lamp you can find at Target or Amazon etc.

  • @vasilbagalishvili8729
    @vasilbagalishvili8729 Před 7 měsíci

    Can this module recognize words in any language?

    • @Science.Buddies
      @Science.Buddies  Před 6 měsíci

      It depends which module you're referring to. The Grove module only recognizes a predetermined list of English commands. The Elechouse module can be trained to recognize any sound (which would include works in other languages).

  • @dinaknl5549
    @dinaknl5549 Před 11 měsíci +1

    Can u pls tell us the material with a list ?

    • @Science.Buddies
      @Science.Buddies  Před 11 měsíci

      Please see the link in the video description, the written instructions on our website have the complete materials list.

  • @MedBnh
    @MedBnh Před 9 měsíci

    this project is very good where is the code

    • @Science.Buddies
      @Science.Buddies  Před 9 měsíci

      Please see the link in the video description for written instructions on our site with example code.

  • @noidea2799
    @noidea2799 Před 6 měsíci

    Can the laptop be removed ?

    • @Science.Buddies
      @Science.Buddies  Před 6 měsíci

      You can run the Arduino on battery or wall power, it does not need to remain connected to a laptop.

  • @mawgoonkyawsan
    @mawgoonkyawsan Před 10 měsíci

    😂

  • @aashishgaur994
    @aashishgaur994 Před 5 měsíci

    legends know he manually turned it on off switch voicw was coming