| Parameter | Value | |-----------|-------| | Supply Voltage | 4.5V – 24V (IC dependent) | | Output Sink Current | 25 mA | | Operating Temperature | -40°C to +85°C | | Storage Temperature | -65°C to +150°C |
| Parameter | Min | Typ | Max | Unit | |-----------|-----|-----|-----|------| | Supply Current | 3 | 5 | 10 | mA | | Output Low Voltage | – | 0.2 | 0.4 | V | | Output Leakage (High) | – | 0.1 | 10 | µA | | Rise Time | – | 0.5 | – | µs | | Fall Time | – | 0.5 | – | µs | yl105 datasheet
The 49E sensor has a sensitivity of typically 1.4 mV/G to 2.5 mV/G. The datasheet usually specifies a useful range of ±600 Gauss to ±1000 Gauss. This is excellent for neodymium magnets (detection up to ~2-3 cm) and works reliably with ceramic magnets (~1 cm). | Parameter | Value | |-----------|-------| | Supply
A: Since YL105 is a generic module name, no single "official" PDF exists. Use this guide along with the datasheet of the actual Hall IC on your module (e.g., AH3144, SS441A, or OH137). int hallPin = 2; int ledPin = 13;
int hallPin = 2; int ledPin = 13; int hallState = 0;void setup() pinMode(hallPin, INPUT); pinMode(ledPin, OUTPUT); Serial.begin(9600);
void loop() hallState = digitalRead(hallPin); if (hallState == LOW) // active low typical digitalWrite(ledPin, HIGH); Serial.println("Magnet detected"); else digitalWrite(ledPin, LOW); delay(100);