BlitzMX
Posts: 10
Joined: Wed Dec 31, 2014 2:26 pm

New Project in mind

Fri Nov 25, 2016 9:41 pm

Hello

I have a project in mind, and was wondering if its possible to connect the following stuff to a raspberry pi and eventually what should i use.
I'll do my homework, i promise you but if someone with mor experience could point me some key aspects of working on this it will be very helpfull:

- AC/DC 220v to 5V.
- 220v Relay for high current control. (Just one is enough).
- Audio speaker.
- Microphone for recording.
- TFT touch screen for display (maybe up to 7 inch).
- Night vision camera.
- IR Light for the night vision camera.
- Temperature Sensor.
- Light Sensor.
- Movement Sensor.
- Smoke Sensor.

How to plug all this into a pi? All in one Box, please.

Best regards
Last edited by BlitzMX on Sat Nov 26, 2016 9:59 pm, edited 1 time in total.

User avatar
Laurens-wuyts
Posts: 716
Joined: Wed Aug 21, 2013 7:35 pm
Location: Belgium
Contact: Website

Re: New Project in mind

Fri Nov 25, 2016 11:23 pm

BlitzMX wrote:AC/DC 220v to 5V.
You could use a USB phone charger or the official power supply.
220v Relay for high current control. (Just one is enough).
Relay module
Connected by: GPIO
Audio speaker.
Some phone speakers should work fine.
Connected by: 3.5mm audio jack
Microphone for recording.
Any usb microphone should do the job
Connected by: USB
TFT for display (maybe up to 7 inch).
Have a look at waveshare
Connected by: HDMI
Night vision camera.
The Raspberry pi Noir camera module supports IR/night vision
Connected by: CSI port
IR Light for the night vision camera.
Any IR led should work as long as you use the right series resitor
Connected by: GPIO
Temperature Sensor.
https://learn.adafruit.com/adafruits-ra ... g/overview
Connected by: GPIO
Light Sensor.
https://www.raspberrypi.org/learning/ph ... ython/ldr/
Connected by: GPIO
Movement Sensor.
https://www.raspberrypi.org/learning/pa ... worksheet/
Connected by: GPIO
Smoke Sensor.
http://www.learningaboutelectronics.com ... rry-pi.php
Connected by: GPIO

Laurens

BlitzMX
Posts: 10
Joined: Wed Dec 31, 2014 2:26 pm

Re: New Project in mind

Sat Nov 26, 2016 3:10 am

Will i need an expantion board to make everything work? Thats the question.

mfa298
Posts: 1387
Joined: Tue Apr 22, 2014 11:18 am

Re: New Project in mind

Sat Nov 26, 2016 8:18 am

BlitzMX wrote: - AC/DC 220v to 5V.
- 220v Relay for high current control. (Just one is enough).
Obligatory warning: Mains power is dangerous, make a mistake just once and you'll almost certainly kill your Pi and there's a significant risk of causing injury or death to yourself or another person.

For the AC adapter to 5V you can safely manage that with a normal PSU such as the official PSU.

For controlling other devices whilst the relays on the various relay boards may be rated for mains voltage the circuit board and other components may not be.

An alternative and safe way to control mains powered devices would be to look at some of the remote control plugs you can get, Plug the device into that and get the Pi to interface with the remote control. This then means you don't have to wire anything to mains voltages yourself.

BlitzMX
Posts: 10
Joined: Wed Dec 31, 2014 2:26 pm

Re: New Project in mind

Sat Nov 26, 2016 11:34 am

Thank you mfa298... but, will i need an expansion board for all the IO or the simple raspberry pi board will be enough.

drgeoff
Posts: 9759
Joined: Wed Jan 25, 2012 6:39 pm

Re: New Project in mind

Sat Nov 26, 2016 2:50 pm

BlitzMX wrote:Thank you mfa298... but, will i need an expansion board for all the IO or the simple raspberry pi board will be enough.
When you have completed the promised homework, you won't need someone else to answer that for you. :)

BlitzMX
Posts: 10
Joined: Wed Dec 31, 2014 2:26 pm

Re: New Project in mind

Sat Nov 26, 2016 9:29 pm

mfa298 wrote:
BlitzMX wrote: - AC/DC 220v to 5V.
- 220v Relay for high current control. (Just one is enough).
Obligatory warning: Mains power is dangerous, make a mistake just once and you'll almost certainly kill your Pi and there's a significant risk of causing injury or death to yourself or another person.

For the AC adapter to 5V you can safely manage that with a normal PSU such as the official PSU.

For controlling other devices whilst the relays on the various relay boards may be rated for mains voltage the circuit board and other components may not be.

An alternative and safe way to control mains powered devices would be to look at some of the remote control plugs you can get, Plug the device into that and get the Pi to interface with the remote control. This then means you don't have to wire anything to mains voltages yourself.

Everything needs to be in the same box, as small as possible.
Wires need to enter inside the box from the wall directly, no plugs in the wall.
Thank you.

BlitzMX
Posts: 10
Joined: Wed Dec 31, 2014 2:26 pm

Re: New Project in mind

Sat Nov 26, 2016 9:37 pm

drgeoff wrote:
BlitzMX wrote:Thank you mfa298... but, will i need an expansion board for all the IO or the simple raspberry pi board will be enough.
When you have completed the promised homework, you won't need someone else to answer that for you. :)
Ok Thank you.

BlitzMX
Posts: 10
Joined: Wed Dec 31, 2014 2:26 pm

Re: New Project in mind

Sat Nov 26, 2016 10:00 pm

Small correction, the tft needs to be touch screen.
Thank you.

mfa298
Posts: 1387
Joined: Tue Apr 22, 2014 11:18 am

Re: New Project in mind

Sun Nov 27, 2016 9:02 am

BlitzMX wrote:Thank you mfa298... but, will i need an expansion board for all the IO or the simple raspberry pi board will be enough.
I think what you want to do is possible, but it's going to require you to learn some new skills, the first or which is being able to do research. You need to find the types of components you need and then work out how they can connect to the Pi. As a starting hint the CSI interface on the Pi is designed for a specific camera and the DSI port for a specific touchscreen display).

You should also research about interacting with mains electricity and the regulations in your area related to that. You may require a qualified electrician for some of that work.

BlitzMX
Posts: 10
Joined: Wed Dec 31, 2014 2:26 pm

Re: New Project in mind

Sun Nov 27, 2016 12:59 pm

Thank you.

Return to “Beginners”