Demo GIF
" data-cpx-injected="1"> Occupancy-Aware Room Controller — Arduino Mechatronics Build | CodeProven

Smart Home & Building Mechatronics · Intermediate · Occupancy

Occupancy-Aware Room Controller

Presence-aware lighting and ventilation controller with manual override.

Firmware status: generated starter scaffold — hardware validation required.

Hardware scope

ESP32 + PIR/mmWave + relay/MOSFET outputs + manual override

Components

  • ESP32
  • PIR/mmWave
  • relay/MOSFET outputs
  • manual override

Tools

  • USB programming cable
  • Multimeter
  • Current-limited bench supply
  • Screwdriver and wire tools

Build steps

  1. Inventory the board, actuators, sensors, and power rails listed for S02.
  2. Build and inspect the low-voltage wiring against the supplied connection diagram before connecting actuators.
  3. Flash the firmware, run the startup self-check, and record the printed board and firmware version.
  4. Calibrate the sensors and limits, then run the acceptance tests at the lowest safe energy level.

Test and expected result

Test false positives, timeout behavior, manual override, and power-loss recovery.

Acceptance checks

false positives, timeout, override priority, power-loss recovery

Safety and limits

Use low-voltage demo loads only.

Guide source: generated starter scaffold — hardware validation required

Download Arduino source code

Download connection diagram SVG

Related projects

Back to all project guides · Study the course