This is your first step towards these kinds of skills. The boom box is a small sample player you can use to make music, or just random sound. It comes with three prerecorded samples but we probably don’t have the same creative cleverness when it comes to recording as you do so you should definitely record your own samples too!
Category Archives: Block 3
Magic
To make your electronic projects even more interesting, in this block you will learn about the magic of analog signals and the serial port. By the end of this block you will know that there is actually nothing magic about these technologies themselves. What is magic is what you create with it. Among other projects, in this block you will find a cookie guarding monster, a music playing pencil and a knocking skeleton in a coffin.
Reading analog signals
As you have learned previously, digital signals only have two opposite states: 1 or 0. For example, if you push a button, its state changes from one to the other; an LED is either on or off.
Continue reading
Writing analog signals
Just as you can read analog signals, you can also write analog signals. Arduino uses Pulse Width Modulation (or PWM) pins to write analog signals. Check out the digital pins with a tilde symbol (~) next to them.
LDR
Continue reading
Serial port
Continue reading
Sending to computer
Serial.begin()
and Serial.println() or
Serial.print()
.Continue reading
Receiving from computer
Serial.available()
and Serial.read()
.
Cookie monster
We found out someone is eating the cookies from the jar in the kitchen! We thought about it and came to the conclusion that the best thing to do would be to prepare a trap to find out who was eating them. Let us build something that will take a picture of whoever opens the cookie jar. No cookie monsters were hurt in the making of this experiment.
Drawdio
Draw audio with drawdio. You might think that this pen is magic, and it might just be. Drawdio turns (almost) everything that is conductive into an instrument. You can either make music by drawing a picture or by touching the tip of it to different conductive things around you. See some examples of ways to use it in this video.
Knock Knock Box
Knock on this coffin to awake the dead. Do not worry, the skeleton will not get out and come after you but it will reply from inside.
Ok, we know that you know that there is not a real skeleton there. It is really a piezo used as a knock sensor. After you have made this project you might think of a handy way to use this sensor in other ways. Check out this secret knock detecting lock for some inspiration.
POV
With POV, Persistence Of Vision, you can take a bike wheel and make it into a display with just a few LEDs. Check out this video to see what we mean.
In this project, you will make one of these displays yourself. Wave it with long strokes or even hold it while running to display a text, a statement or a picture. The effect is most visible in a dark place so if you are running, make sure not to run in to a tree or a friend.
Sequencer
Binary LP
This sort of works as an LP player. The difference is that instead of using a needle on a plastic disc, you use three IR sensors in a row to read a pattern from a paper disc. If you are both musically and digitally inclined, you will have lots of fun creating melodies with this.