Bluetooth Home Automation Cheat sheet

A 28-minute build

Control lights and a fan from your phone

You'll build a mini smart home: three lights and a fan, switched on and off from an Android phone over Bluetooth. You add one part at a time and test it before moving on.

📱 You need an Android phone. The HC-05 Bluetooth module uses “classic” Bluetooth, which does not work with iPhones.

Safety first

How it works

Phone app→HC-05 Bluetooth→Arduino UNO→Relays→Lights & fan

The phone sends a letter, like B. The Arduino reads it and flips a relay. The relay switches the battery's power to a light or the fan.

Parts

The steps

  1. 0Check the board uploads5 min
  2. 1Relay module only4 min
  3. 2First light4 min
  4. 3Lights 2 and 34 min
  5. 4Fan3 min
  6. 5Bluetooth5 min
  7. 6Final code3 min