Simple PIR Motion Trigger

Low Part Count Motion Trigger

Their are several ways you could make this same device for many different uses. Other options for what gets triggered and how it reacts could be accomplished by adding in a micro controller to better control timing or have a more elaborate routine run.

This is a very simple way to use motion to active a prop, or switch a light. The final design I used has 2 relay outputs, one of which is connected to 2 plugs and 110 volts and the other has 3 wires that act as a dry contact switch, one set opens as the other set closes.  This could be used to trigger a separate show controller, prop, audio player or video player.

Parts Used:
Plastic Enclosure
PIR Motion sensor
dual relay module
110 volt to 5 volt power supply
2 extension cords
2 pair phone wire
Crimp connectors and glue

Enclosure: I chose a case that I had on my shelf it was large enough to fit everything inside and was non-conductive. Any case will work as long as it is large enough to fit all the parts inside. I would recommend non metallic to minimize the risk of shorting out any of the components inside.

The only modification that are needed for the case is to drill a hole large enough to fit the dome on the sensor though, and to drill holes to allow the cables to exit out of the case. I drilled 4 holes in the bottom to allow power in, 2 power cords out and the 4 conductor cable out.

Motion sensor and relay: To keep this trigger as simple as possible I decided not to include a micro controller in the design and went with just 2 main parts, the PIR sensor and a dual relay module. This keeps the part count low and makes the wiring simple. The motion sensor has 3 wires +5 volts, output and ground. The relay board has 4 wires +5 volts, 2 input wires and a ground, This particular relay board is activated by pulling the input pins low, while the motion sensor I used goes high when it is triggered and is low when in a waiting state. This means my relays are active when the trigger is not triggered and deactivate when its triggered. This is not a problem since the relays have both the NO and NC pins.

Their are only a few connections to be made you will want to take both pins for 5 volts and tie them together and do the same for the 2 ground pins. The other connection you will make is to take the output pin of the motion sensor and connect it to both of the input pins for the relay board. The power for this will be explained in the next step.

High voltage wiring and power supply: If you have never worked with line voltage before be sure to get someone who has to help you.

Main power: To keep my wiring simple the 110 volt plug for this box will provide the power to the plugs that get switched by the relay and to the small power supply that will give 5 volts to the sensor and relays. To start I crimped on 2 short wires rated for 110 volts to the end of the power cord I used. This makes wiring everything  just a little easier as it give me one side for constant power and one for the switched power. Both the plug and outlets that I used for this project were 12 foot 2 wire extension cords. I simple cut off the plug and was able to use both. I decided to take advantage of the fact that the relay had connectors for both open and closed contacts and wired this so that it would power one outlet or the other, and when activated would switch. To wire this side I took all my neutral wires and crimped them together. The hot wire from the plug will go to the central pin on the relay while the hot wire from each outlet is connected to the NO and NC sides of the relay terminal. Use caution and common sense with this since high voltage can be very dangerous. Once everything is crimped I made sure there were no shorts, loose wires, or exposed wires and moved on to installing the power supply. 

Power Supply: I got a small 5 volt power supply to use for this project, they can be ordered online for a few dollars you could also choose to use an external power adapted if you have one around. This will only power the sensor and relay boards, The board has 2 sides one for high voltage in and one for low voltage out. I crimped the input side to the remaining 2 wires from the last step on my plug. Make sure to check with a multi-meter to make sure your voltage and polarity are correct. The +5 volt wire will get connected to the set of wires for the positive from the relay and sensor, while the negative will get connected to their negative connection. Once this is done the unit should power up and be ready for testing.

Dry contacts: To make this trigger as useful as possible I used the second relay on the board to act as an external trigger. I used a 4 conductor wire, using the red and black wire as a common and the green and white for the NO and NC connection. This can be used for just about anything, You can use it as a simple dry contact closure for animated props or triggering a micro controller to do more elaborate routines. You could also use to trigger a video player or audio player to add to your scene.

I did a power on test to make sure everything was connected correctly and then closed up the case using 4 screws and making sure not to pinch any wires with the lid.

I did a few quick tests to make sure that this box would work as expected, The timer and sensitivity can both be adjusted to meet your needs.

