# Entry Exit Counter

Day 70 of the 100 Days 100 IoT Projects collection. Board: ESP32.

Two IR sensors count people entering and exiting, with Telegram alerts on the ESP32. Bidirectional foot-traffic sensing.

## How it works

Two IR beams sit a short distance apart in a doorway. Breaking beam A then beam B means someone walked in; B then A means they walked out. The ESP32 tracks the sequence, keeps a running occupancy count, and pings Telegram when it matters. Direction from order, not from magic.

## What you'll learn

- Directional beam sensing
- Sequence-based detection
- Occupancy counting
- Event notifications via Telegram

Full project (code, wiring diagram, Wokwi simulation): https://github.com/kritishmohapatra/100_Days_100_IoT_Projects/tree/main/Dual_IR_Entry_Exit_Detector_with_Telegram_Alerts

Summary by SkillShop. Code and diagrams belong to the original repo.
