Shower Thought Time!
Would it be possible to mount an ultrasonic sensor (e.g HC-SR04) on the inside of a wooden door, facing outwards like a peep hole, that would trigger a lightbulb when someone either walks past or is standing on the other side?
I have seen microwave sensors that will operate in this way but it got me thinking it could possibly be done with a cheap ultrasonic sensor.
This may be a complete oversight but can someone tell me where i would be wrong on this:
1. Ultrasonic can penetrate walls but would probably need an amplified signal to make it through a door and bounce off the opposite wall (maybe a lobby or hallway wall) and then back to the receiver?
>|--|| (> = HC-SR04, | = door, -- = signal, || = wall)
>|! || (! = object/human)
- excuse the crude drawing
2. If you put a HC-SR04 up against the door, the signal is sent out (8 cycle sonic burst) and the receiver would immediately pick up the bounced signal from the door (how it was intended) and Pulse the Echo pin? But does the signal still travel through the wall/door/kitchen cabinet?
3. Would it be possible to modify the HC-SR04 circuit so that the receiver is set to ignore the returned signal for a certain amount of time (possibly by switching the receiver off for the amount of time it would normally take receive the signal back from an object up close) and pick up the stronger signal penetrating the door and bouncing off the wall behind the door? (picture a hallway)
This distance measurement could be set as default after measuring with no obstacles behind the door and then any change in this signal would be the trigger..
Does this sound plausible? Would the signal going through the door be obscured by the door's material, would the bounced signal be affected by the angles and never get back through to the receiver? Are these Ultrasonic Transducer/Transmitter's fairly directional?
Extra Questions:
• If I do have a basic grasp of how these signals are sent out, does that mean you could point a Transmitter at a pair of driving-robot eyes and have it stop (assuming it's setup to avoid walls)?
• is the exact same pulse sent each time or is it varied slightly to avoid echoes from older transmissions?
• If the transmitting signal was amplified on a HC-SR04 would the T and R casing be penetrated as the signal is leaving (i.e leakage)?
Anyway, i thought it was interesting and would like to hear any ideas on how this could be done or why it cannot!
