DVC-Viking-Robotics / Robot-Senses

A collection of hardware interfaces specific to sensors
0 stars 0 forks source link

Need a driver class for the Sharp GP2Y0A21YK0F IR Distance Sensor #4

Open 2bndy5 opened 4 years ago

2bndy5 commented 4 years ago

This sensor has an analog input signal going to the Raspberry Pi's GPIO pins. Since the Raspberry Pi doesn't have ADC, we need to use either an external MCU (like an Arduino) or the MCP3008 IC that will convert these analog signals into digital signals that the Raspberry Pi can understand.

2bndy5 commented 4 years ago

This guide will preview how these sensors are used in a Raspberry Pi