У нас вы можете посмотреть бесплатно An easy way to make noise with Arduino using tone() или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
🤩 Get the 10 Arduino Programming Tips PDF here: 👇👇 https://bit.ly/43mC5Bj **If you like this, I think you'll like the premium Arduino training we offer. Check it out here** https://bit.ly/3nSBPUs Click Below to Read About This Topic on Our Website https://programmingelectronics.com/an... We designed this circuit board for beginners! Kit-On-A-Shield: https://amzn.to/3lfWClU SHOP OUR FAVORITE STUFF! (affiliate links) --------------------------------------------------- We use Rev Captions for our subtitles https://bit.ly/39trLeB Arduino UNO R3: Amazon: https://amzn.to/37eP4ra Newegg: https://bit.ly/3fahas8 Budget Arduino Kits: Amazon:https://amzn.to/3C0VqsH Newegg:https://bit.ly/3j4tISX Multimeter Options: Amazon: https://amzn.to/3rRo3E0 Newegg: https://bit.ly/3rJoekA Helping Hands: Amazon: https://amzn.to/3C8IYXZ Newegg: https://bit.ly/3fb03X1 Soldering Stations: Amazon: https://amzn.to/2VawmP4 Newegg: https://bit.ly/3BZ6oio AFFILIATES & REFERRALS --------------------------------------------------- ►Audible Plus Free trial: https://amzn.to/3j5IGrV ►Join Honey- Save Money https://bit.ly/3xmj7rH ►Download Glasswire for Free:https://bit.ly/3iv1fql FOLLOW US ELSEWHERE --------------------------------------------------- Facebook: / programmingelectronicsacademy Twitter: / progelecacademy Website: https://www.programmingelectronics.com/ Do you need to make some noise with Arduino? Maybe a simple tone for an alarm, maybe a beep to alert you when a specific input threshold is met, or maybe to play the Super Mario Brothers soundtrack to entertain your juvenile mind (it’s OK, we are all there too). Whatever your audible need, you will likely find the easiest, quickest and possibly the cheapest way to make some noise is using the tone() function and piezo speaker with your Arduino. ###This is exactly what you will learn in this lesson: 1. A quick intro to piezo speakers (aka piezo buzzers) 2. How to set up a simple piezo speaker circuit 3. The basics and more of using the tone() function 4. The limits you should know when using tone() ###Hardware You Will Need: Arduino board, I am using an Arduino Uno [1] Solderless breadboard [1] Jumper wire [2] Piezo speaker (aka piezo buzzer) [1] At least 12 cm dental floss, with a thick wax coating (mint flavored works best) [1] ###A quick intro to piezo speakers (aka piezo buzzers) Ahh noise…. Birds make it, kids make it - it can be music to our ears or pure torture. We are going to use a piezo buzzer to make some noise with Arduino. A piezo buzzer is pretty sweet. It’s not like a regular speaker that you might think of. It uses a material that’s _piezoelectric_, it actually changes shape when you apply electricity to it. By adhering a piezo-electric disc to a thin metal plate and then applying electricity, we can bend the metal back and forth, which in turn creates noise. The faster you bend the material, the higher the pitch of the noise that’s produced. This rate is called frequency. Again, *the higher the frequency, the higher the pitch of the noise we hear*. So basically, by shocking the plate over and over really fast, we can make noise. I don’t know who comes up with this stuff, but they’re friggin’ mean. Now let’s set up this circuit. ###How to set up a simple piezo speaker circuit using Arduino It’s painfully easy to set up a simple piezo speaker circuit with an Arduino. 1. Place the piezo buzzer into the breadboard so that the two leads are on two separate rows. 2. Using jumper wires, connect the positive lead to Arduino digital pin 8 and the other lead to any Arduino ground pin. The case of the buzzer may have a positive sign (+) on it to indicate the positive lead (if not, then the red wire usually indicates the positive lead). That’s it. Let’s go ahead and jump into the Arduino sketch. ###The basics and more of using the tone() function The tone() function works with two arguments, but can take up to three arguments. Let’s address the two required items first: tone( pin number, frequency in hertz); 1. The pin number that you will use on the Arduino. 2. The frequency specified in hertz. Hertz are cycles per second. The frequency is an unsigned integer and can take a value up to 65,535 - but if you are trying to make tones for the human ear, then values between 2,000 and 5,000 are where our ears are most tuned. As an experiment, try changing the second argument in tone() to 100, 1000, 10000, 650000 and listen to the effect it has on the audio signal. Read More... https://programmingelectronics.com/an... About Us: This Arduino tutorial was created by Programming Electronics Academy. We are an education company who seek to help people learn about electronics and programming through the ubiquitous Arduino development board.