Quote:
Originally Posted by Steve_Alaniz
You can indeed use that sensor... but let me also suggest
http://www.maxbotix.com/uploads/LV-M...-Datasheet.pdf
I've ordered one of these to test but it appears the analog output can be applied directly to an analog input. No interrupt routine. At least that's how I read the Datasheet. I'll verify this in a day or two.
Best wishes
Steve
|
INDEED!!!
This is the exact model in which we used last year. I clicked on your link and was SO surprised to see a picture of what we used staring at me.
Indeed, you simply need to apply power, ground, and you can use the AN pin directly to the analog input on the RC. Simply get the analog input in your program, and you have a number (0-255 I believe, but I think its more like 12-220 or something.)
Ironically, I just tested ours out last night (we have 2 currently, perhaps we will be ordering more.
Jacob