May 20, 2013 AT 4:00 am

Infrared Distance Sensor As MIDI Controller

Using an Infrared Distance Sensor as MIDI Controller from little-scale:

This is a simple example of using an infrared distance sensor as a MIDI controller. The hardware setup is simple – analog out to analog input on the Teensy, ground to ground and 5V to 5V.

Source code and photos here!


Featured Adafruit Products

sharpdist_MED

IR distance sensor includes cable (10cm-80cm) – GP2Y0A21YK0F – This SHARP distance sensor bounces IR off objects to determine how far away they are. It returns an analog voltage that can be used to determine how close the nearest object is. Comes with 12″ long 3-JST interface wire. These sensors are good for short-range detection. For over 1 m distance, we suggest using sonar sensors. (read more)


“D is for Diode” – Circuit Playground Episode 4 is out now! CLICK HERE TO WATCH!

Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground”Adafruit’s Apps!



No Comments

No comments yet.

Sorry, the comment form is closed at this time.