royh111
Posts: 9
Joined: Wed Jul 16, 2014 4:42 am

Connecting a lot of boards

Thu Jul 17, 2014 1:09 am

Hi,

Im fairly new to the rpi. For automation I want to connect a few water sensors, a water- temperature sensor, and 13 relays to it. It is quite a hard probably, but I want to make it work. So my question is, is it possible to connect al that to 1 pi? And of so, how Do i Do it? I've found a few relay board for rpi/arduino so I can probably use them.

Thanks in advance!
Roy

User avatar
FLYFISH TECHNOLOGIES
Posts: 1750
Joined: Thu Oct 03, 2013 7:48 am
Location: Ljubljana, Slovenia
Contact: Website

Re: Connecting a lot of boards

Thu Jul 17, 2014 1:23 am

Hi,
royh111 wrote:So my question is, is it possible to connect al that to 1 pi?
Yes.
royh111 wrote:And of so, how Do i Do it? I've found a few relay board for rpi/arduino so I can probably use them.
One option, for sure. Just verify that voltage levels of the board(s) match (RasPi levels are 3.3V).


Best wishes, Ivan Zilic.
Running out of GPIO pins and/or need to read analog values?
Solution: http://www.flyfish-tech.com/FF32

User avatar
Richard-TX
Posts: 1549
Joined: Tue May 28, 2013 3:24 pm
Location: North Texas

Re: Connecting a lot of boards

Thu Jul 17, 2014 4:12 am

You could connect 10 times that amount of stuff.
Richard
Doing Unix since 1985.
The 9-25-2013 image of Wheezy can be found at:
http://downloads.raspberrypi.org/raspbian/images/raspbian-2013-09-27/2013-09-25-wheezy-raspbian.zip

royh111
Posts: 9
Joined: Wed Jul 16, 2014 4:42 am

Re: Connecting a lot of boards

Thu Jul 17, 2014 6:08 am

Thx!
But how, there's Just 17 gpoi ports.
Will it work if I connect the sensors and a few relays to the gpoi ports, and the rest of the relays with the USB cable, to a USB relay?

Can that work?

BMS Doug
Posts: 3824
Joined: Thu Mar 27, 2014 2:42 pm
Location: London, UK

Re: Connecting a lot of boards

Thu Jul 17, 2014 7:26 am

the relays could be connected via I2C allowing you to daisy chain several sets of boards to one pair of GPIOs.
Doug.
Building Management Systems Engineer.

User avatar
FLYFISH TECHNOLOGIES
Posts: 1750
Joined: Thu Oct 03, 2013 7:48 am
Location: Ljubljana, Slovenia
Contact: Website

Re: Connecting a lot of boards

Thu Jul 17, 2014 12:26 pm

Hi,
royh111 wrote:Will it work if I connect the sensors and a few relays to the gpoi ports, and the rest of the relays with the USB cable, to a USB relay?
Can that work?
Yes, this setup can also work.
What you'll soon realize is that one part of the job is to connected things together, remaining is to find/write software to make this working...


Best wishes, Ivan Zilic.
Running out of GPIO pins and/or need to read analog values?
Solution: http://www.flyfish-tech.com/FF32

Return to “Beginners”