Can't add more than 2 DS18B20 using GPIO driver
Posted: Wed Apr 30, 2014 9:53 pm
Hi folks, having an odd one;
I have 5 waterproof DS18B20 sensors (the ones in a metal can on a flying lead), hooked up to the GPIO ports in the configuration described here; http://www.cl.cam.ac.uk/projects/raspbe ... mperature/
I have found through trial and error that I can connect 2 (any two, which rules out a faulty sensor) sensors and have them work just fine.. but add a third and I get no slaves, nothing showing as a device.
I guess I am really looking to find out if this is expected; is anyone out there using four or five sensors this way?
My RPi is a 1st gen Type B (one of the original element 14 order into the UK no less!),
running a NOOBS Raspbian image - uname tells me that it's "#474 PREEMPT Thu Jun 13 17:14:42 BST 2013"
SD Card is a Kingston sdc4/16gb in one of the adafruit micro SD adapters
I have tried a couple of PSUs, and this one seems very stable - it's a 2A Samsung tablet one.
I'm hoping to use this RPi as a controller for my solar thermal water system, so this is a bit of a disappointment. annoyingly, I did a wee proof of concept with just two sensors, and it worked just fine, and wrote some code around that. I'd rather not change technology completely to owfs or i2c if there's something simpler that I can do...
So, any ideas or insights?
I have 5 waterproof DS18B20 sensors (the ones in a metal can on a flying lead), hooked up to the GPIO ports in the configuration described here; http://www.cl.cam.ac.uk/projects/raspbe ... mperature/
I have found through trial and error that I can connect 2 (any two, which rules out a faulty sensor) sensors and have them work just fine.. but add a third and I get no slaves, nothing showing as a device.
I guess I am really looking to find out if this is expected; is anyone out there using four or five sensors this way?
My RPi is a 1st gen Type B (one of the original element 14 order into the UK no less!),
running a NOOBS Raspbian image - uname tells me that it's "#474 PREEMPT Thu Jun 13 17:14:42 BST 2013"
SD Card is a Kingston sdc4/16gb in one of the adafruit micro SD adapters
I have tried a couple of PSUs, and this one seems very stable - it's a 2A Samsung tablet one.
I'm hoping to use this RPi as a controller for my solar thermal water system, so this is a bit of a disappointment. annoyingly, I did a wee proof of concept with just two sensors, and it worked just fine, and wrote some code around that. I'd rather not change technology completely to owfs or i2c if there's something simpler that I can do...
So, any ideas or insights?