togel deposit dana klik88 klik88slot link alternatif ladangtoto link alternatif klik88slots tok99toto k86sport link klik88 kaizenslot link kaizenslot slot gacor tok99toto situs klik88slots slot gacor mahjong ways slot demo slot online situs slot gacor terpercaya link slot gacor 2023 888slot slot receh gacor slot thailand anti rungkad link slot zeus link slot anti rungkad Link alternatif klik88slot slot maxwin gampang menang togel bsi mahjong gacor slot zeus maxwin akun pro kamboja gacor slot thailand terpercaya 66kbet slot bsi 24jam slot nolimit gacor link rtp slot ladang toto 2 slot gacor agen bola88 situs toto situs sv388 slot gacor thailand slot dana hari ini klik88slots link alternatif klik88 situs slot thailand slot thailand bandar sbobet rtp klik88slot rtp tok99toto rtp k86sport rtp one8slot slot thailand super gacor slot gacor thailand slot88 slot thailand terbaik ladangtoto bandartoto Rtp slot live link dewaslot slot gacor 66kbet agen sabung ayam sv388 slot server macau slot dana indonesia slot maxwin terpercaya slot demo pragmatic sv388 slot mahjong ways pg soft taruhan bola sbobet slot kakek zeus bandar judi bola sbobet agen judi sabung ayam slot dana 5k slot deposit bsi slot nolimit city Casino Online link login joker123 idn slot Slot pg slot thailand 2023 slot gacor situs slot server thailand slot zeus gampang menang link slot mahjong gacor slot dana slot mahjong ways link slot pg soft slot gacor thailand link slot thailand Slot thailand gacor slot88 resmi login k86sport sv388 online 24jam akun slot thailand slot bsi slot gacor slot server luar slot deposit dana slot deposit bsi link slot gacor server thailand bo tok99toto k86sport slot gacor server thailand link slot gacor thailand link slot gacor link server thailand slot88 gacor klik88slot thailand slot thailand slot5000 situs slot 5000 bandar togel 4d one8slot terpercaya akun pro kamboja fun77 situs slot88 slot thailand x500 slot thailand maxwin slot link slot gacor slot gacor maxwin tok99 klik88slots akun pro vip slot toto link klik88 data sdy slot88 gacor maxwin slot thailand gacor maxwin slot zeus online sv388 slot pragmatic play slot toto togel ngamentogel akun pro server thailand tok99toto slot mudah menang link alternatif tok99toto situs tok99toto situs k86sport link alternatif k86sport link alternatif k86sport resmi tok99toto gacor slot zeus gacor slot thailand terbaik slot maxwin mudah menang judi pg soft slot server thailand super gacor link slot deposit dana Starlight Princess 1000 slot dana gacor ok88slot gacor slot macau akun pro slot thailand one8slot slot china 10 link slot thailand 12 link slot thailand slot mahjong terbaik data hk pragmatic play slot bandar toto resmi daftar slot maxwin slot gacor slot thailand super gacor gampang menang slot dana server thailand slot zeus gacor rtp tertinggi mahjong bet 200 slot deposit 10k situs slot ovo 5k pg soft resmi slot thailand super gacor hari ini sabung ayam sv388 dewaslot link gacor slot pgsoft bet 200 mahjong 200 perak terbaru mas77toto slot gacor deposit dana bandar judi baccarat slot mahjong maxwin slot deposit via dana asli dewaslot slot777 resmi pragmatic bet 200 link slot fun77toto joker123 deposit 5000 slot depo 5k slot olympus 77 ladangtoto 2 server thailand slot-thailand super gacor slot mahjong ways 2 2023 slot thailand paling jitu link slot toto gacor link slot thailand 2023 pg soft bet 200 link slot gacor dana slot ovo anti rungkad sv388 sabung ayam online slot zeus akun pro thailand rtp slot gacor mudah maxwin slot ewallet dana gopay ovo linkaja slot live casino baccarat slot dana mudah maxwin slot thailand mudah menang terpercaya slot gacor hari ini slot server thailand super gacor 2023 slot depo ovo 10k slot mahjong gacor bet 200 situs togel terpercaya tok99toto deposit 5ribu situs slot88 gacor slot zeus maxwin bandar togel terpercaya link ladangtoto slot88 server thailand m77 ok88 slot gacor mudah maxwin deposit dana ok88slot ngacor slot thailand mudah maxwin fun77toto link fun77toto pg soft slot mahjong ways slot thailand gacor maxwin terbaik slot idn starlight princes #1 link alternatif ok88slot alternatif ok88slot link situs ok88slot link slot alternatif ok88slot link gacor ok88slot link alternatif situs gacor ok88slot link alternatif tergacor ok88slot dewa slot mahjong ways 2 server thailand asli judi Livecasino sbobet terpercaya slot bca slot bank bsi 777link slot gacor slot mahjong pg soft slot zeus dewa petir princess x1000 starlight princess mudah jackpot slot gacor maxwin 2023 slot bank bri slot server kamboja slot ovo gampang menang situs slot thailand gacor slot zeus deposit dana slot server thailand super gacor terbaru klik88slots gacor starlight princess terbaru slot zeus link gacor slot mahjong slot88 slot bsi terbaik slot bca terbaru sbobet mix parlay live casino resmi slot 777 gacor server thailand slot thailand no 1 sv388 sabung ayam online digmaan situs slot thailand gacor situs togel fun77toto