How To Use A Sound Sensor With Arduino

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ม.ค. 2020
  • In this video I’m gonna teach you how to use a sound sensor with an Arduino Uno to control an led by making loud noises.
    ♦ PARTS LIST
    Arduino Uno: amzn.to/3bHgqtq
    KY-038 Sound Sensor: amzn.to/3cA40CL
    Jumper Wires: amzn.to/3vxASov
    LED: amzn.to/3qGJkOs
    ♦ CODE & IDE
    Download Arduino IDE: www.arduino.cc/en/Main/Software
    Download the code: drive.google.com/file/d/18b4C...
    ♦ SUBSCRIBE: th-cam.com/users/aymaanrahman?...
    ♦ PATREON: / aymaanra
    ♦ MY LIGHTROOM PRESET: teespring.com/dreamy-vibes-by...
    ♦ CHECK OUT MY GEAR!
    MY MAIN MIC: amzn.to/2IhYZmP
    MY CAMERA BAG: amzn.to/3viYgG0
    MY OTHER MIC: amzn.to/30PSpKw
    MY MIC FOR VOICEOVERS: amzn.to/3lDqh5D
    NEXT CAMERA I WANT: amzn.to/2NkaexZ
    NEXT LENS I WANT: amzn.to/3s9kPuv
    MY MAIN CAMERA: amzn.to/35SH4eJ
    MY MAIN LENS: amzn.to/3kMnaZ4
    ♦ MY SOCIAL
    PODCAST: anchor.fm/aymaanra
    WEBSITE: aymaanrahman.com
    TWITTER: / aymaanra
    INSTAGRAM: / aymaanra
    FACEBOOK: / aymaanra
    LINKEDIN: / aymaanra
    ♦ BUSINESS INQUIRIES - aymaanrahman05@gmail.com
    DISCLAIMER: This video description contains affiliate links. If you click on one of them, I'll receive a commission.
    #arduino #electronics #engineering #sensors
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 42

  • @vitoscaletta6390
    @vitoscaletta6390 ปีที่แล้ว

    Thanks 👍. I was unable to figure out what's wrong then I realized that the problem is in adjusting the sensor. Thanks 👍

  • @greatcoder456
    @greatcoder456 5 หลายเดือนก่อน

    I was able to put a bunch of LEDs together on a breadboard and created a music-vibing light scheme! Thanks for the code 👍

    • @ummi8837
      @ummi8837 หลายเดือนก่อน

      can you pls send me the code though?

  • @jeffr249
    @jeffr249 7 หลายเดือนก่อน +1

    how to use potentiometer it only reads when i blow in the sensor

  • @sowad_exe
    @sowad_exe 4 ปีที่แล้ว +3

    Man ur videos are actually on next level

    • @aymaanra
      @aymaanra  4 ปีที่แล้ว +1

      Thank you!

  • @abdullahab9515
    @abdullahab9515 5 หลายเดือนก่อน

    Thank you man it is a great video

  • @abode579
    @abode579 4 หลายเดือนก่อน

    Can I connect a speaker to it to amplify the audible sound?

  • @rodo19724
    @rodo19724 13 วันที่ผ่านมา

    Hola !! comprè dos rh_nrf24 , lo puse con dos arduino uno, dice que llega a 1000 mts. .pero a mi no me llega a 50 mts. .apenas, el regulador es de 800 mAh, la fuente 3.3 2A , los datos viajan OK pero no màs de 50 mts. .a lo sumo,
    ya probè todas las combinaciones posibles en el soft (MAX MIN , 250 kbps etc. ) - còmo puedo amplificar la señal , que tenga màs potencia ? con un transistor ? còmo ?

  • @elmeramban7395
    @elmeramban7395 11 หลายเดือนก่อน +3

    the code's not available anymore bro

  • @mayadasalameh3968
    @mayadasalameh3968 13 วันที่ผ่านมา

    thank you so much

  • @mohamedalielalmi
    @mohamedalielalmi ปีที่แล้ว

    I wish to know for AO thanks!

  • @aru.classes843
    @aru.classes843 3 ปีที่แล้ว

    Nice one bro

    • @aymaanra
      @aymaanra  3 ปีที่แล้ว

      Thank you!

  • @oird8381
    @oird8381 2 ปีที่แล้ว +1

    ty, it was very helpful :)

  • @jefferyhammond1421
    @jefferyhammond1421 3 ปีที่แล้ว

    How can I use this in a system that deters barking dogs? I currently have a system I wired together that runs high pitch piezo tweeter speakers on a remote but that doesn't work when I'm not home to activate it. The over the counter bark deterrents are useless. I need it to stay on for 30 seconds when it detects noise but no shut off when it detects the second bark. Any ideas?

    • @aymaanra
      @aymaanra  3 ปีที่แล้ว

      I don't think this particular sensor will detect barking noises. It can only detect small noises very close to the sensor in my experience with it. I think you should research a bit about sound sensors that can detect loud noises in the environment like barking and maybe try that!

  • @xM7MDz77
    @xM7MDz77 2 ปีที่แล้ว +1

    Led 1 and Led 2 on the sound sensor always shining

    • @aymaanra
      @aymaanra  2 ปีที่แล้ว

      try adjusting the sensitivity of the sound sensor

  • @aymaanra
    @aymaanra  4 ปีที่แล้ว +2

    What are some electronics/robotics projects you want to see on this channel in the future? Let me know by leaving a comment here!

  • @Achie-hw5bt
    @Achie-hw5bt หลายเดือนก่อน

    does anyone know how to use this with a breadboard???

  • @razzanrianta
    @razzanrianta 6 หลายเดือนก่อน +1

    I tried it and it was not what I was expecting!

    • @aymaanra
      @aymaanra  6 หลายเดือนก่อน

      Wow!!

  • @justineapitan
    @justineapitan ปีที่แล้ว +2

    can i instead use arduino nano? if yes how?

    • @justadude5160
      @justadude5160 15 วันที่ผ่านมา

      arduino nano is the same as arduino nano but just smaller so yes it is possible with the same connections

  • @ummi8837
    @ummi8837 หลายเดือนก่อน

    do anyone have the code? I cant seem to open it??

  • @thumbsup-tz8vr
    @thumbsup-tz8vr 5 หลายเดือนก่อน

    would like to ask if the code still works? it's telling me that there's an error uploading the exit status 1

    • @greatcoder456
      @greatcoder456 5 หลายเดือนก่อน

      Just trying to help, but that usually means that either you don't have an Arduino connected or you have selected the wrong port. For me the code actually _didn't work..._ but for a different reason. Hope it helped... 👍

  • @ianshepard5568
    @ianshepard5568 3 ปีที่แล้ว

    is it possible to connect a sound senor to play a noise through a speaker?

    • @aymaanra
      @aymaanra  3 ปีที่แล้ว

      Yes

    • @ianshepard5568
      @ianshepard5568 3 ปีที่แล้ว

      @@aymaanra how

    • @aymaanra
      @aymaanra  3 ปีที่แล้ว

      @@ianshepard5568 do you want to use the microphone to trigger the speaker?

    • @ianshepard5568
      @ianshepard5568 3 ปีที่แล้ว

      @@aymaanra yes but i am a bit new to the electronics game and need some help like a tutorial or something

  • @Drxxx
    @Drxxx 4 ปีที่แล้ว

    super video

    • @aymaanra
      @aymaanra  4 ปีที่แล้ว

      Thank you!

  • @hotgames1763
    @hotgames1763 ปีที่แล้ว

    can you help me

  • @sayandeepghosh2007
    @sayandeepghosh2007 3 ปีที่แล้ว

    What coding app you have used

    • @aymaanra
      @aymaanra  3 ปีที่แล้ว +1

      its called Arduino IDE

  • @mechanicalbrain8567
    @mechanicalbrain8567 3 ปีที่แล้ว +1

    Bro it's not working

    • @aymaanra
      @aymaanra  3 ปีที่แล้ว +1

      What's the issue you are facing? It might be that your sensor's sensitivity is not adjusted properly.

    • @mechanicalbrain8567
      @mechanicalbrain8567 3 ปีที่แล้ว

      @@aymaanra yes thank's bro
      Now it's working 👍👍

    • @aymaanra
      @aymaanra  3 ปีที่แล้ว +1

      @@mechanicalbrain8567 Cool! You're welcome! Glad I could help!