Linear Sensor are critical to the performance to their sensitivity and linearity over their specified operating temperature range and immune to most environmental disturbance that may affect optical or mechanical devices, such as vibration, moisture, dirt or oil films, ambient, lightning, etc.
Linear Hall Effect Sensor are commonly used in current sensing, power sensing (watt-hour-metering), current trip-point detection, strain gauge, biased (magnetically) sensing applications, Ferrous metal detection, proximity sensing, Joy-Stick with intermediate positions sensing, liquid-level sensing, temperature / pressure / vacuum sensing, throttle or air valve positions sensing, non-contact potentiometers, etc.
Components Required
- Raspberry Pi / Banana Pi / Orange Pi (If your using Banana Pi or Orange See first the GPIO Pins)
- Hall Effect Sensor
- LED (Any Color)
- 220 Ohms Resistor
- Solder Less Bread Board
- Jumper Wire / DuPont Wire
- 10k Resistor (Optional)
Wiring Diagram
For C Code
[crayon-67429b017617b440869629/]
For Python Code
[crayon-67429b0176185023600159/]