Pages: [1]   Go Down
Author Topic: Proximity with IR emitter and detector  (Read 1147 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Full Member
***
Karma: 0
Posts: 108
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I want to ask how can I build a IR proximity similar to this video: and also I want to calibrate it to put under a piece of glass so I can put any object on it and detect it.
I dont really know which kind of emitter and detector should I buy because there are a lot of them but I want to get a stronger one that can work with a piece of glass.

I bought these two types of IR:
https://www.adafruit.com/products/387
https://www.adafruit.com/products/157

but I am not sure that is going to work.
Logged

Cape Town South Africa
Offline Offline
Edison Member
*
Karma: 19
Posts: 1189
A newbie with loads of posts, and still so much to learn !
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Do you want to measure the actual value of reflected IR ?  or just detect it's presence if a target reflects it?
Logged

With my mobile phone I can call people and talk to them -  how smart can you get ?

Offline Offline
Full Member
***
Karma: 0
Posts: 108
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Just want to catch if there is an object that reflect the IR signal
Logged

Cape Town South Africa
Offline Offline
Edison Member
*
Karma: 19
Posts: 1189
A newbie with loads of posts, and still so much to learn !
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

rather chop the signal to the IRED at 38 Khz, and use a IR detector module to pick op the signal.

It will ignore ambient lighting etc, and you can adjust the LED current to set the miniumum detect level.
Logged

With my mobile phone I can call people and talk to them -  how smart can you get ?

Offline Offline
Full Member
***
Karma: 0
Posts: 108
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

These pieces that I have got, are good for that "experiment" ?
Logged

Dubuque, Iowa, USA
Offline Offline
Edison Member
*
Karma: 33
Posts: 2280
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

http://www.arcfn.com/2010/03/detecting-ir-beam-break-with-arduino-ir.html

Be careful and note that your IR receiver is not designed to output a continuous signal; see page 5 of the IR receiver's datasheet and it will show that when it detects a continuous beam it will only show a signal for about .0013 seconds.  You need to turn off/on your IR beam intermittently to keep testing for an object.
Logged

Cape Town South Africa
Offline Offline
Edison Member
*
Karma: 19
Posts: 1189
A newbie with loads of posts, and still so much to learn !
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Heres an experiment I did with chopping the 38 Khz from the Arduino, I was using it to send data.

http://arduino.cc/forum/index.php/topic,128825.0.html
Logged

With my mobile phone I can call people and talk to them -  how smart can you get ?

Offline Offline
Full Member
***
Karma: 0
Posts: 108
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I might to know the analog value to get if the signal is far away or close to the receiver, in that way I should be able to calibrate with a piece of glass or I am wrong?
Logged

Cape Town South Africa
Offline Offline
Edison Member
*
Karma: 19
Posts: 1189
A newbie with loads of posts, and still so much to learn !
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

the only way you can measure signal strength with an IR module, is to see at what range ( or strength of LED pulses ) it fails to output anything.

Are you going to detect the same target each time ?, as different materials have different reflection...
Logged

With my mobile phone I can call people and talk to them -  how smart can you get ?

Offline Offline
Full Member
***
Karma: 0
Posts: 108
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Well, the project will be something like that: but instead of the piece of plastic, there will be a piece of glass.
On the top of this glass I want to put a cup, business card, plate, etc... and the IR should detects it!
Logged

Pages: [1]   Go Up
Jump to: