The MY-9892 is a versatile electronic component commonly used in various applications, including sensors, relays, and specialized integrated circuits. Its adaptability and reliability make it a popular choice for both hobbyists and professionals in the field of electronics.
Parameter | Value |
---|---|
Voltage Rating | 3.3V - 5V |
Current Rating | 10mA - 50mA |
Power Rating | 0.5W |
Operating Temp | -40°C to 85°C |
Storage Temp | -55°C to 125°C |
Dimensions | 10mm x 10mm x 5mm |
Pin Number | Pin Name | Description |
---|---|---|
1 | VCC | Power supply (3.3V - 5V) |
2 | GND | Ground |
3 | IN | Input signal |
4 | OUT | Output signal |
5 | NC | Not connected |
// Example code to use MY-9892 with Arduino UNO
const int inputPin = 2; // Pin connected to IN of MY-9892
const int outputPin = 13; // Pin connected to OUT of MY-9892
void setup() {
pinMode(inputPin, INPUT); // Set inputPin as INPUT
pinMode(outputPin, OUTPUT); // Set outputPin as OUTPUT
Serial.begin(9600); // Initialize serial communication
}
void loop() {
int sensorValue = digitalRead(inputPin); // Read the input value
if (sensorValue == HIGH) {
digitalWrite(outputPin, HIGH); // Set outputPin HIGH if input is HIGH
Serial.println("Input HIGH, Output HIGH");
} else {
digitalWrite(outputPin, LOW); // Set outputPin LOW if input is LOW
Serial.println("Input LOW, Output LOW");
}
delay(1000); // Wait for 1 second before next loop
}
No Output Signal:
Overheating:
Inconsistent Readings:
By following this documentation, users can effectively integrate the MY-9892 component into their electronic projects, ensuring reliable and efficient performance.