Interfacing with Dallas 1-Wire weather station
Hi All,
I have been looking at the Dallas 1-Wire weather station wind speed and direction sensor as a fun project for the house. Link - <a href="http://www.aagelectronica.com/aag/index.html?target=p_1.html&lang=en-us">Link to the hardware at AAG Electronica</a>
However I don't want to have a PC sitting around to log it all the time.
Has anyone interfaced the Wind speed and direction sensor to a PIC based project?
I am most concerned about the wind speed sensor since it produces one pulse per revolution and I think I'll need a counter that is interrupted every second to allow conversion to a Km per Hour reading ?
I have talked one-wire before, so I am comfortable with the protocol and the commands, just not whether it is possible.
With Thanks, and Happy New Year,
Bill
Original Dallas Weather Station
I did purchase a version 3 one wire weather station from AAG this past year, that's what is connected to my weather server. I still have the original Dallas weather station with the 'ID Tags' for each of the wind directions. I don't think it would have been that difficult to deal with now that I have spent so much time immersed in one wire land. Dallas expected everyone to use their search rom function to 'read' what ID's are available in a given family then determine wind direction based on what came back. That routine is very difficult and takes a lot of processing power to implement. I think the way I would do it would be to go through a series of match rom requests and determine what was available at any given time. It would be far faster than doing a search rom for a specific family.
Somewhere I have a copy of the original Nuts & Volts article that explains the wind speed counter. Remember that the v3 board from AAG has two magnets on the wind speed anemometer vs 1 on the Dallas so you get two ticks per revolution. If you need the article I will try to dig it up.
Let me know if you need anything.