Hannover, Germany
Offline
Jr. Member
Karma: 0
Posts: 52
|
 |
« on: December 05, 2012, 12:42:13 pm » |
Hi *, for a christmas project I need some advice. (OK - christmas 2013 - it's too late for this year  ) 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
|
|
|
|
|
Queens, New York
Offline
Edison Member
Karma: 31
Posts: 1733
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
|
 |
« Reply #1 on: December 05, 2012, 12:49:24 pm » |
You can try setting up a beam, and a detector, IR might work too. If the beam is cut, it triggers your lights.
|
|
|
|
|
Logged
|
UNO, MEGA, NANO, 4x4 keypad, micro servos, RF transceivers, bluetooth, ultrasonic sensor, 20x4 I2C LCD, 3.2 TFT touch screen, L298N Dual motor driver, Voice Recognition 15W
"If your doing nothing, it does not mean your lazy, it just means your open for anything that suits you" - Unknown
|
|
|
|
Topsham, Vermont USA
Offline
Edison Member
Karma: 16
Posts: 1470
... in The Woods In Vermont
|
 |
« Reply #2 on: December 05, 2012, 01:01:24 pm » |
Hi, 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/QHV3qDISCLAIMER: Mentioned stuff from my own shop...
|
|
|
|
|
Logged
|
|
|
|
|
Manchester (England England)
Offline
Brattain Member
Karma: 299
Posts: 26030
Solder is electric glue
|
 |
« Reply #3 on: December 05, 2012, 01:14:22 pm » |
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
Edison Member
Karma: 91
Posts: 2238
|
 |
« Reply #4 on: December 05, 2012, 01:53:02 pm » |
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
|
Something different - Kitchen-Sink Arduino-compatible boards
|
|
|
|
UK
Offline
Tesla Member
Karma: 100
Posts: 6784
-
|
 |
« Reply #5 on: December 05, 2012, 02:55:18 pm » |
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
|
|
|
|
|
Hannover, Germany
Offline
Jr. Member
Karma: 0
Posts: 52
|
 |
« Reply #6 on: December 05, 2012, 03:13:19 pm » |
Hi *, OK - for clarification (sorry, it seems that my english got a little bit rusty  ) I have attached an image of our typical office door (hope it works from my tablet  ) 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
|
|
|
|
« Last Edit: December 05, 2012, 03:18:11 pm by danimath »
|
Logged
|
|
|
|
|
Queens, New York
Offline
Edison Member
Karma: 31
Posts: 1733
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
|
 |
« Reply #7 on: December 05, 2012, 03:17:56 pm » |
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
|
UNO, MEGA, NANO, 4x4 keypad, micro servos, RF transceivers, bluetooth, ultrasonic sensor, 20x4 I2C LCD, 3.2 TFT touch screen, L298N Dual motor driver, Voice Recognition 15W
"If your doing nothing, it does not mean your lazy, it just means your open for anything that suits you" - Unknown
|
|
|
|
the land of sun+snow
Offline
Edison Member
Karma: 91
Posts: 2238
|
 |
« Reply #8 on: December 05, 2012, 04:10:45 pm » |
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
|
Something different - Kitchen-Sink Arduino-compatible boards
|
|
|
|
Manchester (England England)
Offline
Brattain Member
Karma: 299
Posts: 26030
Solder is electric glue
|
 |
« Reply #9 on: December 05, 2012, 04:42:55 pm » |
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
Newbie
Karma: 0
Posts: 22
|
 |
« Reply #10 on: December 05, 2012, 09:22:38 pm » |
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 
|
|
|
|
|
Logged
|
|
|
|
|
Hannover, Germany
Offline
Jr. Member
Karma: 0
Posts: 52
|
 |
« Reply #11 on: December 09, 2012, 07:16:56 am » |
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  ). best regards and merry christmas Andreas
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Edison Member
Karma: 24
Posts: 1477
Now, More Than Ever
|
 |
« Reply #12 on: December 09, 2012, 10:38:41 am » |
|
|
|
|
|
Logged
|
Don't React -- Read!
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 33
|
 |
« Reply #13 on: December 09, 2012, 10:46:10 am » |
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
|
|
|
|
|
|