Hi all!
I have a current project that uses an infrared proximity sensor to track the distance of an object in front of it and send a signal if the object crosses a set distance threshold. pretty basic.
I'm currently using the Sharp IR proximity sensor (http://www.mouser.com/ds/2/365/gp2y0a41sk_e-594157.pdf). It has a range of 4cm to 30cm, but I need the maximum range distance to be a bit longer while keeping it's minimum range distance a low 4cm.
So I found this:
http://www.mouser.com/ds/2/368/Si1153-780650.pdf
Its range is 1cm to 50cm and comes in a package similar to the Sharp sensor but has aspects to it that make me wonder if I (a Newbie) will be able to make it work.
MY MAIN CONCERNS:
-
Will this sensor perform the task I need it to like the Sharp sensor does?
-
It has an "Open Drain" output instead of a simple analog output. How do you set up the circuit or process the data from an "Open Drain" output?
-
I'm running the Sharp sensor with the Attiny85 and the Arduino IDE. Will I be able to program and control this sensor using this same method? I've attached the .ino file so you can see the level of code I'm working with.
Thanks in Advance!
RoadTestMach1.ino (555 Bytes)
iam sorry to write here...i have the same problem with inductive proximity sensor.i use proximity switch sensor LJ12A3-4-Z/BX. and after i read sensor data sheet i get an information that range for this sensor 1-4 mm and then output sensor is frequency.
i found this :
http://www.schneider-electric.com.hk/documents/energy-efficiency-cup/Inductive-proximity-sensors.pdf
MY MAIN CONCERNS:
i want to convertion the output from frequency to pressure but i confuse how to convert frequency to pressure..
can you help me for the program to convert that..
thanksin advance!
The part queried is very small and made for computer place and solder. It uses I2C rather than analogue to give the distance.
Have a look at
Weedpharma
Thanks for actually checking the Datasheets and looking into alternatives. I've done quite a bit a research into alternative sensors, and I've seen the sharp sensor you're referring to, but its minimum distance is too high. Even the 4cm of my original sharp sensor is getting close.
The range I need is about 2cm - 40cm, which the Si Labs sensor fits into nicely.
As far as the incredibly small size of the QFN package the Si Labs sensor comes in, I found a SMT/QFN/DFN -to- DIP adapter from Proto-Advantage.com
I'm just not sure how to interface using I2C or if the sensor will transmit distance data the way the Sharp sensor does.

I don't know much about I2C Comms so hopefully someone else may be ace to help.
Weedpharma