By reading this recipe, you'll understand how to connect a distance sensor to your I/O module. We use an infrared proximity sensor made by Sharp (GP2Y0A21YK). The has an analog output that varies from 3.1V at 10cm to 0.4V at 80cm.
Cookbook
RSS Feeds
Related Links