user57281: it's a UGN3503 hall effect sensor, in some schematics they used a 100uf capacitors and data connected to analog pin and in some a pull up resistor and data connected to digital pin.
as someone new to both electronics and arduino i'm a bit confused on how to wire the sensor to the arduino.
what i want is just simply read the data from sensor and if the number is above or under defined value do something.
do i need a pull up resistor and/or capacitor?
what's the right and standard way to wire a UGN3503 to arduino?

user2881: The UGN3503 that you use gives out a analog voltage that changes when there's a magnetic field present. So this sensor needs to be connected to an analog pin.
If there is no field present the voltage is around 2.5Volt. If the south pole of a magnetic field is present the voltage will be higher that 2.5V. With a north pole the voltage will be lower that this 2.5Volt. The amount of higher/lower voltage is based on the strength of the field.
A capacitor near the sensor could help reduce, so called, noise. Though 100µF is too high. I think you mean 100nF (0.1µF).
The pull-up is for other types of hall-effect sensors. Some of these sensors just give a HIGH of LOW output, based on whether a magnetic field is present. Those you connect to a normal input pin.

57281: <p>it's a <a href="http://www.bristolwatch.com/hall_effect/ugn3503.pdf" rel="nofollow noreferrer">UGN3503</a> hall effect sensor, in some schematics they used a 100uf capacitors and data connected to analog pin and in some a pull up resistor and data connected to digital pin.</p>

<p>as someone new to both electronics and arduino i'm a bit confused on how to wire the sensor to the arduino.</p>

<p>what i want is just simply read the data from sensor and if the number is above or under defined value do something.</p>

<p>do i need a pull up resistor and/or capacitor?</p>

<p>what's the right and standard way to wire a UGN3503 to arduino?</p>
 2881: <p>The UGN3503 that you use gives out a analog voltage that changes when there's a magnetic field present. So this sensor needs to be connected to an analog pin.</p>

<p>If there is no field present the voltage is around 2.5Volt. If the south pole of a magnetic field is present the voltage will be higher that 2.5V. With a north pole the voltage will be lower that this 2.5Volt. The amount of higher/lower voltage is based on the strength of the field.</p>

<p>A capacitor near the sensor could help reduce, so called, noise. Though 100µF is too high. I think you mean 100nF (0.1µF).</p>

<p>The pull-up is for other types of hall-effect sensors. Some of these sensors just give a HIGH of LOW output, based on whether a magnetic field is present. Those you connect to a normal input pin.</p>
