Gr4ff
Posts: 1
Joined: Fri Mar 01, 2019 9:40 am

Connect a GP2Y1010AU0F with a Raspberry Pi3

Fri Mar 01, 2019 10:03 am

Hello,

I try to connect a sharp optical dust sensor GP2Y1010AU0F with my Raspberry Pi3.
I make some test but i recive impossible results. :(
I find some documentions but that's all time for connect with an arduino :
http://arduinodev.woofex.net/2012/12/01 ... st-sensor/

pcmanbob
Posts: 5970
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: Connect a GP2Y1010AU0F with a Raspberry Pi3

Fri Mar 01, 2019 2:13 pm

Hi.

Looking at the link provided the sensor in question has an analogue output, the pi has no analogue inputs unlike the arduino, so you can't connect the sensor directly to the pi without an analogue to digital converter.

I suggest you research MCP3008 on the pi for details on how to add one.
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported

Return to “Device Tree”