Pages: [1]   Go Down
Author Topic: How to detect people/motion through glas  (Read 675 times)
0 Members and 1 Guest are viewing this topic.
Hannover, Germany
Offline Offline
Jr. Member
**
Karma: 0
Posts: 52
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi *,

for a christmas project I need some advice. (OK - christmas 2013 - it's too late for this year  smiley-roll) Some background: in our office we have small windows next to the doors, as high as the door and 25 cm wide. I want to create some blinking stuff, which shall start, when someone passes. An ultrasonic sensor (srf04 or so) will not work, but what's about an IR sensor? Does it work through glass?

best regards
Andreas
Logged

http://danimathblog.blogspot.com

#define true '/'/'/'
#define false '-'-'-'

Queens, New York
Offline Offline
Faraday Member
**
Karma: 65
Posts: 2925
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You can try setting up a beam, and a detector, IR might work too. If the beam is cut, it triggers your lights.
Logged

Created Libraries:
NPV2 (NewPasswordV2),  TFT_Extension, OneWireKeypad, SerialServo.
Will provide libraries if asked in PM or forum.

Topsham, Vermont USA
Offline Offline
Edison Member
*
Karma: 23
Posts: 1753
... in The Woods In Vermont
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,
Quote
which shall start, when someone passes.

Do you means passes through the door by the window?  Or passes by in some hallway?

How "tight" is the construction? Hung ceilings? Maybe get over the top of the window to the other side?

Or if there is any power on the opposite side, this MIGHT work through the glass, being higher power modulated IR:
http://goo.gl/QHV3q


DISCLAIMER: Mentioned stuff from my own shop...
Logged

Regards, Terry King terry@yourduino.com  - Check great prices, devices and Arduino-related boards at http://YourDuino.com
HOW-TO: http://ArduinoInfo.Info

Manchester (England England)
Online Online
Brattain Member
*****
Karma: 508
Posts: 31361
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

IR generally will not pass through glass but the near IR you use in remotes has some sort of penetration. You will need a reflector on the other side of the corridor to bounce the IR off.
It needs to be modulated but most of the IR receiver chips are meant for data not this sort of light barrier stuff.
However, the only one that I know of that is is the TSOP4038.
Logged

the land of sun+snow
Offline Offline
Faraday Member
**
Karma: 149
Posts: 2790
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Since it's in the office and the ambient lighting will be fairly constant, I might try a simple CdS
cell [photoresistor] pickup on the Arduino ADC. The pickup will go dim, or at least probably change
quite a bit, when someone passes. You could test this in 10-minutes, have for Xmas-2012.

Something like this would probably work outside too if you rejected slow background lighting changes
and triggered only on quick changes. By gauging the rate-of-change, you could probably respond to
movements only in a certain range of velocities, ie normal walking speed.
 
Logged

UK
Offline Offline
Shannon Member
****
Karma: 183
Posts: 11148
-
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

start, when someone passes.

Could you explain what you mean by that? If you mean walks through the doorway, I guess you need some sort of beam-breaking system. But if you just mean walks past the window, a webcam with motion detection would achieve that using existing freely available software.
Logged

I only provide help via the forum - please do not contact me for private consultancy.

Hannover, Germany
Offline Offline
Jr. Member
**
Karma: 0
Posts: 52
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi *,

OK - for clarification (sorry, it seems that my english got a little bit rusty smiley-kiss)

I have attached an image of our typical office door (hope it works from my tablet  smiley) You can see the hallway through the window. I will put the device (perhaps a sort of star or snowflake with 24 LEDs or so) onto the inside of the window. If a colleague walks down the hallway the LEDs shall start blinking (this is the easy part, I've prepared such a thing with shiftregisters). But alas I cannot install anything on the other side of the hallway (that would lead to trouble with the boss :-().

I've thought about a camera, but it seems a little overkill for this little project.

thanks to all and best regards
Andreas


* IMG_20121205_205740.jpg (16.47 KB, 369x257 - viewed 14 times.)
« Last Edit: December 05, 2012, 03:18:11 pm by danimath » Logged

http://danimathblog.blogspot.com

#define true '/'/'/'
#define false '-'-'-'

Queens, New York
Offline Offline
Faraday Member
**
Karma: 65
Posts: 2925
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If all they are doing is walking past the door, then a beam cutting system will work or you can even put a IR/Ultrasonic distance sensor outside the door, and trigger the lights that way.

However if you want everything inside behind the glass then you may just want a Beam cutting system.
Logged

Created Libraries:
NPV2 (NewPasswordV2),  TFT_Extension, OneWireKeypad, SerialServo.
Will provide libraries if asked in PM or forum.

the land of sun+snow
Offline Offline
Faraday Member
**
Karma: 149
Posts: 2790
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Due to the illumination in that hallway, I'll bet every time someone walks down the
hall you perceive a definite dimming in your peripheral vision.

CdS cell inside side of glass [encased in a small shield to prevent pickup from inside
the office], 10-minutes work, Voila!
« Last Edit: December 05, 2012, 04:54:23 pm by oric_dan(333) » Logged

Manchester (England England)
Online Online
Brattain Member
*****
Karma: 508
Posts: 31361
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

If the only time this display is on is when people can see it then why turn it off at all?
Just a philosophical point.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 22
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

what if you use Passive Infra Red sensor and attach it to the ceiling? No.

I've had this issue before for a client work, I ended up using Kinect because it's IR is strong enough to see through a 2cm thick glass. You may wanna try it too smiley
Logged

Hannover, Germany
Offline Offline
Jr. Member
**
Karma: 0
Posts: 52
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Many thanks for all your replies! I think I will try a PIR or a photoresistor. Because I have tons of other things to do before christmas I move this project to the next year. Perhaps a rabbit with red glowing eyes for easter (in Germany the "easter rabbit" hides chocolate for the children on easter morning  smiley).

best regards and merry christmas
Andreas
Logged

http://danimathblog.blogspot.com

#define true '/'/'/'
#define false '-'-'-'

Offline Offline
Edison Member
*
Karma: 56
Posts: 2183
Now, More Than Ever
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I don't know how well it works through glass, but I can tell you that it works through walls and doors
http://www.parallax.com/Store/Sensors/ObjectDetection/tabid/176/CategoryID/51/List/0/SortField/0/catpageindex/2/Level/a/ProductID/606/Default.aspx

Logged

"Hello, I must be going..."
"You gotta fight -- for your right -- to party!"
Don't react - Read.
"Who is like unto the beast? who is able to make war with him?"

Offline Offline
Newbie
*
Karma: 0
Posts: 45
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I would try parallax's PIR (passive infrared) sensor. It has a fairly large range so it may see a fair distance through the glass and it's cheap ($10).
Logged

Pages: [1]   Go Up
Jump to: