Target: ESP32 WROOM | Status: Connected

Lab 01: Conveyor Automation

Objective: Program the ESP32 so the conveyor motor (Digital Output) starts running automatically, and stops immediately when the proximity sensor (Digital Input) detects an object at the end of the belt.

I/O Hardware Mapping:
- Proximity Sensor -> GPIO 4 (Input)
- Conveyor Motor -> GPIO 18 (Output)

Engine: Ready
Virtual I/O Monitor

[DI] GPIO 4 (Sensor): ● LOW (Object Detected)

[DO] GPIO 18 (Motor): ● HIGH (Running)

main.cpp (ESP32)