fabrym
Posts: 3
Joined: Mon Apr 21, 2014 1:01 pm

domotics light and camera

Mon Apr 21, 2014 1:10 pm

hello, I'm new to the forum :D
I have a raspberry pi model B
I would like to use it to manage the power garden lights and surveillance cameras.
I can use a single raspberry to turn on the lights and surveillance cameras?
I can use the program raspbian?
for the lights I found this relay module ':
http://www.ebay.it/itm/Modulo-2-rele-op ... 3cdc22b468
okay? must be powered?
I would like to know how to connect to and manage it to the lighting and raspberry someone can tell me some guidance?

Tarcas
Posts: 741
Joined: Thu Jan 09, 2014 5:38 am
Location: USA

Re: domotics light and camera

Mon Apr 21, 2014 7:41 pm

Certainly you can use the same Pi for both. The relay won't take much CPU (as long as you don't do something stupid in your code.)

I recommend one with separate VCC and JD-VCC inputs instead. This relay board, for example. Do note that with both your suggestion and this one, you have the current that you are switching exposed on the back of the board. If that's for example, 12v DC for LED lights, it's not a problem; just mount it so that it won't short out. If it's 115 or 230v AC, that can be deadly, and you should get the advice of a licensed electrician in your area.
Have a look at this video for more information about relays and relay boards.

Raspbian is an operating system, not a program, and it will control both just fine. In fact, it's what I would recommend for your purpose.

Hope that helps. Don't electrocute yourself. :D

fabrym
Posts: 3
Joined: Mon Apr 21, 2014 1:01 pm

Re: domotics light and camera

Tue Apr 22, 2014 10:21 am

Thank you, then I would use everything from smartphones to the cidice there is something already ready? To download? How can I do?

fabrym
Posts: 3
Joined: Mon Apr 21, 2014 1:01 pm

Re: domotics light and camera

Tue Apr 22, 2014 9:00 pm

hallo! I have need your help!
I would to use the one raspberry with relay module for ligths and I would to use same raspberry for video surveillance.
can I use this: http://www.pinto.it/products/1722-modul ... berry.aspx ?
or using the rasp even with the relay is better an webcam usb?
I would then use this app

https://play.google.com/store/apps/deta ... trol&hl=it
there is need a special code? is online?
sorry and thank for your help
Best regards

Return to “Automation, sensing and robotics”