Array of Temperature sensors


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…?


One-Wire DS18B20


I have had success with these: [url][/url]
which are based on the Dallas “1-wire” sensor.[url][/url]

Quite a few can be connected to 1 socket and the wirelength can be relatively long (search the internet for more details).

Code can be found here: [url][/url]
or here: [url][/url]

@ riaan.mastenbroek@ -
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.

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.