Description

Enhance Your Projects with the KY-024 Linear Magnetic Effect Sensor Hall Module

Unlock new possibilities with the KY-024 Linear Magnetic Effect Sensor Hall Module. This versatile module, equipped with a linear Hall magnetic sensor and an LED indicator (located at digital pin 13), empowers you to effortlessly construct circuits that generate magnetic fields for various applications. Whether you’re an Arduino enthusiast or a Raspberry Pi aficionado, this module is tailor-made to elevate your projects.

Features:

  • Seamless Integration: Designed to seamlessly integrate into your projects, the KY-024 module brings together a linear Hall magnetic sensor and an LED indicator. By connecting the linear Hall magnetic module to digital pin 3, you can harness its potential effortlessly.
  • Alerting Insights: Craft innovative circuits that offer insight into magnetic field detection. The module’s LED indicator responds dynamically to the signals captured by the linear Hall magnetic sensor. Witness the LED illuminate in response to detected magnetic fields, providing valuable feedback.

Routines Source Code:

int Led = 13; // Define the LED interface
int buttonpin = 3; // Define the linear Hall magnetic sensor interface
int val; // Define the variable 'val'
void setup() {
pinMode(Led, OUTPUT); // Set up the LED as an output interface
pinMode(buttonpin, INPUT); // Set up the linear Hall magnetic sensor as an input interface
}void loop() {
val = digitalRead(buttonpin); // Read the value from the digital interface assigned to pin 3

if (val == HIGH) { // When the linear Hall magnetic sensor detects a signal, the LED flashes
digitalWrite(Led, HIGH);
} else {
digitalWrite(Led, LOW);
}
}

Specifications:

  • Brand: Keyes
  • Color: Red + Blue
  • Type: Magnetic Sensor Module
  • Compatibility: Compatible with Arduino and Raspberry Pi
  • Manufacturing Origin: China
  • Driving Voltage: DC 5V

Elevate your projects with the KY-024 Linear Magnetic Effect Sensor Hall Module, designed to seamlessly integrate into your creative journey. Uncover the world of magnetic field detection and response, and witness the LED indicator come to life as it interacts with the linear Hall magnetic sensor’s signals. Whether you’re a seasoned maker or just starting, this module promises a valuable addition to your toolkit.

Additional information

Weight 30 g
Dimensions 260 × 160 × 20 mm

Reviews

There are no reviews yet.


Only logged in customers who have purchased this product may leave a review.