Category Archives: Tutorial

Arduino Tutorial 24: Understanding Passive Buzzers

In this lesson we show you how to incorporate sound into your project using a passive buzzer. Passive Buzzers have the advantage that they are less expensive than active buzzers, and you can more precisely control the tone. This lesson will show you how to hook up the buzzer, and then how to code the arduino to produce different tones.

If you want to follow along at home, you can order the Arduino Kit we are using HERE.

Arduino Tutorial 23: Changing Tone of an Active Buzzer

In this lesson we show how you do have some ability to adjust the tone on the Active Buzzer to make a sound or alarm that is a little more interesting. If you want to make notes or play simple songs you should use the passive buzzer, but the active buzzer can be adjusted somewhat.

If you want to follow along at home, you can order the Arduino Kit we are using HERE.

The video above takes you through the hookup and the steps. Also, the code used in the example above is:

 

Arduino Tutorial 22: Understanding and Using Active Buzzers to Add Sound to Your Project

In this lesson we show you how to add sound to your Arduino project using a buzzer, The Elegoo Super Starter kit contains two buzzers, an active buzzer and a passive buzzer. The active buzzer is the easiest to use, as you just need to apply 5 volts to it to get it to go off. In this lesson we show you how simple it is to use the active buzzer with Arduino. In future lessons we will show you how to use the passive buzzer.

The advantage of the active buzzer is that it is easier to use. Just apply 5 volts, and it goes off. The advantage of the passive buzzer is that it is cheaper, and allows you more control of the tone, or pitch of the sound produced.  If you want to follow along at home, you can order the Arduino Kit we are using HERE.

Arduino Tutorial 20: Understanding RGB LED’s

In this lesson you will learn how to work with RGB LED’s. RGB LED’s can be used to create not only the primary colors, but also all mixtures of the primary colors. This video shows you how to connect up a Common Cathode RGB LED. This project is a little more complex than the ones we have done in the past, so I include the code down below. While the code is here for your reference, you should not just copy and paste it. In order to really learn, you need to type it in for yourself, and then find and debug your mistakes. If you just copy and paste from me, you will never learn how to troubleshoot.

In these lessons, we are using the Elegoo Arduino kit, which you can purchase HERE.

Arduino Tutorial 19: Reading Strings from the Serial Monitor

In lesson 18 you learned how to read integers or floating point numbers into the Arduino from the Serial Monitor. It is also very helpful to be able to read Strings, or words from the Serial Monitor. In this video we show you the ins and outs of reading Strings into the Arduino.

If you want to follow along at home, you can order the Arduino Kit we are using HERE.