X

HUABAN 3 Pack KY-003 Hall Magnetic Sensor Module

Product ID : 34161880


Galleon Product ID 34161880
Model
Manufacturer
Shipping Dimension Unknown Dimensions
I think this is wrong?
-
759

*Price and Stocks may change without prior notice
*Packaging of actual item may differ from photo shown

Pay with

About HUABAN 3 Pack KY-003 Hall Magnetic Sensor Module

Analog magnetic sensor module and a digital interface, built-in 13 LED build a simple circuit to produce a magnetic flash Makers.13 comes with digital interfaces of the LED, the analog magnetic sensor connected to the power board analog 5 Interfaces, when analog magnetic sensor to a signal, LED lights,otherwise the lights out. With reference program: int sensorPin = A5; // select the input pin int ledPin = 13; // select the pin for the LED int sensorValue = 0; // variable to store the value coming from the sensor void setup () { pinMode (ledPin, OUTPUT); Serial.begin (9600); } void loop () { sensorValue = analogRead (sensorPin); digitalWrite (ledPin, HIGH); delay (sensorValue); digitalWrite (ledPin, LOW); delay (sensorValue);