CSCI 255 — Going analog with an Arduino

The digital world

In a recent lab you learned about the digital side of the Arduino by using pinMode(), digitalRead() and digitalWrite().

The basic ideas

Trying it out

Try out some of these Arduino tutorials to learn a bit more.

Making Music

You can try the Tone Melody tutorial. It’s fun and we’ll try a bit-banging version later in the semester.

You can also make a “instrument” following the Tone Pitch Follower tutorial. I suggest you use a pot rather than an LDR. Using map and log make the instrument a bit easier to control.