Is anyone using the AAG 1-Wire Wind Instrument?

I was given an AAG 1-Wire Wind Instrument. It's over 20-years old and apparently was a one-wire demonstration kit from Dallas Semiconductor. I can find block diagrams and some code fragments for using it, but I can't find a schematic for this version (probably Version 1).

So, can anyone help me? I would like to use this with a Wemos D1 Mini


.

Well then. you need to provide them here for a start. :face_with_raised_eyebrow:

Here's my notes, copied from a couple of sites.

Getting Chip ID's
Each 1-wire chip has it's own unique 64-bit serial number. The Rabbit application needs to know which device is which. A simple way to determine this is to connect the 1-wire network to a PC and run the Ibutton Viewer. If you plug the TAI-8515 Weather Instrument in to the 1-wire network, you should see three chips show up on the 1-wire network.
The DS2450 (1-Wire Quad A/D Converter) handles the wind direction
The DS18S20 (1-Wire Temperature Digital Serial Sensor) provides the temperature. (Works just like an 18B20, but 4X the cost).
And the DS2423 (4kbit 1-Wire RAM with Counter) determines the wind speed.

Wind direction
The version 3 Dallas/ AAG wind direction sensor implements a delightfully clever way to encode the shaft's position.

The system relies on The DS2450 (1-Wire Quad A/D Converter) to sense the state of the 8 reed switches. No adjacent reed switches are on the same ADC. When no magnet is near one of the switches, the ADC it is connected to "sees" 5 volts. When a magnet is near one of the switches, the ADC "sees" either 0 volts or about 2.5 volts, depending on which switch the magnet is near. For a given ADC, only one switch can be closed at a given moment. Each ADC can "watch" two switches because resistors in the circuits allow the three possible voltages on each ADC monitored line.

Not "important", but maybe interesting: If you think about it, you will notice that this system is using a base 3 number system rather than the common base 2 (binary) system which has made such a difference to what we can do easily, reliably.

Just to fill in the detail: When a switch is open, the input to the ADC is connected to 5v through a resistor. As almost no current flows, the ADC "sees" 5 volts. In one case, the reed switch connects the ADC directly to 0v, so when the switch closes, the ADC "sees" 0 volts. In the other case, the reed switch connects the ADC to 0 volts through a second resistor. This, in combination with the resistor connecting the ADC to 5 volts results in the ADC "seeing" about 2.5 volts.

Thus, the ADC "sees" a high, or low, or "medium" voltage.

==============================================

So, my challenge is writing code to read the DS2450 (1-Wire Quad A/D Converter) and the DS2423 (4kbit 1-Wire RAM with Counter).

I found some libraries by Joe Bechter for the DS2450 and DS2423 that I will experiment with. I was just hoping that someone had already connected an AAG 1-Wire Wind Instrument to an Arduino.

The first thing to do is to see if I can detect the chips with a 1-wire scan.

I have this information if it can be useful
Paolo
WindPhoto1
WindPhoto2
WindPhoto3

Wind Assembly Instructions.pdf (337.7 KB)

This is old basic stamp code made by Jon Williams
Paolo
OW_WEATHER.zip (3.8 KB)

I should have added to the thread that I have the project working.
Here is the code if anyone else has a similar set of hardware.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.