Northern Mike
Posts: 43
Joined: Mon Oct 31, 2016 11:41 am

Multiple single wire temp sensors on single pi

Thu Dec 28, 2017 4:18 pm

Has anyone ran multiple (10+) single wire temp sensors on a single RPI?
Anything I need to watch out for?

Slowly piecing together my control system for the house and our like to include temp readouts for the various areas in the house.
Currently using a single pi3 to control 24 relays for lighting, door strikes, and other items within the building.

User avatar
joan
Posts: 14960
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: Multiple single wire temp sensors on single pi

Thu Dec 28, 2017 4:37 pm

Do you mean DS18B20?

Northern Mike
Posts: 43
Joined: Mon Oct 31, 2016 11:41 am

Re: Multiple single wire temp sensors on single pi

Thu Dec 28, 2017 4:48 pm

joan wrote:
Thu Dec 28, 2017 4:37 pm
Do you mean DS18B20?
That is the one I'm looking to go with. Just easier to work with and no worries about packaging.

Northern Mike
Posts: 43
Joined: Mon Oct 31, 2016 11:41 am

Re: Multiple single wire temp sensors on single pi

Thu Dec 28, 2017 7:56 pm

This is a pic of the controller unit as it sits right now.
There is a 30A 12VDC and 30A 5VDC power supply in another can to run the 12v devices and all the RPIs and relays (half a dozen pi's in the cabinet beside running other network related functions).
The black wires coming in at the top right are a couple of the light control wires. I currently have most of the emergency lights installed as they are also controlled by the security panel (AC power lose, emergency LEDs come on).
Attachments
20171228_102051.jpg
20171228_102051.jpg (230.33 KiB) Viewed 674 times

pcmanbob
Posts: 9612
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: Multiple single wire temp sensors on single pi

Fri Dec 29, 2017 12:47 am

I've had six running without any problems.

But I think cable length may be a sticking point if you are going to run them from one pi to all points in your house, mine were all on 1m cables as that's all I need to reach the parts of the kit I wanted to monitor.

Range of 40m using cat5 cable and a 2.2K resistor reported here : https://raspberrypi.stackexchange.com/q ... ther-issue
what ever you do DO NOT connect to 5v in place of 3.3v or you will damage your pi.
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported

Northern Mike
Posts: 43
Joined: Mon Oct 31, 2016 11:41 am

Re: Multiple single wire temp sensors on single pi

Fri Dec 29, 2017 1:30 pm

pcmanbob wrote:
Fri Dec 29, 2017 12:47 am
I've had six running without any problems.

But I think cable length may be a sticking point if you are going to run them from one pi to all points in your house, mine were all on 1m cables as that's all I need to reach the parts of the kit I wanted to monitor.

Range of 40m using cat5 cable and a 2.2K resistor reported here : https://raspberrypi.stackexchange.com/q ... ther-issue
what ever you do DO NOT connect to 5v in place of 3.3v or you will damage your pi.
I am running quad cable for most of my low voltage Plc components, so the 22g should do a bit better than the 24g that cat5 uses. Don't see needing more than 40m of cable per area.
Thank you for the heads up and info.

Mike

Return to “Advanced users”