Hi,
I need to monitor temperature in a room where I will tie various temperature sensors to a cable that hangs from a roof. I would like to know if it is possible to read multiple sensors in array format all plugging into one “slot” on the fez spider II board. It simply would not work to have 100 sensors each plugging to its own slot - that way I will require multiple fez II boards.
Any advice or codes samples please…?
Riaan
@ riaan.mastenbroek@ gmail.com -
I have found this library to be extremely helpful, as I read over 250 sensors per board, (although using 8 pins, and a 5v level shifter, because there is a very small range of voltages that can cause the DS18b20 to provide inaccurate readings).
*Note, not sure if its been fixed since I downloaded it, but there was a bug with negative Celcius temperatures.
https://bitbucket.org/StablePoint/stablepoint.hardware.onewire/wiki/Home
Depending on how far apart the sensors are, you are limited to the number of sensors per string by the total capacitance of the string. If I remember correctly, its approximately 100pf per string. In my experience, this means that you need to pay very close attention to the wire you use to connect the sensors together.
If you are in normal room temperature ranges, two companies that already make cables that you are describing would be OPIsystems/Integris, and Intelliair.
There are also thermocouple solutions for wider temperature ranges, but they quickly get very complex.
DS18B20+ sensors are quite inexpensive, <$3 in ones from Digi-Key in an easy-to-solder through-hole package.