First Steps with the Arduino-UNO | Maker, MakerED, Coding | Playing Music

Authors

ARDUINO-XMAS-SONGS-MUSIC..


Playing Music 

I was looking for a quick project with the Arduino which could get realized in less than half an hour and with the components from my Arduino Starter-Kit. I found this one for Christmas Music playing <===> Christmas songs with an Arduino Uno and a piezo buzzer <===> which I tried out as actually it was Christmas time. It was very easy to follow on the How-To… Please check the video below, where you can see and hear it in action.

.

.

There is not much to say about it as it is very well described in the tutorial. Check below please:

And as you know me, when creating a blog post, I give a bit more information about the theory and useful knowledge… Digging into it to understand about what it is 😉

Play Melody

programmerman-animatedThis example makes use of a Piezo Speaker in order to play melodies. We are taking advantage of the processors capability to produde PWM (Pulse Width Modulation) signals in order to play music.

A Piezo is nothing but an electronic device that can both be used to play tones and to detect tones. In our example we are plugging the Piezo on the pin number 9, that supports the functionality of writing a PWM signal to it, and not just a plain HIGH or LOW value.

The first example of the code will just send a square wave to the piezo, while the second one will make use of the PWM functionality to control the volume through changing the Pulse Width.

Learn more:

How to convert sheet music into an Arduino Sketch…

You might be interested also on the How-To to convert sheet music into an Arduino Sketch. please follow the link below:

Learn more:

.


.

GUST-AVRIL2014-800px-2L’auteur Gust MEES est Formateur andragogique / pédagogique TIC, membre du “Comité Conseil” de “Luxembourg Safer Internet” (LuSI), appelé maintenant BEESECURE, partenaire officiel (consultant) du Ministère de l’éducation au Luxembourg du projet  ”MySecureIT“, partenaire officiel du Ministère du Commerce au Luxembourg du projet ”CASES” (Cyberworld Awareness and Security Enhancement Structure). L’auteur était aussi gagnant d’un concours en électronique en 1979 ( Pays germaniques ) et voyait son projet publié dans le magazine électronique “ELO”.


The author Gust MEES is ICT Course Instructor, ”Member of the Advisory Board” from “Luxembourg Safer Internet” (LuSI), BEESECURE, Official Partner (Consultant) from the Ministry of Education in Luxembourg, project “MySecureIT“, Official Partner from the Ministry of Commerce in Luxembourg, project “CASES” (Cyberworld Awareness and Security Enhancement Structure).

The author was also a winner of an electronics contest (Germanic countries) in 1979 and got his project published in the “Electronics Magazine ELO”).

.

Stay tuned for next blog post(s) 😉..
.

Keywords necessary for me to create this blog post: Arduino Starterkit, Piezo Buzzer, Music, tones function, Coding, Xmas tones, converting tones into coding,

.

.

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.