| Electronics > Projects, Designs, and Technical Stuff |
| Collecting Temperature Data |
| (1/1) |
| bostonman:
I'd like to use a Raspberry Pi (or similar) to collect temperature data on water pipes as the water moves through. So the sample rate would be fairly quick, averaged, and then given at maybe a one-second rate. As for a sensor, either a thermistor or a temp IC. Ideally I'd like to monitor several locations spread out across approximately fifty-feet in various directions. I'm having difficulty coming up with a solution that is: cost effective, one cable with all the sensors in series instead of a separate cable from each sensor back to the Pi, and a method of getting DC (or AC) power to each sensor. I've looked at an I2C bus, but got caught with getting power to each board, and also not having to make separate PCBs for each location I wish to monitor. Any ideas would be greatly appreciated. |
| schmitt trigger:
One single cable for all the sensors? There is the 1-wire system which as its name mentions, does not require a separate power line. However it is slow and has worse performance than I2C with respect to receiving reliable data from remote sensors. I have never studied its addressability capabilities. I would suggest using a far more robust protocol, like CANBUS or RS485. Unfortunately this means both power and ground wires, plus a pair of differential signals. |
| Hemi345:
I've had good luck with Maxim/Dallas 1-wire sensors. There's a document that explains the various topologies for connecting multiple sensors and all the considerations for pullup value and line capacitance. Take a look at the DS18B20 [Edited to include link to sensor I've had good experience with] |
| Hemi345:
Here's that document i mentioned: https://www.maximintegrated.com/en/app-notes/index.mvp/id/148 |
| Navigation |
| Message Index |