KY-024 Linear Magnetic Hall Sensor Module

KY-024 Linear Magnetic Hall Sensor Module image

View on Amazon

Overview

The KY-024 is a linear magnetic Hall sensor module that provides both analog and digital outputs. It is equipped with a potentiometer to adjust sensitivity and is suitable for detecting magnetic fields in various applications.

About KY-024 Linear Magnetic Hall Sensor Module

The KY-024 Linear Magnetic Hall Sensor Module is designed to detect magnetic fields. It features both analog and digital outputs: the analog output provides a voltage proportional to the magnetic field strength, while the digital output activates when the magnetic field exceeds a user-defined threshold, adjustable via an onboard potentiometer. This module is commonly used in applications such as speed sensing, position detection, and magnetic field measurement.

Where to Buy

Get Your KY-024

KY-024 Linear Magnetic Hall Sensor Module

Starting from

$2 per unit

Amazon com
Amazon.com Ships worldwide
Amazon de
Amazon.de Ships to EU
Aliexpress
AliExpress Best value option

Prices are subject to change. We earn from qualifying purchases as an Amazon Associate.

Technical Specs

KY-024 Specifications

Complete technical specification details for KY-024 Linear Magnetic Hall Sensor Module

📊 Technical Parameters

Operating Voltage 3.0V to 5.0V
Sensitivity 1.0 mV/G min., 1.4 mV/G typ., 1.75 mV/G max.
Dimensions 45 x 15 x 14 mm
Weight 1 g
Pin Configuration

KY-024 Pinout

The **KY-024** is a 4-pin linear magnetic Hall sensor module with dual outputs:

Visual Pinout Diagram

Pinout Diagram Primary
KY-024 Linear Magnetic Hall Sensor Module pinout
4
Total Pins

Pin Types

Power
2
Communication
2

Quick Tips

🔌

**Interface**: Dual output (analog + digital with comparator),🧲 **Sensor**: Linear Hall effect sensor

📊

**Analog Output**: Continuous voltage reading proportional to field strength,🚨 **Digital Output**: Threshold-based trigger (adjustable via potentiometer)

**Power**: 3.3V or 5V operation,🎯 **Applications**: Speed sensing, position detection, magnetic field measurement, proximity detection

Pin Descriptions

Pin NameTypeDescriptionNotes
1 GND
Power

Ground connection

2 +V
Power

Power supply

3.3V or 5V

3 D0
Communication

Digital output

HIGH when magnetic field exceeds threshold

4 A0
Communication

Analog output

Voltage proportional to magnetic field strength

Connection Guide

Wiring KY-024 to ESP32

To interface the **KY-024** with an **ESP32** for magnetic field detection:

Visual Wiring Diagram

Wiring Diagram Recommended
KY-024 Linear Magnetic Hall Sensor Module wiring with ESP32
4
Connections

Connection Status

Required
2
Optional
2

Protocol

Analog

Pin Connections

KY-024 PinConnectionESP32 PinDescription
1 GND Required
GND

Ground

2 +V Required
3.3V or 5V

Power supply

3 D0 Optional
GPIO17

Digital input (any GPIO)

4 A0 Optional
GPIO36

Analog input (ADC pin)

💡

**Dual Use**: Use analog for precise field strength or digital for threshold detection

📊

**ADC Pins**: Use GPIO32-39 for analog input on ESP32

**Voltage**: 3.3V recommended for ESP32 ADC compatibility

🎚️

**Adjustment**: Turn onboard potentiometer to set digital trigger threshold

🧲

**Linear**: Output voltage varies proportionally with magnetic field strength

Help & Support

KY-024 Troubleshooting

Common issues and solutions to help you get your sensor working

Common Issues

Debugging Tips

Code Examples

KY-024 Programming Examples

Ready-to-use code examples for different platforms and frameworks

Summary

Wrapping Up KY-024

The ESP32 KY-024 Linear Magnetic Hall Sensor Module is a powerful KY-0xx module sensor that offers excellent performance and reliability. With support for multiple development platforms including Arduino, ESP-IDF, ESPHome, PlatformIO, and MicroPython, it's a versatile choice for your IoT projects.

Best Practices

For optimal performance, ensure proper wiring and follow the recommended configuration for your chosen development platform.

Safety First

Always verify power supply requirements and pin connections before powering up your project to avoid potential damage.

Ready to Start Building?

Now that you have all the information you need, it's time to integrate the KY-024 into your ESP32 project and bring your ideas to life!

Similar Options

Explore Alternative Sensors

Looking for alternatives to the KY-024? Check out these similar sensors that might fit your project needs.

KY-018 Photoresistor Module

KY-018 Photoresistor Module

KY-0XX MODULE Analog

The KY-018 is a photoresistor module that detects ambient light levels. It outputs an analog signal corresponding to the light intensity,...

View Details
KY-001 Temperature Sensor Module

KY-001 Temperature Sensor Module

KY-0XX MODULE 1-Wire

The KY-001 is a temperature sensor module that operates within a wide temperature range. It supports 1-Wire communication and is based on...

View Details
KY-023 Dual Axis Joystick Module

KY-023 Dual Axis Joystick Module

KY-0XX MODULE Analog

The KY-023 is a dual-axis joystick module that provides analog outputs for X and Y positions, along with a digital output for a built-in...

View Details