GMW Associates

GMW
Angular Position Development KIT for 2SA-10 AN_125KIT
Magnet target
The AN_125 development kit provides a complete solution to
evaluate the 2SA-10-SO, 2-axis Hall sensor in angular position
applications. A PIC16F684 microprocessor interface/interpolator is
included with software to convert the 2SA-10’s SIN and COS
signals to an analog angular position output with 0.1 deg resolution
and +/- 0.5 deg accuracy. The kit is very flexible and also provides
a PWM output proportional to the angle. The full scale angle range
can easily be set as well as two angles for digital outputs.
Kit Specifications



Input Power:

Voltage: 8-16VDC

Current: 25mA
Outputs:

Analog voltage: 0.5 to 4.5 VDC

PWM: 10% to 90% @ 2KHZ rep rate

Discrete outputs: 2ea. Open collector digital ( 20 mA)
User Interface

Push button switch - Calibration

Push button switch - Minimum angle set

Push button switch - Maximum angle set

Push button switch - Digital out 1 position

Push button switch - Digital out 2 position

LED - Calibrate / Heartbeat

LED - End of travel - Min angle

LED - End of travel - Max angle

LED - Digital Position 1

LED - Digital Position 2
¼ inch shaft
magnet holder
PWM Out



+V
P
CAL
A1 Set
A2 Set
LP
Filter
PWM
Analog Out
A
D1 Set
2SA-10
Operational Description

(7-16VDC)
5 V Reg
D2 Set
SIN
Y
D2 Out
D2
COS
X
D1 Out
D1
D2
COS
GND
"X" TP
D1
SIN
GND
"Y" TP
Functional Block Diagram
Normal Operation

No magnet present: If the vector magnitude of the sensor is less than 20% of full scale, the LEDs will blink in a distinct ”seeking
pattern”. Analog output will be 0.0V and both digital outputs will be inactive.

Magnet present: CAL light will be lit solid. Analog output will track magnet position from 0.5V at the user defined minimum position
to 4.5 V at the user defined maximum position. If the magnet position travels beyond the user defined minimum position, the
output will hold at 0V and the MIN LED will light. If the magnet position travels beyond the user defined maximum position, the
output will hold at 5V and the MAX LED will light. If the magnet is with +/- 5 deg of a stored digital position, the associated digital
output will be active.
Min / Max Position Set

User presses MIN or MAX button. System stores the present angular position as the Min or MAX value. MIN or MAX LED will blink
rapidly for 1 second to confirm storage.
D1 / D2 Position Set

User presses D1 or D2 button. System stores the present angular position as the D1 or D2 value. D1 or D2 LED will blink rapidly
for 1 second to confirm storage
Calibration

User presses the CAL button to initiate calibration. Calibration light blinks and remains blinking through the calibration process.

User moves the magnet through several rotations. Min and Max values are sampled for each axis through this process.

User presses the CAL button to finalize calibration. Calibration values (min, max, and center of each axis) are stored. Calibration
stops blinking.
5.5
Kit Contents
Sample output graph
for 50 deg to 200 deg range
5
2SA-10 sensor and microprocessor PCB assembly with 9V battery clip
Plastic guide and knob with magnet
¼ inch shaft holder with magnet
CD with the following documentation

Circuit schematic

System schematic

Bill of materials

Program listing

Program documentation / flow diagrams

Device programming files (HEX records)

Users Guide
4.5
Analog output voltage




4
3.5
3
2.5
2
1.5
1
0.5
0
-0.5
0
50
100
150
200
250
300
350
Angle of rotation in deg
Note: Developed code will function with all PIC12#### and PIC16#### processors
GMW
AN_125_KIT.doc 20 Dec, 2004
955 Industrial Road, San Carlos, CA 94070 Tel: (650) 802-8292 Fax: (650) 802-8298
Email: [email protected] Web site: http://www.gmw.com