Raspberry Pi Pico Projects

Raspberry Pi Pico Home Automation System


Home automation is the process of making your home more timely, comfortable, and energy-efficient by installing and connecting devices that automate tasks and systems around your home. A Raspberry Pi Pico home automation system can do all of this and more, by connecting devices like lights, appliances, sensors, and thermostats to the Internet and controlling them remotely using a smartphone or computer.

All you need is a Raspberry Pi Pico Board, Bluetooth module, relays, wires and an android phone for control. There is a large scope of home automation applications that we can build easily by using the Raspberry Pi Pico board.

Thank You NextPCB:

This project is successfully finished because of the service and support from NextPCB. NextPCB is one of the most professional PCB manufacturers in Global and has specialized in the PCB and assembly industry for over 16 years. Not only could NextPCB deliver the most creative printed circuit boards and assembly technologies in the most elevated quality standards, but the fastest delivery turnaround was also as fast as 24 hours.

Guys if you have a PCB project, please visit their website and get exciting discounts and coupons. if you sign-up using this link you will get free coupons worth $100. Checkout out NextPCB now and get amazing discounts on your first order.

Supplies for Raspberry Pi Pico Home Automation System

Components Required
  1. Raspberry Pi Pico –  https://amzn.to/3LgHC1s
  2. Bluetooth Module HC-05 – https://amzn.to/3MJOGnF
  3. 4 Channel Relay Module –  https://amzn.to/3Mr9UWZ
  4. Jumper Wires –  https://amzn.to/38fpnuy
  5. Breadboard – https://amzn.to/3OBy8jm

What is HC05 Module?

HC05_BLUETOOTH_MODULE with raspberry pi pico

The HC-05 and HC-06 modules are Bluetooth modules that we can use to communicate with Raspberry Pi Pico via Bluetooth. HC-05 Bluetooth Module is one of the best ways to communicate wirelessly with the Raspberry Pi Pico.  For example, we can use it to control a LED Or Relay from a mobile or tablet.

HC-05 Pinout 

HC-05 Pinout
  1. Enable / Key: This pin is used to toggle between Data Mode (set low) and AT command mode (set high). By default, it is in Data mode
  2. VCC: To give power or current to the module, Connect to +5V Supply voltage or 3.3V pin.
  3. GND: Connect to system ground(-).
  4. TXD: Transmit Serial data. It is used to wirelessly receive data by the Bluetooth module.
  5. RDX: Receive Serial data. When the Bluetooth module transmits data, the RDX pin is used to receive that data.
  6. State: The state pin is connected to the onboard LED, It tells whether the module is connected or not Bluetooth and is used as feedback to check if Bluetooth is working properly.

What is Raspberry Pi Pico?

raspberry pi picoIn February of this year, the Raspberry Pi Foundation released its latest microcontroller board, the Raspberry Pi Pico. At just US $4.00, the Pico is the cheapest board yet from the Raspberry Pi Foundation.

But don’t let the low price fool you, the Pico is a powerful little board. It features a Cortex M0+ CPU, 266MHz clock speed, 512KB of on-board flash storage, and 20 GPIO pins.

Raspberry Pi Pico Pinout


Schematics Diagram – Raspberry Pi Pico Home Automation System

The Circuit diagram is very straightforward. You have to connect the HC-05 Bluetooth module and Relay pins with Raspberry Pi Pico pins as per the schematic diagram. The schematic diagram is shown above. You may also follow the following pin mapping

Raspberry Pi Pico Home Automation
Circuit Diagram
Hc-05->Raspberry Pi Pico
  • VCC -> 3.3V
  • GND -> GND
  • RX -> GP0
  • TX -> GP1
Relay -> Raspberry Pi Pico
  • GND -> GND
  • IN1 -> GP2
  • IN2 -> GP3
  • IN3 -> GP4
  • IN4 -> GP5
  • VCC -> 5V

Raspberry_pi_pico_Home_Automantion_Schematic Diagram

Prepare the Thonny IDE for Raspberry Pi Pico Board

Thonny is now prepared to program your Raspberry Pi Pico board.

Source Code

Download app and full code from Github

Download Android App.

kodular app

Now, Let’s make a mobile application, To make a mobile app I used kodular.

Final Working

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button

Adblock Detected

Please consider supporting us by disabling your ad blocker