have wired the sensor to the arduino by connecting the pin 1 of the sensor to the 3.3 V on the arduino
I would also like to know how to map these valuese to 0 and 1, is'nt this a proximity sensor which only gives a value of 1 and 0?
I have wired the sensor to the arduino by connecting the pin 1 of the sensor to the 3.3 V on the arduino, pin 2,4 and 5 of the sensor to the ground of the arduino with the neccesary componnets (capacitator and resistor), and pin 3 to the analog input pin of the arduino. Is this correct?
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16