IR receiver giving constant current
I can’t read the language of the datasheet but, from the schematic it contains, this chip detects a 38kHz IR carrier, and grounds its output when it detects one. Hence, the output is “normally high” (albeit somewhat-high-impedance), hence the “constant flow of current” you experience.

The schematic below should work for you:







simulate this circuit &ndash; Schematic created using CircuitLab