I'm wanting to have a set of LEDs turn on when I enter a room so I'm going to get a PIR sensor.
Now the part I'm not 100% sure about is how it wires in to my circuit, I'm hoping it works like a button/switch, like I have drawn in my shitty diagram but I doubt I'd be so lucky.
Searching around I can't get a straight answer because I can only seem to find setups for several sets of lights around a house instead of just powering one thing.
So what I want to know is, would my shitty schematic work so that when someone walks in to the room the lights would go on?
If not what am I doing wrong?
I've never worked with sensors before, only switches, so I'm sorry if I'm a retard.
>>940337
PIR modules usually work like switches. They usually have a separate power line and an NO/NC circuit (used mainly for security) or a mains relay. Which one do you have?
>>940349
I have an HC-SR501, it has 3 pins, +,- and something else.
The circuit will be powered by batteries so I don't want a mains relay.
I would try just slapping it together to see if it works but I don't want to accidentally fry the sensor.
so basically a motion sensor? you can get one of those cheap outdoor light fixtures for your yard that turn on when someone walks by... and just rip out the sensor...
but the problem with room sensors is when the motion stops the lights will go out... so if you are sitting watching tv or something the lights will keep going off
or if you are doing your homework or anything that you arent moving around
>>940337
Be prepared to poop in the dark, bud. Turn that timer wayyy up
you're trying to re-invent the wheel. there's a million models already out there. i bought 6 when they went on special for $5 at Zellers.
>>940353
see pic related. I'd recommend what >>940477 said though, it just works like a mains switch. Much easier to use for your application.