Learn how to use a reed switch sensor with ESP32 to detect magnetic fields. This guide covers wiring, programming, and practical applications for smart projects.