Main Content

Home Automation

Home Automation Using Bluetooth

In this Instructables, I am going to make an home automation project to control my home appliances with my smart phone(android phone) via Bluetooth. Here In my study room there are four electrical appliance’s (Bulb, Tube light, Fan and Cooler). I normally turns on and off these appliances with the help of mechanical switches. For controlling these appliances with my smart phone I am going to use 4 Electromechanical switches( Relay’s). I am controlling there relays with an RP2040 Microcontroller. The reason behind selecting this microcontroller is that it can be programmed using either Python(Micropython or Circuit Python) or C/C++. The maximum operating frequency of RP2040 is 133MHz. It has 2MB(Mega Bites)of external Flash memory. It supports SPI, I2C and UART Communication Protocols.

For communicating with smart phone’s Bluetooth I am using HC-05 Bluetooth module. It uses UART communication protocol for communicating with a microcontroller or microprocessor.

I have downloaded Bluetooth Serial Terminal app to on or off the appliances. Now Let’s get started.

Hardware Requirements

Electronic parts
- Raspberry Pi Pico
- 4-Channel Relay
- HC-5 Bluetooth
- Breadboard
- Jumper wires
- Micro-USB cable
- 5V/2A SMPS adapter
- 16x2 LCD Display
- I2C module
- Wires

- Screw Driver
- Soldering Iron
- Soldering Flux
- Electrical Tape

Software Requirements
- Thonny(Python IDE for beginners)
- MIT App Inventor
- MicroPython Firmware For Raspberry Pi Pico”

Link to article