home  wiki

Spelling: oww-openwrt



* OWW-OpenWrt [1]

* Contributors [2]
* Background [3]

* OS version used [4]
* Hardware used [5]
* Modules [6]
* Discussion [7]
* Results [8]
* Further Setup Details for Hobby Board Devices [9]
* Notes [10]

-------------------------

OWW-OPENWRT

This page is for information on getting oww to work on openwrt.

CONTRIBUTORS

melb_ap [11]

BACKGROUND

OWW stands for one wire weather and is a weather monitoring system
based around the Dallas one-wire protocol and the Dallas example
weather station kit available from aag
The oww software allows for remote monitoring of the device over tcp
so you can get the wind speed

|wl500gP|---usb to serial [19]--serial to one-wire [20]---

---12v------| (on correct wires as per hobby board wiring diagram) |
--rj12-two-wires---|-----rj45-|barometer|-rj45--------

------------|

|rj45 dbl adapt --|humidity sens|--dallas/aag weather station--
|rain sens

NOTES

Setup instructions for hobby board modules

The hobby boards devices come up as other things by default
without assigninging them to a function.

IE The humidity sensor seems to come up as 2 temperature
sensors

So you use the re assign to assign it to humidity 1

this is done below once to get the correct strings
then you save them to your devices file so it just
uses them in the future.

And the one wire devices do have unique serial id's
so a sensor replacement will require runnng this
again for that sensor.

point A [21]

Plug in only one sensor for each time you run this process

run

/opt/bin/owwnogui -i

type search

to find devices

type assign

to assign devices

Assign the device to to thing it actually is like humidity 1

Then type ? devices

copy and paste to a notepad file.

now close owwnogui with cntrl-c , plug in the next sensor

Repeat this process for each sensor so you have the line for each
wire device s/n and assignments from repeat point A

Note - Make sure you assign any actual temperature senors to say temp
2

so that the main weather sensor still can use temp 1

Once all the device assignments are done you can merge all the
assingments togeather
to make it all work togeather.

Once you have this all done , hopefully it'll all work when connected
togeather !

Here's my devices file for one of my stations for example

offset 0
reverse 0

* rain sens bucket

rain D60000000B2FAD1D 0.010000

* oww aag sensor

T1 970008001B3C0E10 1.000000 0.000000
vaneadc E000000006E32F20
anem 2400000000E6081D 1.000000

* barometor sensor

BAR1 A9000000BC897526 14.285700 932.142883 1.000000 0.000000

* humidity sens

H1 4C000000E76F5626 1.000000 0.000000 1.000000 0.000000
T2 0A000801CB230110 1.000000 0.000000

driver /dev/usb/tts/0
port 0

* Data sample offset: 3-10us

ds2480samp 10

* Write 1 low time: 5-15us

ds2480write 12

* Parameters for DS2490.
* Use -1 for defaults, or 0-7 according to data sheet tables 9-11

ds2490slew -1
ds2490write -1
ds2490samp -1

* Test setup

recharge 1
autoalloc 1

Trouble shooting Tips :

Make sure you test it all connected on the bench before installation
to save onsite headaches !

The hobby board sensors with the 12v connecor blocks DO require 12v
to work when piggy backed
this can be provided via the connectors or the cat5 cable as per the
hobby boards wiring pinout.

If the cables have crossed over wires when yu look at the connectors,
they wont work,
they should match when held sid by side with both ends facing away
from you.

My Onewire TA weather sensor for what ever reason would only work on
one connector - the left one
on the top of the board. The right one has the wire loop rj12 in it.

Most phone RJ12 double adaptors have the wires crossed and wont work
unless you pull them apart
and set it to all strait through

I found the rj45 double addaptor seemed to be strait through though
so i used that.

With the dallas/aag weather sensor - leave the rj12 with the wire
loop between pin 1 and 4 installed in the extra rj12.

I found it unstable for whatever reason without this and it wouldn't
work properley when all sensors were connected.

Good luch and let me know if this help you !

(it took a lot of work to get it right)

Links:
------
[1] http://melbournewireless.org.au/#oww_openwrt
[2] http://melbournewireless.org.au/#contributors
[3] http://melbournewireless.org.au/#background
[4] http://melbournewireless.org.au/#os_version_used
[5] http://melbournewireless.org.au/#hardware_used
[6] http://melbournewireless.org.au/#modules
[7] http://melbournewireless.org.au/#discussion
[8] http://melbournewireless.org.au/#results
[9]
http://melbournewireless.org.au/#further_setup_details_for_hobby_board_devices
[10] http://melbournewireless.org.au/#notes
[11] http://melbournewireless.org.au/?melb_ap
[12] http://melbournewireless.org.au/?melb_ap
[13] http://melbournewireless.org.au/?melb_ap
[14]
http://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=IVICMELB2
[15]
http://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=IVICMENZ2
[16]
http://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=IVICEMER4
[17]
http://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=IVICASPE2
[18]
http://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=IVICMTDA2
[19] http://melbournewireless.org.au/?aten
[20] http://melbournewireless.org.au/?aag
[21] http://melbournewireless.org.au/?repeat

[EditText] [Spelling] [Current] [Raw] [Code] [Diff] [Subscribe] [VersionHistory] [Revert] [Delete] [RecentChanges]

> home> about> events> files> members> maps> wiki board   > home   > categories   > search   > changes   > formatting   > extras> site map

Username
Password

 Remember me.
>

> forgotten password?
> register?
currently 0 users online
Node Statistics
building132
gathering192
interested515
operational242
testing216