Originally posted by completelyhis
View Post
The garage addition will have one Arduino mega tied to 2 man door sensors, 2 window sensors, 5 garage door sensors, 1 RGB led strip, 4 garage door openers and 3 PIR sensors. The setup in the house is so I could learn the basics and be ready once the garage addition is completed. So I have learned the basics, interfacing a push button (door sensor mockup), control a RGB led strip, control relays (garage door opener connection) and the PIR sensors as how it would be interfaced in the garage.
I have had issues with previous Arduino projects having the PS voltage dip due to a heavy load or even turning on a relay(s), so I went with a cheap 350w computer power supply. Super common and can put out a good chunk of power. The garage stuff will be fairly low loads, but the house I plan on running quite a few heavy load RGB LED strips...and to keep setups identical I am running the same PS for both. I also have a few kicking around so a power supply failure will be an easy quick fix.
The Arduino has a 5v and ground connection to the power supply. 12v and 5v sensor power running to the PIR sensor (on a breadboard for now), for a final setup I will be soldering up a board with terminal blocks to attach the wiring. The wiring is explained in post #9. Also in the plugin you create the specific pin ou are connecting the PIR sensor to as an analog pin, then set up the status graphics as shown in post #9.
You can run the sensor digitally as well, doesn't require the use of resistors and is faster to set up. I just wanted my setup to be similar to commercial alarm system and having the EOL is one part of it, also as I previously mentioned I won't have much for analog inputs so using them for the PIR is perfect as it uses less overall pins and allows me greater visibility to the status of the sensor.
Comment