Skip to content

This is the mini project that create using Raspberry Pi Pico with CircuitPython

Notifications You must be signed in to change notification settings

AimanRosman/Mini-projects-using-Raspberry-Pi-Pico

Repository files navigation

🍓 Raspberry Pi Pico Mini-Projects Collection

License Language Status

A collection of practical CircuitPython projects for the Raspberry Pi Pico, demonstrating integration with various sensors, displays, and actuators.

Pico Pinout


🌡️ 1. Temperature & Humidity Monitor

A real-time environmental monitor that alerts users when conditions go beyond comfortable limits.

Temp Monitor

📝 Overview

Displays real-time temperature and humidity readings on an OLED screen. If the temperature exceeds 28°C or humidity exceeds 58%, a buzzer alerts the user.

🛠️ Components

  • Raspberry Pi Pico
  • OLED Display (128x32)
  • DHT11 Sensor
  • Buzzer

🔌 Wiring Diagram

Temp Wiring

Component Pin Pico GPIO
OLED SDA GP0
SCK GP1
DHT11 OUT GP2
Buzzer + GP3

🔒 2. Safe Lock System

An infrared-based security system that detects unauthorized access to a safe.

Safe Locked Safe Violated
Locked Violated

📝 Overview

Monitors the safe door using an IR sensor. When the door is opened, the system triggers an alarm and increments an "intrusion counter" displayed on the OLED screen.

🛠️ Components

  • Raspberry Pi Pico
  • OLED Display (128x32)
  • IR (Infrared) Obstacle Sensor
  • Buzzer

🔌 Wiring Diagram

Safe Wiring

Component Pin Pico GPIO
OLED SDA GP0
SCK GP1
IR Sensor OUT GP2
Buzzer + GP3

🚪 3. Smart Door Control System

An automated entry system offering hands-free operation and feedback.

Door Control

📝 Overview

Uses an ultrasonic sensor to detect presence at the door.

  1. Detection: If someone is in range -> Buzzer beeps & OLED shows "Someone Outside".
  2. Action: Press the button to open the door (Servo rotates 90°).
  3. Auto-Close: Door closes automatically after 5 seconds.

🛠️ Components

  • Raspberry Pi Pico
  • OLED Display (128x32)
  • HC-SR04 Ultrasonic Sensor
  • Servo Motor (SG90)
  • Push Button
  • Buzzer

🔌 Wiring Diagram

Door Wiring

Component Pin Pico GPIO
OLED SDA GP0
SCK GP1
Button OUT GP2
Buzzer + GP3
Servo SIG GP4
Ultrasonic ECHO GP20
TRIG GP21

🚀 Getting Started

Prerequisites

  1. CircuitPython Firmware: Install the latest CircuitPython uf2 on your Pico.
  2. Libraries: Copy the lib folder from this repository to your Pico's lib folder. This contains essential drivers for the OLED, DHT11, and Servo.

Installation

  1. Clone this repository.
  2. Choose a project script (e.g., Door Control System.py).
  3. Rename the chosen script to code.py and copy it to the root of your Pico.
  4. The project will start automatically!

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

📄 License

This project is open-source.

About

This is the mini project that create using Raspberry Pi Pico with CircuitPython

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages