Page 1 of 1

Infrared distance sensor GP2D12

Posted: Mon Oct 07, 2013 7:27 pm
by Vale
Hey guys,

I't pretty new to electrotechnics, but with some experience in software-development. I'm wondering if it would be possible to support the barometric altimeter (for rough measurement) with an more precise infrared distance meter such as the Sharp GPD12. It has a weight of about 4,4 gram, which should be okay for the craziefly?
http://www.sharpsma.com/webfm_send/1203
Does it work with the voltage etc. devlivered by the crazyflie?

Re: Infrared distance sensor GP2D12

Posted: Fri Oct 11, 2013 3:33 pm
by Mohero
The Sharp InfraRed sensor I don't think will work, it gives an analog output, and the CrazyFlie IIRC doesn't have this - it does have I2C, though. The other down-side with the Infrared sensor is that it's limited to 80CM. which isn't very far. I'm using them on some robotics as a work tutorial project on coding autonomous systems, but we're having to use Sonar for a longer range, too.

Re: Infrared distance sensor GP2D12

Posted: Mon Oct 14, 2013 5:30 pm
by tobias
The Crazyflie has some ADC on the expansion interface but you will be offering the SPI pins, but as Mohero says the sensor might be a bit limiting

Re: Infrared distance sensor GP2D12

Posted: Sun Oct 20, 2013 4:14 am
by absoloodle37
Here's a sonar ranging detector that's 9 grams. Might meet your requirements:

http://www.amazon.com/Water-proof-Dista ... g+detector

Re: Infrared distance sensor GP2D12

Posted: Wed Oct 23, 2013 4:10 am
by absoloodle37
Definitely need to check out this guy's post. He successfully installed an infrared sensor on his CF and has a video of it working. Helpful instructions.

http://cfusting.wordpress.com/2013/07/2 ... tric-data/

Re: Infrared distance sensor GP2D12

Posted: Wed Oct 23, 2013 2:29 pm
by derf
@absoloodle37
Sorry to correct you, but he is actually using a sonar sensor (LV-MaxSonar-EZ0 ultrasonic proximity sensor) that weighs 4.3grams, according to the datasheet.