Sound Sensor (Raspberry Pi)

Поділитися
Вставка

КОМЕНТАРІ • 40

  • @bharathcr3012
    @bharathcr3012 2 роки тому +1

    How to find the maximum sampling rate for sound sensor and frequency range?

  • @jaxcong3758
    @jaxcong3758 5 років тому +7

    Thanks so much! That helps a lot! Is there any way I can print the value of the sound?

    • @chetan8563
      @chetan8563 3 роки тому

      Check out ua-cam.com/video/PYkzJQhFNlA/v-deo.html , In the last part the guy has demonstrated how to interpret binary to values.

  • @SmartProjectsABC
    @SmartProjectsABC 3 роки тому

    Should you set Pi pin to Input first before connecting the sound sensor?

  • @avmnk
    @avmnk 2 місяці тому

    Can i use an analog sound sensor with the pi

  • @vestfoldvideo9359
    @vestfoldvideo9359 4 роки тому

    Is it possible to customise this so that I can get the decibel? For example by creating thresholds value and saying that within 200-400 print "noisy".

  • @Alirezakh41
    @Alirezakh41 6 років тому +3

    is it possible to configure the sensor to take decibel readings every second? in other words does it detect a range of decibels or is it limited or sound on/off reading?

    • @PiddlerInTheRoot
      @PiddlerInTheRoot  6 років тому +4

      Yeah it's binary, so it's probably not suited for your application. I googled and found this sensor wiki.seeedstudio.com/Grove-Loudness_Sensor/ might be something you want to look into further.

  • @KT-ut9zg
    @KT-ut9zg 7 років тому +2

    Nice vid. Straightforward and to the point. Would like to see a vid using a sensor with sound levels. Also, just a personal thing - I hate hearing backing music on vids. I think it's unnecessary and very distracting. I'd *much* prefer to just hear your explanations. Please consider leaving music out in the future. It's not at all essential to a video. Particularly as a musician, it really fights for my attention all the time I'm trying to listen :-)

  • @shiina9773
    @shiina9773 4 роки тому

    Hi, it is possible using this Sound Sensors to detect every sec db noise level or must purchase a Grove - Loudness Sensor?

  • @TrickshotEntertainment
    @TrickshotEntertainment 2 роки тому

    What is the board he is actually connecting the wires to

  • @EternalUltimate
    @EternalUltimate 3 роки тому +1

    Can I use it to built alexa pi?

  • @JKFCV
    @JKFCV 3 роки тому +1

    Can this sensor use to record sound ?

  • @mehdielmardi6362
    @mehdielmardi6362 5 років тому +4

    What is the add-on that is on the rpi ?

  • @jory1779
    @jory1779 11 місяців тому

    Hey what’s the name of the app for the code (I want to install it)

  • @joshkinney5091
    @joshkinney5091 Рік тому

    I followed everything but I get that it ran successfully but then the program exits and doesn't stay running?

  • @chukwuamanitegonwosu9606
    @chukwuamanitegonwosu9606 4 роки тому

    you are a life savior

  • @keerthanagowda2332
    @keerthanagowda2332 6 років тому +2

    Can we use th same connections and program for rpi ?

  • @PenguinTech
    @PenguinTech 5 років тому +2

    Please help me with 4 pin Big sound sensor , similar to this but with A0 ,+,GND and D0 pin. Please help me with i have put GND in Pin 6 and + in pin 2 and D0 in 11 and dont know about A0.

    • @pluronic123
      @pluronic123 7 місяців тому

      D0 is the digital pin. You dont need it when you just want to record sounds. A0 is the analog pin. this is where the sound data are transfered to the raspi/arduino

  • @pewpeww4765
    @pewpeww4765 4 роки тому

    Bro i have a question, how can i get an actual output(value) of how strong the sound is, coz im planning on working on a project where the sound thats being captured by the value of the sound sensor will control how lit or dim, my light bulb / led light will be. Thanks for anyone who's going to answer.

  • @prabhacar
    @prabhacar 5 років тому

    nice presentation!

  • @Gabo_1457
    @Gabo_1457 6 років тому

    Hello! Can you help me with the code to turn on and off a led by clapping?

    • @padmavathynarasareddygari1213
      @padmavathynarasareddygari1213 3 роки тому

      I can help you if you want

    • @Gabo_1457
      @Gabo_1457 3 роки тому

      @@padmavathynarasareddygari1213 It's ok, I solved! I just have to activate in low. Thanks!

  • @PandemicGameplay
    @PandemicGameplay 5 років тому

    nice video, much appreciated, helped me set things up in < 5 min

  • @brandonmcclain6575
    @brandonmcclain6575 4 роки тому

    Great video.

  • @abzounsaid6227
    @abzounsaid6227 6 років тому

    and if i want to print no sound detected if it didn,t detect anything ?

  • @mazaczenko666
    @mazaczenko666 5 років тому

    thx for the help :)

  • @timmybolton5515
    @timmybolton5515 4 роки тому

    not working: "No module named 'RPi'

    • @matthewtaylor3634
      @matthewtaylor3634 4 роки тому

      sudo apt-get install python3-pip
      pip3 install RPi.GPIO

  • @notimportant7547
    @notimportant7547 7 років тому

    what is the else for?

    • @PiddlerInTheRoot
      @PiddlerInTheRoot  7 років тому

      When I was testing the sensor it would only print half the time when triggered. Looking at it now, I think that entire if/else block is unnecessary.

    • @KT-ut9zg
      @KT-ut9zg 7 років тому

      Agreed. You've already tested for the pin going high so you can just make the callback echo "Sound detected" directly?

  • @dishachavan6611
    @dishachavan6611 5 років тому

    use of else ??????????

    • @PiddlerInTheRoot
      @PiddlerInTheRoot  5 років тому

      Yeah... I think the sensor I was using was damaged, that logic needs revision.

  • @krushnapattnaik8303
    @krushnapattnaik8303 3 роки тому

    #!/usr/bin/python
    import RPi.GPIO as GPIO
    import time
    #GPIO SETUP
    channel = 17
    GPIO.setmode(GPIO.BCM)
    GPIO.setup(channel, GPIO.IN)
    def callback(channel):
    if GPIO.input(channel):
    print "Sound Detected!"
    else:
    print "Sound Detected!"
    GPIO.add_event_detect(channel, GPIO.BOTH, bouncetime=300) # let us know when the pin goes HIGH or LOW
    GPIO.add_event_callback(channel, callback) # assign function to GPIO PIN, Run function on change
    # infinite loop
    while True:
    time.sleep(1)

  • @Smiley-sm2cq
    @Smiley-sm2cq 5 років тому

    Can I detect cry of baby with same sound sensor?

  • @Jollofpappi
    @Jollofpappi 4 роки тому

    What's the addon that's on the rpi?

  • @Smiley-sm2cq
    @Smiley-sm2cq 5 років тому

    Can I detect cry of baby with same sound sensor?