Using an Optical (IR) sensor with Arduino

This short tutorial introduces the Optical (infrared) distance sensor (Sharp GP2Y0A21YK0F). It is assumed you have installed the Arduino IDE and have some basic understanding of using electronics and wiring a breadboard. If you want to learn more or if anything is…

Sounds and music with Arduino

This article highlights four different ways you can make sounds with the Arduino or play music. It starts with the easiest one: (1) adding a small buzzer, then (2) a standard loudspeaker, then (3) using your smartphone as the speaker…