You can safely say that when it comes to electronics, there are countless ways to measure distances. This tutorial will explain how to build an inexpensive IR distance sensor under $8, perfect for close measurements and motion detectors.
- Step 0: The theory
- Step 1: The circuit
- Step 2: The calibration
- Step 3: The reading
- Further projects…
You will need:
You can download the final Arduino code here.
This post is part of a longer series of tutorial about alternative games controllers.
If you are going to create an alternative game controller yourself, you should definitely look into ALT.CTRL.GDC. It’s one of the most fresh and intriguing exhibitions at GDC, and is all dedicated to innovative ways to interact with games.