On pg. 18 Figure 5 of this data sheet you will see a pulse train that allows for programming the sensitivity of the A1362 Hall-Effect sensor. So far I have tried to manually apply required voltage pulses (high,mid,low) as defined in the data sheet with no success.

Will I have better luck using an Arduino? I though this link was interesting, but I'm not sure if it is what I need:


Could someone point me to either a microcontroller that can program a hall-effect sensor or sample microcontroller code that programs any sensor using PWM?

  • 1
    \$\begingroup\$ I provided an answer but when I looked at the voltages, you have to use up to 27V, which is very high, so you'd need circuitry to generate 27V from 5V using a DC/DC boost and then use some sort of switch to create the pulse train. \$\endgroup\$ Commented Mar 1, 2013 at 2:34
  • \$\begingroup\$ If you're comfortable with doing it manually (its a one time thing, it seems, but its a lot of pulses to count and keep track of), it looks like it should work. A PWM will not help you. An arduino or any microcontroller can, although the voltage levels involved will need some extra circuitry to build. \$\endgroup\$ Commented Mar 1, 2013 at 2:39
  • 1
    \$\begingroup\$ And if you try to do this manually (using switches and a 27V power supply) pay attentions to the bouncing of your switches. You may thing that you are sending only one "1" bit when was is actually on the cable is 10's of "1 0 1 0 1 0" due to the bounces of your switch. \$\endgroup\$
    – Blup1980
    Commented Mar 1, 2013 at 6:54

1 Answer 1


The Allegro datasheet suggests programming using either their sensor evaluation kit ($500), or using a programmable power supply. You can find a suitable usb programmable psu on ebay ($150 or so). Check that software is available to create a pulse train (really a step train).


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.