Mh Sensor Series Flying Fish Ir Sensor Datasheet Fixed 〈Instant Download〉

If your sensor isn't working like the "broken" datasheet said, here is the troubleshooting guide:

if (sensorState == LOW) { // Object is close digitalWrite(ledPin, HIGH); Serial.println("Object Detected!"); } else { digitalWrite(ledPin, LOW); Serial.println("Clear"); } delay(100); } Mh Sensor Series Flying Fish Ir Sensor Datasheet Fixed

// MH Flying Fish IR Sensor Test int sensorPin = 2; // Digital Pin 2 int ledPin = 13; // Built-in LED void setup() { pinMode(sensorPin, INPUT); pinMode(ledPin, OUTPUT); Serial.begin(9600); } If your sensor isn't working like the "broken"

You don't need a "fixed" datasheet; you just needed the correct one. The MH Flying Fish is a TCRT5000 reflective sensor paired with an LM393 comparator. Treat it as a digital switch that triggers when something gets within 2cm. The datasheet says "20cm"

The datasheet says "20cm"? Lie. This is a proximity sensor, not a distance sensor. Max reliable range is ~2.5cm (1 inch). If you need long range, buy an ultrasonic or Time-of-Flight (VL53L0X) sensor.

Support

For any questions please send us message via

Your message was successfully sent!