How IR proximity sensing works, sensor pinout and types, IR vs PIR, then a project that counts objects on the OLED and switches an LED — usable as an object counter, automatic street light, or home light system.
Objectives: Explain IR reflective sensing · Distinguish IR from PIR · Build a counter with persistent state · Trigger an output from a sensor event
Components: Arduino Uno · IR proximity sensor · SSD1306 OLED · LED + 220Ω resistor
Code: https://github.com/Arun-Roshan/IR-Sensor-Automation-Object-Counter-Arduino.git — IR Sensor repo