View Full Version : sharp gp2d12 analog ir sensor

06-05-2005, 08:12 AM
I was wondering if anyone had any code I could test with my new sharp gp2d12? I'd like to figure out a way to calc cm's with it. This would of course be used to trigger a sub routine.. Thank you _Duane

06-05-2005, 09:33 AM
Jon Williams has a good article on this in nuts and volts articles from the download section. nv114.


06-05-2005, 10:57 AM
do you know the name of the article?

06-05-2005, 11:17 AM
go to http://www.parallax.com/ and click downloads then nuts and volts columns, you'll see nv114 in one of the collections. the code is downloaded separate from the article. good stuff the nuts and volts columns.

have fun

Tracy Allen
06-05-2005, 11:31 PM
Another resource, here at Jonathan's url...
madlabs.info/gp2d12/sharp_gp2d12.shtml (http://madlabs.info/gp2d12/sharp_gp2d12.shtml)

Tracy Allen
www.emesystems.com (http://www.emesystems.com)

06-06-2005, 12:05 AM
Thanks alot for the info... I found the nuts and bolts articles very helpfull. After reading them, and a littel goofing around I got it to work just fine. Like amny things it is a lot easyer than it seemed.. Thanks again _Duane