Electronic Circuits and Projects Forum



Occupancy sensor

  1. #1
    xyz9915 xyz9915 is offline

    Occupancy sensor

    Hello there,

    The attached circuit is a motion detector which uses monostable multivibrator (e.g. CD4535) to trigger the relay for a predefined time if motion detected when someone entering or leaving a room.

    I want to modify the circuit, when a person enter in the room a bulb turns on and remain in on state until the person leave the room. Do I simply put a latch circuit built around CD4013 and replace with monostable, so when a pulse received to the latch circuit it toggles the bulbs?

    Your suggestion/help need to how I modify this circuit to fulfill my requirement.
    Attached Files

  2. #2
    Reloadron Reloadron is offline
    Yes, a 4013 would work. Configure as a /2 where first pulse toggles it on and second pulse toggles it off.

    Ron
    0
    Please do not PM me with forum related questions. Let's keep things in the open forum. Thank you.

  3. Thread Starter #3
    xyz9915 xyz9915 is offline
    Quote Originally Posted by Reloadron View Post
    Yes, a 4013 would work. Configure as a /2 where first pulse toggles it on and second pulse toggles it off.

    Ron

    Dear Ron, there is another problem. The sensor must distinguish between a person entering and a person leaving, otherwise when the first person walks into the room the light will switch on, but when a second person walks in, the light will toggle again which result light will turn off, which not desired. So, do you have any idea to fix this problem?
    0

  4. #4
    Reloadron Reloadron is offline
    This is a homework assignment on the old people counter problem. I suggest you look at the attached and work from there. Everything you need to know and understand is in the attached.

    Ron
    Attached Images
    0
    Please do not PM me with forum related questions. Let's keep things in the open forum. Thank you.

  5. Thread Starter #5
    xyz9915 xyz9915 is offline
    Quote Originally Posted by Reloadron View Post
    This is a homework assignment on the old people counter problem. I suggest you look at the attached and work from there. Everything you need to know and understand is in the attached.

    Ron

    Ron, first I pay thanks to you for the help.

    This technique is useful when there are two passages for in and out. In this situation only one door to enter in the room, so, If i replace photodiode with occupancy sensor, being a wide coverage area, both of them trigger simultaneously, which is not required so please help me if you have another idea.
    0

  6. #6
    Reloadron Reloadron is offline
    If you look close at the circuit I posted and make sure the sensors are spaced about a 6 inches apart then both sensors do not trigger at the same time. Look at the logic. If a person enters the room one triggers before the other and if a person exits, the other sensor triggers first. So while yes, both will trigger, one will always trigger before the other. This allows a counter for example to count up (person enters) or count down (person leaves). Think about it.

    Ron
    0
    Please do not PM me with forum related questions. Let's keep things in the open forum. Thank you.

  7. Thread Starter #7
    xyz9915 xyz9915 is offline
    Quote Originally Posted by Reloadron View Post
    If you look close at the circuit I posted and make sure the sensors are spaced about a 6 inches apart then both sensors do not trigger at the same time. Look at the logic. If a person enters the room one triggers before the other and if a person exits, the other sensor triggers first. So while yes, both will trigger, one will always trigger before the other. This allows a counter for example to count up (person enters) or count down (person leaves). Think about it.

    Ron

    Ron, I think you will agree with me that to make project simple and reliable, putting a shutter placed in front of occupancy sensor will fix the problem. Because the shutter will open for every 1 minute and then closed, so it will detect presence or absence of someone and the circuit will trigger accordingly. Please give your expert opinion.
    0

  8. #8
    Externet Externet is offline
    If I remember well, the passive infrared motion sensor has compartmentalized lenses and samples the images every second or so, triggering when the previous image does not compare with the last.
    The solution would be to have a sensor with say 8x8 pixels, and memory in the circuitry. a few bits (32, 64...one for each compartment lens) At first turn-on, or when put in "learn mode", the circuit would save the 'image' of the vacant room and keep it permanently in non-volatile memory.
    Switching into operation mode, the memorized image pattern would be compared to every sampling, triggering only when there is a difference. That would take care of non moving occupants.
    0
    Abolish the deciBel !

  9. Thread Starter #9
    xyz9915 xyz9915 is offline
    Dear Externet, your idea is considerable but this will obviously make the circuit much complicated. Instead if I put the motion sensor in a motor so that the motion sensor will see the non-moving person in movement each time unless it find the room empty and will trigger accordingly.

    Furthermore, i do not think that a PIR sensor has memory, instead it has two compartments which compares movement and delivers output.
    0
    Last edited by xyz9915; 4th May 2012 at 04:11 PM.

Tags
Similar Threads
Thread Starter Forum Replies Last Post
Looking for Occupancy sensor ideas aos Electronic Projects Design/Ideas/Reviews 2 4th April 2008, 11:43 AM
Location sensor? ahkumm Electronic Projects Design/Ideas/Reviews 6 6th May 2004, 11:22 AM
Building a vibration sensor mmilbury Electronic Projects Design/Ideas/Reviews 3 24th October 2003, 12:34 PM
Audio for a motion sensor Poncho Electronic Projects Design/Ideas/Reviews 3 14th December 2002, 04:11 PM
Distance Sensor THE_E_MAN Electronic Projects Design/Ideas/Reviews 11 17th October 2002, 11:30 AM
Electronic Circuits  |  Learning Electronics

Join our community with over 100,000 Members! It's free, easy and when you're logged in you have many more features! Click to register.
Page Time: 0.06621 seconds      Memory: 7,604 KB      Queries: 17      Templates: 0