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

Get Started in Electronics #5 - Active & Passive Buzzers w/ Arduino Uno

Поделиться
HTML-код
  • Опубликовано: 17 авг 2024
  • Hello, 3D Printing friends! Today we're going to find out how to control Active and Passive piezoelectric buzzers with an Uno, writing code in the Arduino IDE!
    In this series, we're using the Elegoo Uno Super Starter Kit. Want to buy an Elegoo Uno Super Starter Kit for yourself? You can pick one up here:
    • amzn.to/2B92t4i 🇺🇲US [affiliate link]
    • amzn.to/2IR2n5n 🇨🇦Canada [affiliate link]
    LINKS:
    BV3D Arduino Prototyping Base
    • www.thingivers...
    Did this video help you out, save you a bunch of time, or help you learn something new?
    If so, please consider becoming a channel member, or buying me a coffee, or leaving a tip! Your support really helps, and is VERY MUCH APPRECIATED!
    ✅ BV3D Channel Membership: ruclips.net/user/bv...
    ☕️ Buy Me a Coffee: www.buymeacoff...
    👍🏻 PayPal tip jar: www.paypal.me/...
    *️⃣ The BV3D Channel Storefront on Amazon:
    • www.amazon.com...
    *️⃣ Popular 3D printer affiliate links:
    • BIQU: shrsl.com/3s4hr
    • Creality: shrsl.com/3qu2u
    • Comgrow: bit.ly/33xcDtB [Check out the Creality REFURBS!]
    • Elegoo: shrsl.com/3pu98
    • FLSun: flsun3d.com/?r...
    • Pergear: bit.ly/BV3Dper...
    • Sovol: bit.ly/3h90d2L
    • Sunlu: bit.ly/3hGNzpQ
    • Voxelab: bit.ly/3vVG9Wq
    *️⃣ In the market for a magnetic flexible build system for your 3D printer?
    💥Wham Bam Systems flex plates: bit.ly/2YzogLZ
    As a Wham Bam Systems Associate I earn from qualifying purchases.
    *️⃣ Shop for just about anything:
    🛒🇺🇲US: amzn.to/2x4hBxS [affiliate link]
    🛒🇨🇦Canada: amzn.to/2Ycb5ju [affiliate link]
    As an Amazon Associate I earn from qualifying purchases.
    SOCIAL MEDIA
    Follow me on Twitter (@bryan_vines): / bryan_vines
    Disclosure:
    I sometimes receive compensation such as discounted or free products, and when applicable, this is disclosed in videos and their descriptions. Whether free, discounted, or paid full price, any reviewed product is tested to the best of my ability, and I give my honest impression. All opinions expressed are my own.
    #arduino
    #code
    #electronics

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

  • @RandomTorok
    @RandomTorok Год назад +6

    I've been monkeying around with the basic lessons and with this one I combined it with the previous lesson on buttons. I had 5 push buttons, so I programmed each one to play a different note. Then added a couple of RGBs to light up whenever I clicked a button. A light organ.

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

      That's pretty cool! 😀

  • @incognitomode9031
    @incognitomode9031 2 года назад +7

    Hey! I don't know if you will ever see this, but thank you for your explanations. Teachers, especially in coding, sometimes use random numbers and lines, expecting you to just know what is going on. So I really appreciate you explaining each line and number you use. Not just putting the number and leaving people to figure out what they mean. Thank you, sir.

  • @williamsansom5861
    @williamsansom5861 4 года назад +27

    You're a great teacher. Never thought I'd get my head round this. Lock Down saviour :)

  • @starstrykr2021
    @starstrykr2021 4 года назад +31

    This series has been extremely helpful! Thank you so much for doing these :)

    • @BV3D
      @BV3D  4 года назад +2

      Thank you, Ty! 👍

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

    This is the first of your explanations I have watched. I love how you identify the background information that is important to an understanding of the concept you are explaining and quickly and simply cover it as you go. At the ripe old age of 70 I'm just a beginner, but you just helped me build an alarm which goes off when I forget to close the cocks on the toilet in my boat, (which will most likely save me from sinking). Thanks, I'll be watching the rest of your videos.

  • @JR-je7ce
    @JR-je7ce 3 года назад +2

    I know im abit late on this but can I just say thank you for making this tutorial. You're are easily one of the most engaging teachers I have come across you make the tutorials fun and I love your sense of humour

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

    You have the best dad joke puns on RUclips. Thanks for the great tutorials.

  • @darrenstettner5381
    @darrenstettner5381 4 года назад +4

    I’ve been wanting to learn how to play with arduino stuff for a long time. These videos are great and I’m finally making progress. Please keep up the good work with making these tutorials.

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

    what a legend! thank you for the time put in to this series. Loving it so far : )

  • @spikekent
    @spikekent 4 года назад +10

    Bryan, your puns never get old, sadly the same can't be said for me lol. Now I know why all my backups make so much noise 😂

    • @BV3D
      @BV3D  4 года назад +1

      Haha! I'm old, too, Spike! Thanks so much for watching! 👍

  • @IngeniousDimensions369
    @IngeniousDimensions369 2 года назад +2

    I love your humor.🔥🔥

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

    I just acquired a differently branded but otherwise similar kit, and stumbled upon this video series just after. So far, I really enjoy your thoroughness in both explaining the electronics and code, and in demonstrating how it works including telling how to modify it.
    I also enjoy your humor, although I think you might have overdosed a bit from your dad joke supply mug this time. 😎

  • @SteveH-TN
    @SteveH-TN Год назад

    Really appreciate your providing these excellent lessons.

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

    I have downloaded your Arduino work station , I liked it so much I printed a couple of them . Oh yeah, good videos

  • @declanoflynn1055
    @declanoflynn1055 3 года назад

    More people need to know about your channel. You have taught me so much and I don't think I would have gotten into coding if it wasn't for your good quality and informative videos. keep it up!

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

    You merits more subscribers and viewers, you're videos are so qualitative !

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

    Very nice useful subject and tutorial.thanks for sharing.

  • @TD3DMakes
    @TD3DMakes 4 года назад +3

    Excellent video Bryan 🎶 Also I think you reached a record for puns in a single sentence 🤣. Thanks for sharing!

    • @BV3D
      @BV3D  4 года назад

      Hi Thierry! So many puns, so little time! Thank a bunch for watching! 😄

  • @zimmy1958
    @zimmy1958 4 года назад +6

    Typical Bryan humor lol Thanks again. Take care my friend.

    • @BV3D
      @BV3D  4 года назад +1

      Thank you Zimmy! I'm glad you enjoyed it! 😃

  • @sinderbloq6466
    @sinderbloq6466 3 года назад

    As much as I try to fight it, I couldn't help but crack a smile at your jokes at the end

  • @kidsstorytime6397
    @kidsstorytime6397 3 года назад

    Your series have been extremely helpful! Thank you so much for doing these you're a great teacher. Never thought I'd get my head round this. Lock Down saviour and i have been wanting to learn how to play with arduino stuff for a long time. These videos are great and I’m finally making progress. Please keep up the good work with making these tutorials thanks again.

  • @perryoz636
    @perryoz636 4 года назад

    Can't wait for the next video! My friend and I are stuck on servo because for some reason our boards won't connect or power up through our computer ports at all. And the software doesn't even give us the option to choose a port now!!! hopefully we can see how to trouble shoot it soon and see how you run it in the next lesson.

  • @onerazz3115
    @onerazz3115 4 года назад +1

    very good video ,easy to understand and fallow.a bit of humor is always good.

    • @BV3D
      @BV3D  4 года назад

      Hi One Razz! I'm glad you liked it -- and thanks for watching! 😊

  • @hail2287
    @hail2287 3 года назад +1

    yes

  • @davidolson7575
    @davidolson7575 4 года назад +1

    Glad to see you’re doing these again Brian awesome

    • @BV3D
      @BV3D  4 года назад

      Hi David! I'm trying to release them once per month! 👍

  • @callumparker6681
    @callumparker6681 4 года назад +2

    Thanks for the video Bryan. The only complaint is that you only have so many arduino videos.

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

    I love the dad jokes :D (as well as the lessons)

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

    you make learning fun - you are too funny!

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

    Your dad jokes are on fire

  • @chadcraig74
    @chadcraig74 4 года назад

    Great series. I'm learning so much
    Please keep them coming.

  • @TaylorBramble
    @TaylorBramble 4 года назад +1

    Love his shirts xD

  • @mr89firebird
    @mr89firebird 4 года назад +1

    Okay, I need to not be drinking any liquids whatsoever when listening to you wrap up these lessons. I just about spewed water all over my project.

  • @Kidge.6081
    @Kidge.6081 3 года назад

    i need a "laughing knee-slapper" emoji for the puns at the end. lol

  • @robylew2125
    @robylew2125 3 года назад

    Thanks Bryan! I'm a older senior 60^ that has been doing PLC programming before I retired. Learning the syntax and command functions of the open source Arduino language is daunting. You do make it easier to understand, but is there a source for that. I was very successful with low voltage control systems just using the voltage potential. I'm not able to write the code like I'm use to. Thanks again.

  • @timwsac
    @timwsac 4 года назад +1

    Great video Bryan thanks

    • @BV3D
      @BV3D  4 года назад

      Hi Tim! Thank you! 😊

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

    So I did this lesson, then I found another on how to make the buzzer beep at random times, then I found a photoresistor lesson. Now I have a buzzer that beeps randomly when the lights are off and stays silent when they're on. Now I just need to pick my victim. During the day, no beeping. At night, random beeping. When they turn on the lights to find the beeping, no beeping!

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

    Hi Brian. Just working my way through your excellent tutorials. A truly well produced job. So thank you. Can I ask a stupid question ? What actual 'language' are we learning here ? Python ? C++ ? .. 🇬🇧

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

    is it possible to reprogram a wireless security camera/ smart plug using an arduino?

  • @daanenmudalli8130
    @daanenmudalli8130 3 года назад

    Thanks for all your episodes about arduino! I havent't seen all yet but i already learn many things!! But you can still improve things like explaining more about how the codes actually works....give more examples, you know !! But besides the videoes are great.

  • @OldCurmudgeon3DP
    @OldCurmudgeon3DP 4 года назад +2

    The dad jokes.... 🤣🤣🤣👍

    • @BV3D
      @BV3D  4 года назад +1

      Sadly, there aren't any intentional ones in the next video... 😬

    • @spikekent
      @spikekent 4 года назад +1

      @@BV3D Yeah right 😊

  • @a.rebeih56
    @a.rebeih56 3 года назад

    Is it possible to use analogWrite instead of digitalWrite? Therefore you could change the pitch on the active buzzer. Is this possible or did I miss something? I haven't tried on my own Uno because I didn't wanna destroy it.

  • @olw4196
    @olw4196 4 года назад

    Super fun instruction

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

    appreciate you

  • @the3dfr
    @the3dfr 4 года назад +1

    got the spool organiser stl Bryan? great vid as usual

    • @BV3D
      @BV3D  4 года назад +1

      Hi Richard! I'm highlighting that one in next week's video! 😉

  • @AhmedGowda
    @AhmedGowda 4 года назад +1

    Excellent, thank you!

    • @BV3D
      @BV3D  4 года назад

      You are welcome! 🙂

    • @AhmedGowda
      @AhmedGowda 4 года назад

      I really liked this serious, looking forward to more videos, i was so excited and thought it’s a lot of project, I hope you consider creating more videos soon

  • @tikav2411
    @tikav2411 3 года назад +2

    Cool video, really helpful for learning Arduino. Anyone know where I can buy one of those green "material boxes" like the one at 3:31? I want one!

    • @BV3D
      @BV3D  3 года назад

      Hi! That's one I 3D printed. The drawers fit into an empty spool from eSun. If you want to see the video where I made it, it's here: ruclips.net/video/libFI4E_CQQ/видео.html All the files are linked in the description of that video.

    • @tikav2411
      @tikav2411 3 года назад

      @@BV3D Hello! I don't have a 3D printer. Is there any chance that you print another one and I buy it? Thanks! :)

  • @AndrewAHayes
    @AndrewAHayes 4 года назад +2

    What do the Void statements signify?

    • @BV3D
      @BV3D  4 года назад +3

      That's the "return type" of the function. That tells the IDE that the function returns nothing. In other words, the type of thing it returns is nothingness.
      If the function returned an integer value--for example, if you had a function which performed a calculation on some numbers--its return type would be "int" instead of "void". 👍

  • @AlanM1966
    @AlanM1966 3 года назад

    Hi Bryan, when I open the code for the passive buzzer lesson, there is an error stating, "pitches.h: No such file or directory". As such, the code will not load. Is there a solution? Thanks, Alan.

  • @emilianoescalante4418
    @emilianoescalante4418 3 года назад

    Thankyou for the informative video. Quick question is what would have happened if you used the active buzzer for the time that you used the passive buzzer? Better yet can different tones be played through the active buzzer or is it fixed because of the internal oscillator.

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

    You should have held your clip on mic closer to the buzzer - I Had to turn sound full up to hear the buzzer via external 5 Watt amp - Also you did not need the Arduino to make the active buzzer work. As you said just apply a voltage, But note the active buzzer working voltage first before applying any voltage, you did not include the current draw specs of the buzzers ? as the Arduino has an out put current limit.

  • @cosmo9882
    @cosmo9882 4 года назад +1

    Thank you.

    • @BV3D
      @BV3D  4 года назад

      Hi, Cosmo! You're very welcome! 😀

  • @matthewwilson7687
    @matthewwilson7687 3 года назад

    I'd like the file for that tray you used out of a old filament roll? Can you share?

  • @gabrielstrong2186
    @gabrielstrong2186 3 года назад

    Loving your Arduino intro to electronics series. Do you have an affiliate link for Amazon Australia? Also would you have a recommendation for a 3D printer for a novice that is still sufficiently functional and sufficiently sized to produce, at least, your Arduino work tray and that diffuser "crystal" for the the RGB LED project?

  • @phinmilton669
    @phinmilton669 3 года назад

    he is the pun god

  • @OthmanAlikhan
    @OthmanAlikhan 3 года назад

    Thanks for the video =)

  • @alenasimpson2791
    @alenasimpson2791 3 года назад

    both of my active buzzers don't work :/ tried on 2 different breadboards

  • @charliebowen4232
    @charliebowen4232 4 года назад +1

    Hello Bryan, Great video!! Hoping to buy that kit to try some of these projects!
    So, I have to ask... the bins/drawers under the Super starter kit!! STL?!?

    • @BV3D
      @BV3D  4 года назад +1

      Hi Charlie! Both of the parts bin things are featured in an upcoming video (probably next Monday, unless something comes up between now and then)! 😀

    • @charliebowen4232
      @charliebowen4232 4 года назад +1

      @@BV3D Thank you Bryan!! Looking forward to that video!

  • @nicolasquintanaariste6614
    @nicolasquintanaariste6614 3 года назад

    Really helpful video. Love the jokes😂😂😂

  • @cole6364
    @cole6364 3 года назад

    it keeps saying i didn't do it right? and i have done programing and coding for 4 years! am just like wth? plz help me!!!

  • @canadiancat5857
    @canadiancat5857 4 года назад

    Epic

  • @_vortex_651
    @_vortex_651 4 года назад +1

    Its not working for me please help i did everything correct i really really need help

    • @_vortex_651
      @_vortex_651 4 года назад +1

      Nevermind it worked

    • @BV3D
      @BV3D  4 года назад

      I’m glad you got it working! 👍🏻

  • @jangamer2971
    @jangamer2971 3 года назад

    Backup your project friends! BIIP

  • @pebbleshmebble8142
    @pebbleshmebble8142 3 года назад +3

    you dont deserve 12K subscribers, you deserve 40M.

  • @midnightrizer
    @midnightrizer 3 года назад

    brian that buzzer with the circuit board showing DOES have a + and a - look again.

  • @502deth
    @502deth 3 года назад

    horrible, horrible, HORRIBLE puns aside......
    first, surprised you didnt go into the "tone" function. but my main question.....
    in cases like this, i dont get the "int" thing. typing out the setting of int of buzzerpin on pin3 then continuously typing out buzzerpin a billion times in a sketch, why not just not assign an integer and type only "3" and save like 36 hours in programming? i get that, if you wanted to change the buzzer from 3 to.... 9 or whatever, you only have to change that one instance in the setup, but if your just typing out code for a quick example, it seems quite superfluous. am i missing something here?

  • @diegocordero676
    @diegocordero676 3 года назад +1

    The horrible puns......

    • @jpod4237
      @jpod4237 3 года назад

      Diego Cordero nah theyre awesome

  • @eliyagritsenko7715
    @eliyagritsenko7715 3 года назад

    his jokes are stupid.....................................................................:P

    • @jpod4237
      @jpod4237 3 года назад +1

      eliya girtsenko they are great

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

    Hi Bryan. Just working my way through your excellent tutorials. A truly well produced job. So thank you. Can I ask a stupid question ? What actual 'language' are we learning here ? Python ? C++ ? .. 🇬🇧