Это видео недоступно.
Сожалеем об этом.

DIY SOUND METER in decibels using KY-038 Sound sensor module, 0.96" OLED Display and arduino nano

Поделиться
HTML-код
  • Опубликовано: 21 окт 2021
  • code link!
    drive.google.c...
    if you need to know how i have caliberated it to decibels and decibels to bar graph mail us at mountdyanmics@gmail.com

Комментарии • 118

  • @putrifzag9770
    @putrifzag9770 2 года назад +9

    Excuse me, i wanna ask how you determine the max & min value? and what's the source formula of calibrated dB in map() function?
    thanks.

  • @idmncc
    @idmncc 15 дней назад

    I have an idea: "Make a door lock that incorporates passcode, fingerprint, and GMS, which you can access on both sides of a door."
    Can you do that please?

  • @terrykang7737
    @terrykang7737 Год назад +2

    please access for the code !

  • @armanahmed1794
    @armanahmed1794 2 года назад +1

    Really great work momin Bhai::

  • @MiG-25IsGOAT
    @MiG-25IsGOAT 8 месяцев назад +1

    Hello sir can you please share the code? Or at least tell how to download it or where?? All the users watching this video wants the code. How do we get it? can you please make it public or something? it should be enough for some of us if you told us how to convert analog do dB

  • @syaduinotech3681
    @syaduinotech3681 2 года назад +1

    Thanks.. for sharing.. love to try it

  • @soriatel
    @soriatel 2 года назад +1

    How to calibrate it?

  • @arwenitaofdoom9041
    @arwenitaofdoom9041 4 месяца назад

    The code then? how did you calibrate it? mine is stuck at 0 db and i don't know how to fix it

  • @lawrencechin2739
    @lawrencechin2739 Год назад +2

    I would like to request your code? Thank you

  • @tl6817
    @tl6817 2 месяца назад

    Please grant access to the code. Thanks!

  • @razeenrazman6580
    @razeenrazman6580 2 года назад

    why there is an error compiling for board arduino nano when i tried to compile thd coding ?

  • @katherinedabkowski5607
    @katherinedabkowski5607 Год назад +3

    Can you please change this google drive link to be public? that would make this easier or please grant access from my request. thank you!

  • @yorbis10
    @yorbis10 4 месяца назад

    Code please ?

  • @zulfiqarahmed8590
    @zulfiqarahmed8590 2 года назад +1

    Nice video momin all the best

  • @gorkazamorano8471
    @gorkazamorano8471 Год назад

    Why is fixed on 40 dB? If there's no noise it should be less dB

  • @varadraut3738
    @varadraut3738 2 года назад +1

    Hello, please grant me access to this code, I need it for my college projects.
    Thanks ❤️

  • @plutarco8556
    @plutarco8556 7 месяцев назад

    Please send me the code

  • @lilletee
    @lilletee 4 месяца назад

    Hello, please acept me to see the code. It IS so important for a school project

  • @uliseshg723
    @uliseshg723 2 года назад +1

    Please grant access

  • @dr.arduino250
    @dr.arduino250 2 года назад +1

    Please grant me access to code.

  • @ankitraj7240
    @ankitraj7240 8 месяцев назад

    Can you provide the circuit digram and components used plz

  • @xxabdoxx8204
    @xxabdoxx8204 Год назад +1

    hello, great work by converting voltage to db level can I get the code please, I'm a student and I need this please

  • @bandalahernandezluisenriqu3793
    @bandalahernandezluisenriqu3793 8 месяцев назад

    con you give me access please?

  • @lawrencechin2739
    @lawrencechin2739 Год назад

    Thank you making the video. Half bread board, KY038, arduino nano and OLED display plus your code (which program language is your code . I am trying to build decibel meter to warn the roommate is too loud. Maybe add light bar or a flashing red light when it reach number. Do you think this project will work? Can I please have access to the code? Thank you

  • @majorchristopherkyle1077
    @majorchristopherkyle1077 Год назад

    Hell sir, can i get access to the drive in description
    Thanks

  • @varadpotadar1010
    @varadpotadar1010 5 месяцев назад

    Hey please grant the access I need urgently

  • @musfikuzzamanshad4
    @musfikuzzamanshad4 Год назад

    Can you please grant access of the code?

  • @conc684
    @conc684 8 месяцев назад

    helo can you share the code

  • @humanlife611
    @humanlife611 2 года назад

    Crazy !

  • @MinestellerMusic
    @MinestellerMusic 2 года назад

    Please grant the access to the drive link

  • @kevinelinski3907
    @kevinelinski3907 Год назад

    Could you give me access to the code please?

  • @eduardoherreraalba1725
    @eduardoherreraalba1725 Год назад +1

    Amazing work! I was wondering if you could grant access to the code.
    Thanks in advance!

  • @michaelfalkson317
    @michaelfalkson317 Год назад

    Hi
    Please grant access to code. Thanks

  • @brunozanicheli8526
    @brunozanicheli8526 11 месяцев назад

    Code please!??

  • @sincedayjuan
    @sincedayjuan Год назад

    can someone provide the codes here? thanks.

  • @Mrsuscat
    @Mrsuscat Год назад

    plz code

  • @MdRana-tq2el
    @MdRana-tq2el Год назад +1

    sir, please grant access

  • @fikrifr9565
    @fikrifr9565 Год назад

    excuse me, grant me access to the code

  • @JB-20
    @JB-20 11 месяцев назад

    Why it doesn't go 0dB during silence?

    • @MiG-25IsGOAT
      @MiG-25IsGOAT 8 месяцев назад +1

      There is no such thing as "0dB", it is 40 on average

    • @JB-20
      @JB-20 8 месяцев назад

      ​@@MiG-25IsGOATThanks, sorry my mistake.

    • @MiG-25IsGOAT
      @MiG-25IsGOAT 8 месяцев назад

      @@JB-20np

  • @adesanjaya6544
    @adesanjaya6544 Год назад

    hi, i already request for access.. Could you please grant me access to the code please?

  • @kdd2
    @kdd2 Год назад

    Share the code

  • @samruddhikhode4764
    @samruddhikhode4764 Год назад

    can you plzz grant me access to the code?

  • @adriankimbabela7208
    @adriankimbabela7208 Год назад

    May I have your permission and access to use this code?

  • @gupthacreation8983
    @gupthacreation8983 8 месяцев назад

    Bro can u give me the code

  • @khaledgame
    @khaledgame 2 года назад

    Hey, can you give me access to code?
    Thanks!

  • @rajanisheladiya6382
    @rajanisheladiya6382 10 месяцев назад

    i am waiting for access to your drive........Thank you!

  • @MrJefferson105
    @MrJefferson105 2 года назад

    Could you please grant me access to the code please? Great project

  • @michimichongo8059
    @michimichongo8059 2 года назад

    Hello, I'm trying to find the way you use to convert the analog output of the sensor to the decibels.
    Please grant me the access to the code, thanks

  • @valentecisneros3312
    @valentecisneros3312 9 месяцев назад

    Grantb acces to code pleas e

  • @MrMonkeApe
    @MrMonkeApe 2 года назад +1

    Nice, could you give me access?

  • @PaulmetalHO
    @PaulmetalHO 2 года назад +1

    your link need access right, please grant the access , thanks

    • @MOUNTDYNAMICS
      @MOUNTDYNAMICS  2 года назад

      Done

    • @PaulmetalHO
      @PaulmetalHO 2 года назад +1

      ​@@MOUNTDYNAMICS Thanks so much! hope you will keep continues to product other good program for us ;P

    • @MOUNTDYNAMICS
      @MOUNTDYNAMICS  2 года назад

      You’re welcome
      We shall try.

    • @johnpaull.agutaya3838
      @johnpaull.agutaya3838 Год назад +1

      ​@@PaulmetalHO can u share the code of this program to me.plsss

    • @lintangpratama4713
      @lintangpratama4713 2 месяца назад

      ​@@PaulmetalHOSorry, can you share the code for the sound meter?

  • @L9k100
    @L9k100 2 года назад

    I'd love to try this, could you grant me access?

  • @fabiomatteostroscio1942
    @fabiomatteostroscio1942 Год назад

    Please, code! Grant me access to the code

  • @manuelespinoza9984
    @manuelespinoza9984 Год назад

    Good video! Could you give me access to the code please?

  • @lifeassests8098
    @lifeassests8098 2 года назад

    Please grant the access

  • @createrandLearnerEngineer
    @createrandLearnerEngineer 2 года назад

    bro can u give me aa aces sode

  • @natthawatketdee234
    @natthawatketdee234 2 года назад

    please grant access

  • @elvishitler6143
    @elvishitler6143 Месяц назад

  • @franticfanatic7996
    @franticfanatic7996 2 года назад

    Please grante acces I really really need this code!!

  • @createrandLearnerEngineer
    @createrandLearnerEngineer 2 года назад

    bro give me a code

  • @allisonmarchan
    @allisonmarchan 2 года назад

    porfavor dame acceso

  • @johnpaull.agutaya3838
    @johnpaull.agutaya3838 Год назад

    please grant me access

  • @chanaso6474
    @chanaso6474 8 месяцев назад

    Grant me acess

  • @hugosoulier219
    @hugosoulier219 2 года назад

    This is really interesting, Nice video !
    Can you grant me access for the code please ?

  • @wasswakenneth3009
    @wasswakenneth3009 2 года назад

    Grant access please

  • @uc9572
    @uc9572 2 года назад

    please grant access, Thanks U

  • @AndreM-ww6tn
    @AndreM-ww6tn Год назад

    nice ,please grant access

  • @thisismeminime8936
    @thisismeminime8936 2 года назад +1

    Nice,please upload code

    • @MOUNTDYNAMICS
      @MOUNTDYNAMICS  2 года назад

      Yes will do it today

    • @MOUNTDYNAMICS
      @MOUNTDYNAMICS  2 года назад +1

      code has been uploaded!!!!!!! link is in the description

    • @MiG-25IsGOAT
      @MiG-25IsGOAT 8 месяцев назад

      @@MOUNTDYNAMICS How are we supposed to get it??? everyone is looking for it and you star some comments and don't say anything about getting it

  • @ryvntlb
    @ryvntlb 2 года назад

    very nice, please grant access

  • @fabiolaalvarez3542
    @fabiolaalvarez3542 2 года назад

    Grant me access pls

  • @JhisasXZ
    @JhisasXZ 9 месяцев назад

    please acces me , ty!

  • @omkarshinde57
    @omkarshinde57 9 месяцев назад

    Request accept kar bhai

  • @stephandubas
    @stephandubas Год назад +1

    useless, no details about the program, waste of time

  • @xb.h7006
    @xb.h7006 10 месяцев назад

    Goog jop, please acces me! thankyou

  • @mikidk2986
    @mikidk2986 9 месяцев назад

    accept my request please

  • @adamovaleksandr
    @adamovaleksandr 3 месяца назад

    Please grant access

  • @julianomarques9130
    @julianomarques9130 2 года назад

    Hey, can you give me access to code?
    Thanks!

  • @xinyaoqi5465
    @xinyaoqi5465 2 года назад

    please grant access

  • @meeramohammed8275
    @meeramohammed8275 2 года назад +1

    nice ,please grant access

  • @saif5428
    @saif5428 Год назад

    Please grant access

  • @hoanpham5862
    @hoanpham5862 Год назад

    Please grant access

  • @Yoavlevavi
    @Yoavlevavi Год назад

    Please grant access

  • @heike5511
    @heike5511 2 года назад

    please grant access

  • @jaresres4578
    @jaresres4578 2 года назад

    Please grant access

  • @felipegajardo9739
    @felipegajardo9739 Год назад

    nice ,please grant access

  • @akkc56
    @akkc56 2 года назад

    Please grant access

    • @MOUNTDYNAMICS
      @MOUNTDYNAMICS  2 года назад +1

      Granted

    • @akkc56
      @akkc56 2 года назад

      @@MOUNTDYNAMICS Thanks.. for sharing.. I will try.

    • @johnpaull.agutaya3838
      @johnpaull.agutaya3838 Год назад

      ​@@akkc56 can u share the code of this program to me. pls i havent granted acceaa

    • @user-tu7lc1jn9g
      @user-tu7lc1jn9g Год назад

      Can you share the code to me please it will more help me

    • @akkc56
      @akkc56 8 месяцев назад

      @danieltiglao4139
      #include
      #include
      #include
      #include

      #define SCREEN_WIDTH 128 // OLED display width, in pixels
      #define SCREEN_HEIGHT 64 // OLED display height, in pixels
      #define OLED_RESET -1 // Reset pin # (or -1 if sharing Arduino reset pin)
      Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, OLED_RESET);

      int sound =A0;

      const int sampleWindow = 50; // Sample window width in mS (50 mS = 20Hz)
      unsigned int sample;


      void setup()
      {
      Serial.begin(115200); //Serial comms for debugging
      display.begin(SSD1306_SWITCHCAPVCC, 0x3C); //OLED display start
      display.display(); //show buffer
      display.clearDisplay(); //clear buffer
      display.setTextSize(2); //Set text size to 1 (1-6)
      display.setTextColor(WHITE); //Set text color to WHITE (no choice lol)
      display.setCursor(0,0); //cursor to upper left corner
      display.println("Sound");

      display.setCursor(67,0);
      display.println("Meter"); //write title
      display.display(); //show title
      delay(2000); //wait 2 seconds


      }
      //--------------------------------------------------------------------------------------------
      // MAIN LOOP
      //--------------------------------------------------------------------------------------------

      void loop()
      {
      unsigned long startMillis= millis(); // Start of sample window
      float peakToPeak = 0; // peak-to-peak level

      unsigned int signalMax = 0; //minimum value
      unsigned int signalMin = 1024; //maximum value
      // collect data for 50 mS
      while (millis() - startMillis < sampleWindow)
      {
      sample = analogRead(0); //get reading from microphone
      if (sample < 1024) // toss out spurious readings
      {
      if (sample > signalMax)
      {
      signalMax = sample; // save just the max levels
      }
      else if (sample < signalMin)
      {
      signalMin = sample; // save just the min levels
      }
      }
      }
      peakToPeak = signalMax - signalMin; // max - min = peak-peak amplitude
      float db = map(peakToPeak,000,460,40,90); //calibrate for deciBels
      display.setCursor(8,25); //cursor to upper left
      display.setTextSize(2); //set text size to 2
      display.print(db); //write calibrated deciBels
      display.print(" dB");
      display.setCursor(3,48);
      display.setTextSize(1);
      display.print("Analog Reading");

      display.setCursor(95,48);

      display.print(analogRead(sound));
      int r = map(db,0,80,1,120); //set bar graph for width of screen
      display.fillRoundRect(1, 1, r, 15, 0, WHITE); //draw bar graph with a width of r
      display.display(); //show all that we just wrote & drew
      display.clearDisplay(); //clear the display

      }