Cookbook / Connect a Distance Sensor

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.

Steps

1 - 2 - 3 next
Print