Forum Discussion
Altera_Forum
Honored Contributor
9 years agoimplementing distance sensor in my code
Hello all, I really need your help, i'm kind of in the dark here i want to implement 'Sharp's' Distance sensor {DataSheet attached} in my project and i honestly don't know where to begin co...
Altera_Forum
Honored Contributor
9 years ago --- Quote Start --- Hi Alex, just ordered the digital version of the sensor, what's next ? :) how can i get indication of how distant is the object? --- Quote End --- The digital version has only a single on/off output which switches at 24% of the 80 cm, see page 4 of the .pdf: https://media.digikey.com/pdf/data%20sheets/sharp%20pdfs/gp2y0d21yk.pdf