Hi !
I would want to use the AAG Weather Station , and I need some code for reading the value of its sensors.
Can anyone post me the routine for reading the 1-wire devices ?
I never used a 1-wire net with 2 or plus sensors.
Another question:
When I got the counter value for the wind speed which formula I have to use for calculate the speed ?
Thanx
jds-pic
Joined: 17 Sep 2003 Posts: 205
Re: 1-wire AAG Weather Station
Posted: Mon May 02, 2005 3:30 pm
Inkwaterman wrote:
Hi !
I would want to use the AAG Weather Station , and I need some code for reading the value of its sensors.
Can anyone post me the routine for reading the 1-wire devices ?
I never used a 1-wire net with 2 or plus sensors.
Another question:
When I got the counter value for the wind speed which formula I have to use for calculate the speed ?
Thanx
there are few issues here:
1) do you have the V2 or the V3 version of the AAG weather station? how you talk to the onewire devices differs between the two versions. the V2 version was a little cumbersome to deal with since the power to some of the devices was continually interupted.
2) the library code above does not include the "onewire search" algorithm which is needed when you don't know a priori the serial numbers of the onewire devices on the onewire net. so you will need to develop that code; a good amount of example source exists on the net and there are a few dallas application notes which will prove very useful.
3) the algorithms for determining windspeed on the AAG platform are documented in several places on the web. google on "dallas weather station" (dallas originally designed the station to promote the onewire scheme; AAG subsequently took over manufacturing).
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum