I've been slowing developing a temperature monitoring system for our grain bins on the farm. I'm using about 10-17 DS18B20 sensors per bin, each bin with it's own twisted pair in a shielded cat5e. Things work quite well until we turn on our variable speed aeration fans that are powered by a 3 phase inverter. I've tried a few different configurations. I've also been monitoring the one-wire data bus with a DSO quad o-scope and trying different pullup resistors and filtering capacitors. Maybe this should be in a different sub forum but I am looking for some project advice.
Configurations:
-
Arduino Mega/Uno reading DS18B20s, connected to wrt router's serial port which is running ser2net to allow my backend server to poll the Arduino for temperature updates. WRT router is connected to my server via wifi.
-
Arduino Uno with itead ethernet shield, connected to wrt router's ethernet port. The wrt router is again connected to my server via wifi.
-
iTead iBoard (328P at 3.3V with W5100), connected to wrt router's ethernet port. The wrt router is still connected to my server via wifi.
For the longest time, I ran in config 1, and it worked decently with minimal inverter interference until the Arduino seemed to suddenly quit. Then while playing around in my box I suspect I damaged the router's serial port so I tried configs 2 & 3 with the same router and with a new router. It appears as though the router introduces interference when its ethernet ports are connected to the Arduino's. I have tried powering the Arduinos and routers with switching and non switching power supplies, I've tried using the same power supply for both and I've tried using a battery for one or both of them. The Arduino works the most reliable with a battery and not being connected to the router's ethernet port. I was hoping to streamline things and use 1 network Arduino per bin (keeping one-wire bus as short as possible), with 4 network Arduinos per router (4 port routers) sending power to the Arduinos via the unused cat5 pairs. Using one router/Arduino per bin is really gonna cut into my router stock, require much larger outdoor boxes and use quite a bit more power if everything has to go battery/solar power.
Today I started looking into wifi shields and the Yun but I thought I should seek some advice from the Arduino crowd. There's a commercial system that runs for $500 per bin (reader only, no sensors), plus a central wireless hub for $3000 per yard and $180/yr subscription. I'm looking at connecting 8 yards (myself and other family, we're all on my homebrew wisp) with about 100 bins total so I'm hoping for less than $100 per bin (reader only) and use my own existing perl/rrdtool graphing backend. Thanks for your time.