1-wire over TCP/IP

Well I’ve taken one step closer to connecting to my 1-wire weather station via a tcp/ip connection today. Thanks to a work colleague’s help my Linksys WRT54G is now running OpenWRT and OWFS. The hardware interface is from David Lissiuk at Sprinkbok Electronics (Thanks Dave !) And it works too - well the local inbuilt temp sensor is reading anyway. The next step is to take it home and attach some “real” sensors to the 1-wire port and see what I get.

When I am happy that it is going ok the WRT54G will be off north to Brian (with lots of docs) to see if he can get WD to use it as a “weather station”. 8)

My end aim is to have the WRT54G out at the garage with the weather station gear, running off a solar/wind/battery supply combo. Then I should be able to run WD off any PC in the house with a wireless network card (which all of mine do). In theory I could run WD on a server at work and connect to the station via the internet — but one step at a time. 8O

Will keep you all posted on progress, which will now hopefully be a bit faster than it has been.

What was involved?

I asked Hobby Boards if this was possible and did not get an answer. Would have though this was a common enough interface today that they might want to offer it and it seems that it shouldn’t be that difficult to the technically inclined.

This mod takes advantage of the fact that the WRT54Gx runs a version of Linux as its OS. I’ve loaded a new firmware that includes OpenWRT and OWFS (among other things). The WRT54Gx also has a serial interface port on the PCB, so David (et el) designed and built an interface that can be plugged into the waiting header connector.

Have a look here http://owfs.sourceforge.net/WRT54G.html and here http://openwrt.org/ for more information.

A note that the WRT54Gx version 5.x does NOT run Linux. But I am told that there is an xL (for Linux ?) version about.

Once up and running the devices can be accessed a number of ways, one of which is to start a browser session to http://x.x.x.x:3001/ Each device appears as a virtual directory below this point. There’s a lot of technical stuff that my brain has not yet grasped, but I’m sure others will.

Hello Maybe this would do the trick

Ethernet 1-Wire

hi
good news, been working on a project with another user
i have already added support for OWFS in the latest version of WF for temperature and humidity :slight_smile:
(in the client/server setup)
so you have windspeed and direction on OWFS too 41south?
if so, am i able to access the OWFS server from here?

once finished in the windows version i will add to the linux version so that then 1 wire support will be in the linux version via OWFS :slight_smile:

Just an update on this project. I have done some simple tests with the WRT54G and its looking good. There are 3 views of the data from 1-wire devices.

1: A listing of each 1-wire device via http on port 3001. The devices shown here are the 1-wire “adapter”, a test external temp sensor and a test solar sensor (the DS2438). Each of the ‘links’ at the left lets you drill down to more information about the device - at which point I get lost :lol:

2: A graph of each of the temperature readings via temploggerd. Now this is the sort of data I can understand. 8)

  1. An SSH console view of the devices in the /var/1wire/ directory.

Brian I was going to send the unit up to you but I guess it makes far more sense for me to get it onto the network so you can read it remotely. Maybe PM me and we can discuss the technical stuff. My first job is to get the WRT54G looking like a client on my network. At the moment its configured as an AP. :-k

hi
yes, i need access to it over the internet
and I just need to add support for the other sensors you have there , and build on what i have already got working (the temp/hum sensors)