> **Source:** Core Electronics is an Australian maker-electronics retailer and manufacturer based in Newcastle, NSW, run by a team of makers and educators. We design and manufacture our own product lines (PiicoDev, CE originals) and are official retailers for iconic maker and industrial brands including Raspberry Pi, Arduino, Adafruit, SparkFun and DFRobot. Orders ship Australia-wide from our Newcastle warehouse. Prices are in AUD and include GST. Pricing, stock and dispatch on this page are generated from the store's live catalog. Full machine-readable index: https://core-electronics.com.au/llms.txt

# Hall effect sensor (analog,threshold)

**Type:** Product page · **SKU:** CE09441 · **Brand:** [Core Electronics](https://core-electronics.com.au/brands/core-electronics-australia)
**Page:** https://core-electronics.com.au/hall-effect-sensor-analog-threshold.html ([markdown](https://core-electronics.com.au/hall-effect-sensor-analog-threshold.html.md))

Sense invisible magnetic fields around you! Use the adjustable digital output to set a threshold or the analog output to get a gauge of the distance.

## Pricing

- **Price:** $1.80 (inc GST) — $1.64 AUD, exc GST
- **Quantity discounts:** 25+ $1.55 (exc GST) · 50+ $1.47 (exc GST) · 100+ $1.39 (exc GST)

## Availability & dispatch

- In stock, ships same business day if ordered before 2PM (Australia/Sydney).
- We can dispatch 34 today; more stock is typically available with a 8–12 day lead time.

## How to buy

- **Build a cart:** compose `https://core-electronics.com.au/cart/link?items=CE09441:1` (comma-separated SKU:qty pairs) and share the link. Opening it shows a confirmation page with live pricing and stock before anything is added to the cart.
- **Verify the cart first:** fetch `https://core-electronics.com.au/cart/link/CE09441:1.md` for live line prices (inc & exc GST, quantity discounts applied), stock and dispatch estimates, and totals. Append `/to/{AU-postcode}` (or `/to/{country-code}:{postcode}`) before `.md` for delivery options and prices to that destination. Unknown, retired, or out-of-stock SKUs are flagged. (Query form `cart/link.md?items=...` also works but some robots parsers refuse query strings here.)
- **Checkout** is completed on-site and includes a captcha at the payment step. Share the cart link; checkout takes it from there.
- **Search the catalogue:** `https://core-electronics.com.au/search/{query}.md` (URL-encode the query; pages 2-3 at `search/{query}/{page}.md`; `search.md?q=` also works)
- **Payment methods, purchase orders, policies and contact details:** https://core-electronics.com.au/llms.txt
## Description

Sense invisible magnetic fields around you! Use the adjustable digital output to set a threshold or the analog output to get a gauge of how far away a magnet is or sense ambient fields around you!

Pair with [a small cube magnet](https://core-electronics.com.au/magnet-square-0-125.html) to make a puzzle box or a simple short-distance range sensor.

### Specifications

- Voltage input: 2.7-6.5V
- Onboard LED for power and going over the adjustable threshold

### Examples

#### Raspberry Pi Pico - Micropython

 ```
from machine import ADC, Pin
import time

a0 = ADC(Pin(27))  # Create an ADC object on pin 26 (ADC0)
d0 = Pin(22, Pin.IN, Pin.PULL_UP)  # Digital output from sensor

while True:
    reading = a0.read_u16()  # Read the value from the analog interface
    print("Sensor reading:", reading)
    
    threshold_exceeded = d0.value()  # Read the value from the digital interface
    if threshold_exceeded:
        print("Threshold exceeded!")
    
    time.sleep_ms(500)  # Wait for half a second before reading again
```

## Images

- [Product image 1](https://core-electronics.com.au/media/catalog/product/h/a/hall-effect-sensor.jpg)
