10.3129.10.712 Wind Direction Sensor, ARDUINO UNO

Hello,

I have home weather station project for my home. I got 10.3129.10.712 Wind Direction Sensor Datasheet and you can reach the datasheet by clicking the link.

My arduino is Arduino UNO R3.

Now I have some problems also some failures.

This is my connection wires according to the datasheet. In the datasheet It says you must restrict current by 1 mA and where should i put resistor in this diagram ( If the diagram is true? )

Here my code

void setup() {
  // put your setup code here, to run once:
pinMode(A0,INPUT);
Serial.begin(9600);
}

void loop() {
  // put your main code here, to run repeatedly:
Serial.println(analogRead(A0));
delay(500);
}

And here my serial print outputs for 5 seconds ( even I hold fixed the direction )

303
337
408
488
543
719
1023
1023
1023
1023
990
885
752

Why my outputs are irrelevant values ?
Thanks for your interest.

Am I interpreting your diagram correctly? It looks like you have both 24V and 5V connected to the ends of the sensor. I hope that I am wrong. :frowning:

The data sheet is for 4.3129.10.712 (and others starting with 4.3129). Where does 10.3129.10.712 come into action?

vaj4088:
Am I interpreting your diagram correctly? It looks like you have both 24V and 5V connected to the ends of the sensor. I hope that I am wrong. :frowning:

According to the datasheet, there are two GND. I know wrong maybe. But if someone knows the truth can comment , I am starter.

From the outputs it looks to me like the GND connection is not solidly connected.

All the grounds should be solidly connected to each other. 5 volts should NEVER be connected to 24 volts.

johnwasser:
From the outputs it looks to me like the GND connection is not solidly connected.

what about connections according to the datasheet ? Which pins 1 - 2 -3 -4 -5 should i considered on it ?

vaj4088:
All the grounds should be solidly connected to each other. 5 volts should NEVER be connected to 24 volts.

Yes you are right, I got my failure on that issue. 24V and 5V may form a current from flow high voltage to low one. But which pins that i use AGND - SENSE (-) ?

Hi,
Use

  • pin 1 for GND
  • pin 3 to A0
  • pin 5 to 5V

Remove the 24V completely from the sensor.
Your diagram shows 1 and 2 are INTERNALLY connected together.
Your diagram shows 4 and 5 are INTERNALLY connected together.

So you only need to use 1, 3, and 5. . . .

The 1mA refers to a fault current, which if you wire it as above should never occur.

The 24V is needed if you are aiming to heat the sensor to prevent freezing.

Tom... :slight_smile:

The fault current occurs when the sensor points North and the ends of the potentiometer are shorted to each other. 5V / 1mA = 5,000 ohms in series with the +5V wire. Note that this will affect the maximum reading.