Free

Smart Home Automation

Control lights and a fan from sensors — and run it without owning any hardware.

  • Arduino
  • C++

About this project

Lights that switch on when the room gets dark, a fan that responds to temperature, and a manual override button. It is the standard first automation project, written to be understood rather than copied.

The part that makes it different: it runs in Priodemy Labs, our free Windows app. You can drag the wiring, watch the LEDs respond and plot the sensor values live without owning an Arduino. When you do get the hardware, the same sketch uploads unchanged.

What you will learn

  • Read a sensor and drive an output based on what it says
  • Understand digital versus analog pins, and when each is the right choice
  • Debounce a real-world input instead of trusting it
  • Use the serial monitor to see what a program is actually doing
  • Read a wiring diagram and reproduce it correctly

Before you start

  • No prior electronics needed
  • An Arduino UNO if you want to run it on real hardware — optional

New to Arduino? The free Arduino course covers everything this project assumes.

Academic integrity notice

These projects are provided for learning, experimentation and reference. Understand the code, modify it for your own requirements, and acknowledge external work according to your institution’s academic policies. Priodemy does not supply work to be submitted as your own.