How Hall-effect sensors & magnets translate physical position into digital signals
A magnetic joystick carries a single permanent magnet on the stick tip. As you move the stick, the magnet sweeps past fixed Hall-effect sensors on the PCB. Move your mouse over the joystick to see sensor activation.
Move your mouse over the joystick above â the graphs below update in real time, recording the last 5 seconds of movement at three different ADC resolutions.
Real Hall sensors pick up electromagnetic noise. Higher resolution makes noise more visible in raw ADC readings. The jitter is live â each frame regenerates the noise to show the raw ADC reading.
5 V / 4096 â 1.2 mV.
Tiny EMI, temperature drift, or magnet imperfections become visible as jitter.
Cheap 5-bit controllers skip this problem because their coarse quantization (156 mV steps)
naturally hides jitter â but at the cost of precision.
| Property | 5-bit | 8-bit | 12-bit |
|---|---|---|---|
| Steps per axis | 32 | 256 | 4 096 |
| Quantisation step | ~3.125 % | ~0.39 % | ~0.024 % |
| Max quantisation error | Âą1.56 % | Âą0.20 % | Âą0.012 % |
| Typical ADC | 8-bit ADC (top 5 bits) | 8-bit ADC | 12-bit ADC / oversampled |
| Cost | $ | $$ | $$$ |
| Best for | Budget / retro toys | Mainstream controllers | Precision / sims |
| Noise sensitivity | Low (jitter hidden) | Moderate | High (needs filtering) |