Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Use FRC Ultrasonic sensor with C++ on Raspberry Pi (http://www.chiefdelphi.com/forums/showthread.php?t=152985)

viggy96 05-01-2017 10:24

Use FRC Ultrasonic sensor with C++ on Raspberry Pi
 
Hey, I'm making a OpenCV vision programme for a Raspberry Pi that will do traditional tracking of targets as well as identify the colour of flat areas of the floor to possibly do some basic path finding. Does anyone know if I can use an FRC ultrasonic sensor on the Raspberry Pi GPIO, and access it with some kind of C++ library?

solomondg 05-01-2017 13:11

Re: Use FRC Ultrasonic sensor with C++ on Raspberry Pi
 
Should work. It just returns a voltage. You'll have to use an analog to digital converter, though. https://learn.adafruit.com/reading-a...ry-pi?view=all


All times are GMT -5. The time now is 22:59.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi