Although I’ve tinkered around a little bit so far with other sensors, I’m really new to anything else and so I’m not 100% sure how to set up my IR Distance sensor (part of the Electron Sensor kit).
The model is Sharp GP2Y0A710, and I’m using a Particle Electron with breadboard. The sensor has two GND wires, two VCC wires and an output wire. I assume the output goes to A0, and the GND wires go to the GNDs on both sides?
I tried to look for any libraries or documentation but I couldn’t find a clear-cut answer for this specific sensor.
My current setup:
EDIT: Above setup works once LiPo battery is added and the red VCC wires are linked to VIN instead