Question about IR wiring, did someone use a IR-Sensor?

Hello
i try to build a plug for my heatingmachine. I found some wiring cricuit and i tried to remake this.

Know i want understand the wiring. Can you help me?

Here is a picture:

My basics:
Rx get some data to the esp
Tx send some data from the esp
so i use two IR Sensor. One send data, the other want get/read data

the TX sensor:
is powerd by 3.3v with a 180ohm resistor. i will use 220ohm. the resistor set the senibility higher...
The cathode is connected to the TX pin. It will send the data.
WHY ISN'T here any connection to ground?

the RX sensor:
is powerd by 3.3v with a 10k ohm resistor. the resistor set the senibility higher...
the cathode is connected to ground.
WHY IS IT CONNECTED WITH D8????
What daoes the D8 pin do???

thank you for your help!

Was a program (code, sketch) shown with the drawing? Can you copy/paste the program here?

The drawing seems to indicate that when the input IR LED changes state/level, so will D8 .

There is no connection to GND because the low signal is handled by the TX pin

The schematic seems to be wrong because D8 is connected to GND and it doesn't make much , it will always read LOW.

i have it from here:

but i will use a other sketch. so i want to understand this wiring to check it for the other sketch

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.