PDA

View Full Version : Sharp Ir Sensor


Kavaipatti
06-30-04, 04:36 PM
Hi All,

I am using three Infrared Sensors (Two Sharp 2Y0A02 23 and one Sharp GP2D120 38) with PlugaPod.

Do you have the code for converting the output values from the sensors to Range?

Thanks,
Kavaipatti

Dave
07-02-04, 10:20 AM
The code that could be adapted to those sensors is at
http://www.newmicros.com/isopod/appnotes/GP2D12.txt
from our download page at
http://www.newmicros.com/store/product_details/download.html
The GP2D12 has a similar output to the to the sensors you mention, just over a different range.

Kavaipatti
07-09-04, 04:05 PM
Hi,

Thanks for your code. I am getting output from the Sensors

Test (Word used in GP2D12 Code) for IR Sensor is similar to Z (Word used in SRF04 Code) in Ultrasonic Ranger.

I would like to have a word for IR sensor that is similar to Range in Ultrasonic Ranger Code.

Thanks,
Kavaipatti