Sharp 2Y0A21 Distance Sensor (20-80cm)

I put up a wiki page for this sensor: (link removed)

Iv’e also updated my sensor library to include a driver for it. The other sensors also got serious maths upgrades which increase their accuracy considerably. The sample project now outputs to a LCD screen (compatible with the KeypadLCD and LCD shields.)

Thanks mark for the work on this. I am sure it will help many people.

I sure hope so, i’ve sunk probably 40hrs into the 3 of these sensors lol. I see why Sharp discontinued them.

I can tell you for sure i will be using them. So you can know you helped at least one person :wink: