[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
I'm wanting to have a set of LEDs turn on when I enter a
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /diy/ - Do It yourself

Thread replies: 7
Thread images: 3
File: pir.png (7 KB, 740x232) Image search: [Google]
pir.png
7 KB, 740x232
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.
>>
File: HCSR501.jpg (42 KB, 650x648) Image search: [Google]
HCSR501.jpg
42 KB, 650x648
>>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.
Thread replies: 7
Thread images: 3

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.