
People look at me funny when I first mention the One-Wire sensor network. Electrical majors will instinctively assume the other wire is ground, and they'd be right. It's a means to hook up a number of great sensors with minimum fuss.
Using parts from Dallas Semiconductor, a One-Wire sensor network can use a single line, grounded at both ends, to communicate temperature, pressure, solar intensity, rain depth, humidity and other things with better-than-hobbyist accuracy.
There are several places that package this technology, but the simplest and most reliable for me has been Hobby-Boards.com. They use modular connectors on their parts, and make the most of 6- or 8- conductor cables. Why 8 conductors? Simplicity.
This way, the center two conductors, whether using 4,6, or 8 wires are always the data lines, other lines like unregulated +12 to +24 are available to all modules. No special lines to these devices. And if a device doesn't need/use +5v, it doesn't have to be wired. The flexibility this provides is stunning- everyone has a wire crimper for network devices, anymore.
Now, if you actually _prefer_ individual lines, or want to maintain backward compatibility with an older system, Hobby-Boards has gone to the trouble of having terminal connections, too. Using discrete wires, just slide'em under the terminals and be done.
Network 'Dongles' - there's only one
Using the USB dongle, or network device adapter, might seem convenient, but under Linux, it requires you to run all software as root. This complicates production of software and leaves the system less secure in the long run. Get the serial dongle; it looks like this:
Once you have this dongle, and you're sure as to which serial port is using it, we can bring up OWSERVER to begin communications. Using OWSERVER isn't strictly necessary, but if you ever want a second use of the device, you'll be locked out. OWSERVER offers you a network-assessable form. Then you get OWFS or the others pointed to the local device, using the default ports and voila! you're reading temperatures, pressures, maybe even the neighbor's newspaper. :)
But all this discussion I'll leave for the Computer Software category- this is hardware.
Once you have a number of sensors, it becomes smart and effective to use a "hub" which powers and organizes network traffic. Done right, you could talk to several HUNDRED devices on a network with relative ease. Let's look at some of that, shall we?
Network Hubs
Hubs both power and organize your network. They're valuable parts, since they separate traffic. When you're reading a door switch several times a second on one line, while reading a world of sensors on the other, you too, will know why you need at least one. And considering how they power all the lines leaving it, it's a good thing! Mine is an eight-port.
The workhorse module
They have a multi-purpose module, show here, fully populated. It comes with a temperature, humidity, and/or solar intensity sensor all in one container.
Are there places where you solder-tail a temperature sensor and snake it down a tight spot? Sure! But more often than not, one of these will care for an entire room/section/department all by itself, beautifully and elegantly.
Optional but fun: The LCD
This is actually two devices; it's an adaptor between One-Wire and an industry-standard LCD made by Epson, but both have been a marvelous investment. Without it, I'd not be sure of the program's status- even when it's locked, it's telling my my program feeding it new data has 'taken a nap'. It's optional, but I wouldn't be without it.
The rest of the time it's feeding me pages of information, screen-by-screen. I have everything I need there, without having to rely on 110V power for a monitor, nor investing large-coin in a battery-sapping 12V monitor. The only thing I wish it could do more is read switches in a more simple way. But I believe someone's already working on a keypad, so it won't be long.
Summary
This demo comprises almost all the devices I currently use. I do so not because they pay me, but because when a product performs this wonderfully, when there's a good value out there I can actually crow about, I'm gonna crow!
Don't misunderstand: a lot of people offer this technology, including rain gauges and lightning-strike detectors, but no one I've seen offers them in such a simple, flexible, reliable way. In the last couple of years from dry to wet, from cold to hot, I've had not one second thought about this purchase.
If you visit them, let'em know I say hello.