how to use ugn3119u hall effect sensor

Discussion in 'General Electronics Chat' started by cemdogusyucel@hotmail.com, Apr 8, 2013.

  1. cemdogusyucel@hotmail.com

    Thread Starter New Member

    Apr 8, 2013
    5
    0
    hi, i want to make a tachometer with ugn3119u hall effect sensor, pin diagram is like this
    [​IMG]

    how can i use this open collector output, i want to get logic 1 pulse when magnet comes near sensor... thanks for help
     
  2. debe

    Well-Known Member

    Sep 21, 2010
    947
    184
    This is a circuit i used for a tacho on a diesel engine with a magnet on the crank pulley in a marine aplication. Second pic is calibrating it using 50Hz AC on a small soenoid coil to drive the Hall sensor.
     
  3. cemdogusyucel@hotmail.com

    Thread Starter New Member

    Apr 8, 2013
    5
    0
    i just want to get logic output when magnet comes near, i dont want to put the sensor on motor driver, i'll use mcu, i tried pull up resistor and some other things they dont work, what kind of circuit i must design?
     
  4. debe

    Well-Known Member

    Sep 21, 2010
    947
    184
    Using a pullup resistor in the circuit shown works & gives a pulse. Only one side of the Hall device is sensitive to magnetic fields. It needs to see a Nth pole then a Sth pole to switch it on/off.
     
  5. cemdogusyucel@hotmail.com

    Thread Starter New Member

    Apr 8, 2013
    5
    0
    i have 5v supply, i read 0.8 to 0.3v output when i use 10k pull-up, output changes all time, magnet doesn't even effect output voltage, i tried 2 different sensors, they're not broken
     
  6. shortbus

    AAC Fanatic!

    Sep 30, 2009
    4,015
    1,531
    Many Hall sensors are pole dependent, try turning your magnet over. If you have the N pole to the sensor, try putting the S pole to it.

    Also the magnet must pass over the "sweet spot". This is shown in the data sheet for the sensor.
     
  7. crutschow

    Expert

    Mar 14, 2008
    13,023
    3,236
    Post the complete circuit you are testing.
     
  8. cemdogusyucel@hotmail.com

    Thread Starter New Member

    Apr 8, 2013
    5
    0
    output with 10k pull-up worked, i see that i put magnet's wrong pole,

    what's sweet spot?
     
  9. shortbus

    AAC Fanatic!

    Sep 30, 2009
    4,015
    1,531
    On the data sheet it shows the different packages that the chip is made in. Each one of them has a small shaded box drawn on it, with dimensions from the edge of the package. The center of that shaded box is the center of the actual sensing part of the chip. The magnet must pass that spot to get a reading. That makes that shaded box the 'sweet spot'. A slang word for the most sensitive place.
     
Loading...