Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Hall-effect sensor, need to know resistance

  1. Mar 9, 2010 #1
    Im trying to use a hall effect linear sensor for position sensing. the sensor im looking at getting is http://www.alliedelec.com/Images/Products/Datasheets/BM/HONEYWELL_ELECTROCORP/642-2257.PDF" [Broken].

    The application I will be using it in is an electronic drums hi hat pedal. To achieve variable control of the virtual opening/closing of the hi hat, the drum module I am using requires the pedal "must have a hat down resistance of <100 ohms and hat up of >10k ohms."

    I know that V=IR but not sure how to find the resistance here. Based on this products specs I would like to know the resistance in ohms of this sensor in order to figure out if its feasible to use and whether or not ill need to add a pull up resistor or trim pot, etc in line to make it compatible, etc. Thanks in advance!!
    Last edited by a moderator: May 4, 2017
  2. jcsd
  3. Mar 9, 2010 #2


    User Avatar

    Staff: Mentor

    Welcome to the PF. How are you planning on making a magnetic field that varies linearly with position? The Hall sensor says it's outout is linear with B-field, but proximity sensing a magnet wouldn't seem to be real linear itself. How linear do you want to make the output with respect to the high hat opening size?
    Last edited by a moderator: May 4, 2017
  4. Mar 9, 2010 #3


    User Avatar
    Science Advisor
    Gold Member
    2017 Award

    I see your problem. This device appears to give a 'Voltage' output swing of 0.4V into a 4.7kΩ load yet the drum module is stating its required input in a different way. Why not feed a simple transistor 'driver' circuit with this output to pull the drum module 'up' or 'down', whichever you need? Can you look at the spec of the drum module to find what's actually at its input? I should imagine that the required resistances are to ground.
    Is this just an on/off requirement or is it somehow proportional control? If it's just on/off then a reed switch would provide the necessary 'logic level' translation.
  5. Mar 9, 2010 #4
    @berkeman:thanks nice to be here. this has been accomplished by others using a traditional acoustic type hi hat stand by fixing the hall effect sensor inside the bottom hi hat cymbal then attaching a neodymium ring magnet to the hi hat clutch just underneath the top hi hat cymbal then adjusting their proximity to achieve desired response. The magnet is moved towards and away from sensor via hi hat pedal mechanism.

    What I'm trying to do is a little bit different. In my electronic drum kit there is a hi hat pedal which controls the virtual opening/closing of the hi hat and theres a fixed cymbal (rubber pad with a piezo) for the drummer to hit..there is no stand.
    Currently, my pedal operates as a momentary switch; either fully open or fully closed. I have upgraded drum modules and the new one allows for variable control of the hi hat provided the pedal is capable of sending positional signals.
    The sensor would be fixed to the base of the controller and the magnet attached to underside of foot pedal just above the sensor. Pushing the pedal down brings magnet almost in contact with the sensor which alters the resistance and Vout. I can fine tune the linearity of the circuit by adjusting placement and strength of the magnet and fine tune via parameters in the module.
  6. Mar 9, 2010 #5
    Typically, the module reads the voltage coming in from the foot pedal and varies its response accordingly. The hall effect sensor would be wired to a TRS output jack and 1/4" stereo cable routes the signal to the module.

    Unfortunately, I dont know the voltages the module is looking for and the manual only mentions the 'ohms' specs I mentioned above. I guess I am assuming that if I can create a circuit within those parameters that I'll be able to fine tune the functionality via control params within the module menu.
    I am attempting to make a on/off pedal into a continuously variable pedal by using a hall effect sensor. It has been accomplished before with other drum modules so I'm sure it will work here I just need to find out how. blazing trails...

    Im sorry sophiecentaur, I didn't follow you when you stated the 'Voltage' output swing of 0.4V into a 4.7kΩ load.... I'm learning all of this on the fly...would you please tell me what you meant and where/how you got the 4.7 kohm load?
    Last edited: Mar 9, 2010
  7. Mar 10, 2010 #6
    I suspect that your drum module input is a current source (or perhaps a voltage source with a series resistor), perhaps 10k to match the range specified in the OP. The best thing you can do is a) measure the voltage of the module input open circuit (with no load connected) and b) measure the module input current with the input shorted. This will allow designing a matching circuit from the Hall Effect sensor.

    Bob S
  8. Mar 10, 2010 #7
    Ok I can do that but I need to know how I go about getting those measurements.. is it possible to get the measurements by reading them from the tip/ring/sleeve of the cable plugged into that input? If so, can you guide me as to how? Thank you for your help.

  9. Mar 10, 2010 #8
    Yes, you read the voltage and current by measuring them at the tip/ring/sleeve of the input cable. Use a simple voltmeter with a built-in milli-amp-meter. The dc voltage is probably less than 10 volts (open circuit), and the dc current probably less than 10 milliamps (shorted circuit).

    Bob S
  10. Mar 14, 2010 #9
    Alright, so the voltage is 5 volts and I'm not sure I measured the current correctly but I believe it is 6.5-6.6mA? How I measured current is set the multimeter to 20mA, with the module on, I turned it off then put the red lead on the sleeve and black lead on the tip and the reading jumped around for a bit then settled down around those numbers. Does that sound about right?
    I really want to get this hall effect sensor hat pedal set up so I hope this info does the trick! Whats the next step? thx
  11. Mar 14, 2010 #10
    These measurements are very informative. It implies that the input impedance is a ~760-ohm resistor connected to a 5-volt source. I will guess that a suitable Hall Effect output would be a common-emitter open-collector NPN transistor with the output collector current being 0 to 6.5 milliamps. A voltage output 0 to 5 volts should also work, as long as it can sink up to 6.5 milliamps. The hat-down resistance < 100 ohms corresponds to an input voltage less than about 100*5/(760+100) = 0.58 volts, and a hat-up resistance > 10 kohms corresponds to ~ 5 volts.

    Bob S
  12. Mar 15, 2010 #11
    Thanks so much Bob for this great information. Based on the above information, will http://www.semiconductorstore.com/cart/pc/viewPrd.asp?idproduct=8453" be suitable for the intended application?

    Also, will this require any additional electronics (resistors, battery, etc) in the circuit to make it compatible with the drum module? If so what are they?

    I plan to wire the HES to a 1/4" output jack in a project box with a TS cable connecting to the drum module hat controller input jack. The project box will reside at the base of the hi hat pedal. The magnet will be mounted to the underside of the pedal and distance from the sensor proportional to pedal open/close position. Hopefully, this will accomplish with <$10 what Yamaha, Roland, etc attempt to do while charging >$150. Plus the solution is more elegant.. no pots, no opticals, no moving parts other than the affixed magnet. Much thanks again to you Bob for your generous help.
    Last edited by a moderator: Apr 24, 2017
  13. Mar 15, 2010 #12
    Could you please verify for me that I indeed measured the DC current using the correct technique? I am just uncertain as to whether I did or not and if this value is actually valid. Thanks!
  14. Mar 15, 2010 #13
    Your measurements are correct. You need to do three things.
    1) You need a source of dc volts between 9 and 15 volts. You need to purchase a 7806 3-pin regulator (at local electronics store) to generate a regulated 6 volts for the Honeywell Hall Effect sensor and an op-amp.

    2) The Honeywell sensor will not sink 6 milliamps, so you need to buffer the output with an opamp. Buy a LM324 quad op amp or preferably a LM358 dual op amp (these work on a single rail 6 volt supply).You need only one op amp. Initially this should be wired as a noninverting gain of one (voltage follower)**. Put a ~50-ohm resistor in series with the op-amp output to the drum module.

    3) Connext the ground of the sensor and the op-amp to the neg terminal of the 7806. connect the positive termial of the sensor and the op-amp to the +6 volt output of the 7806

    ** connect the Hall Effect sensor output to the (+) input of the op-amp. Connect the output of the op-amp back to the (-) input of the op amp. Connect the output of the op-amp to a ~50 ohm resistor in series with the drum module.

    Bob S
  15. Mar 15, 2010 #14

    For the 50-ohm resistor, which wattage do I need (1/8, 1/4, 1/2, 1, 2, 5, 10, 50, etc)?

    Are any capacitors and/or diodes necessary?

    Project parts list
    - SS495A Hall Effect Sensor linear
    - Magnets
    - Breadboard
    - Project Box
    - 1/4" TS Phone Jack

    This is going to be awesome if it works
  16. Mar 16, 2010 #15
    Please confirm that you want a variable analog hi-hat control ("variable control of the virtual opening/closing of the hi hat") and not an up/down open-close switch, because the circuits are different (although both use the same opamp). For the circuit I described above, change the connection from the output of the opamp back to the (-) input with two 10k resistors in series. This is so that if you need gain, you can attach a third 10k resistor from the junction between the two 10k's to ground. This will give x2 gain.
    Bob S
  17. Mar 17, 2010 #16
    Yes, variable analog hi hat control is what I'm after. Drum modules capable of this functionality typically allow a range for hi hat pedal 'openness' and are able to generate random minute changes to the samples played based on whether the pedal is closed, 1/4 open, 1/2 open, 3/4 open or fully open. The pedal I am currently using can only send on/off signals but is perfect for use in a DIY conversion like this.

    Given that I am trying to achieve continuously variable hi-hat control, is this change still necessary? I am unclear as to whether you meant for this change to be implemented regardless of analog or on/off hi-hat control or if I should make the change to the circuit only IF I'm trying to achieve on/off control.
  18. Mar 17, 2010 #17
    Ok I think I made a mistake above. I rechecked the module input after doing some reading and what I quoted above isn't for the current, it is the resistance. When the selector dial on my multimeter is pointing to '20k' for [tex]\Omega[/tex], the other end points to '20m' for ~A.

    So with the module turned off I get 6.5k [tex]\Omega[/tex] and with the module turned on, if I reverse the leads, I get -4.96 with the selector at 20k [tex]\Omega[/tex] and -38.3 with the selector at 200k [tex]\Omega[/tex]. Not sure if those last 2 numbers would tell you anything, I just thought it was odd that they were so different..

    As for the current, I retesed and with the module on I get 1.03mA and 0.00mA when it is off.

    The voltage is 4.95.

    I apologize for the error, I just misread where the dial was pointed. I assume this will change the design of the circuit?
  19. Mar 17, 2010 #18
    What I present here (in thumbnail) is an amplifier circuit that interfaces between the Hall Effect sensor and the module input. The amplifier can be run with a gain of one, or a gain of 9.5.

    The amplifier shown is the Linear LT1413, which is the same as the National LM358. The power supply is the 7806 (6 volts out).

    V1 represents (simulates) the Hall Effect sensor output with a 2.5 volt quiescent dc offset and a 0.1 volt peak, 1000Hz sine wave. For a gain of one, all you need is the 10k (R1) from the LM358 output back to the (-) input. The simulation shows two more resistors, R2 and R3 (2k and 2.8k) with the ratio chosen such that the midpoint voltage (between R2 and R3) out is also 2.5 volts. If the (-) input is also tied the the R2 R3 midpoint via the gain switch (as shown), the amplifier gain is about 9.5, which is shown in the simulation. Do NOT put a capacitor from the midpoint to ground, as R2 and R3 are part of the feedback gain circuit.

    If you need the gain, you may have to use a potentiometer to tweak the R2 R3 midpoint voltage to get a 2.5 volt quiescent voltage out.

    Bob S

    Attached Files:

  20. Mar 18, 2010 #19
    Wow thank you again for the input. I think this info is way over my head as I have very little knowledge of this sort of thing but I will try to figure it out.

    Btw, does the above info take into consideration the info I gave in my previous post (#17)?
  21. Mar 19, 2010 #20
    Yes. The circuit I show in the previous post has a voltage output Vout between ~ 0 volts and ~ 5 to 6 volts. The current drawn from the input module will be ~ 1.03 mA x (5- Vout)/5, which is just like a resistance load on the Hi-Hat sensor.

    Bob S
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook