How The Photoelectric Infrared Sensor work with Arduino

In this topic I will explain how the hoa-serie infrared sensors work with Arduino.
This the circuit of the infrared sensor with Arduino:

So all we need to install this circuit is:

  • Arduino
  • HOA-serie Infrared Sensor
  • 100 Ohm Resistor
  • 10 KOhm Resistor
  • Connection Wires
  • BreadBoard
  • LED
  • 560 Resistor

You can find the code in my Github:

How this type of Infrared work:
This type of infrared sensor use to calculate the rotation of motor and maybe in other ways.

How this Circuit Work:
You can see this video below to find how to install the circuit and it's work.

Video link:

If you have any question let me know.
admin@zachariabouzid.cf

This the circuit of the infrared sensor with Arduino:

Please post as an image in line, or on your github page.
Guide to posting images
Please remove the link to the shared file. Most people on this forum will be extremely suspicious of it, and I certainly won't follow it.