Cny70

Hi everybody,

I bought five cny70 ir sensors to detect black and white lines. I've followed this (Sensor CNY70 + arduino | Electronic Piece) tutorial without Results: the sensor always reads High (or 1023 when connected to an analog pin).

Has someone a better tutorial? I didn't found anything on the internet...

Thanks a lot!

Jymmy097

Up, anyone?

maybe this thread helps? - Library for measuring distance using unexpensive IR reflective sensors (As CNY7) - Sensors - Arduino Forum -

robtillaart:
maybe this thread helps? - Library for measuring distance using unexpensive IR reflective sensors (As CNY7) - Sensors - Arduino Forum -

**THANKS A LOT!!!! IT WORKS PERFECTLY!!**That's just what I need!! XD XD XD XD XD XD XD XD XD XD XD XD XD XD XD XD XD XD XD XD XD XD XD

Jymmy097