https://github.com/maronworks/pi-home
Capstone Project for Embedded System 2 as a 4th Year Computer Engineering student at Cagayan State University for sy: 2024-2025.
https://github.com/maronworks/pi-home
embedded-systems raspberry-pi tkinter
Last synced: 11 months ago
JSON representation
Capstone Project for Embedded System 2 as a 4th Year Computer Engineering student at Cagayan State University for sy: 2024-2025.
- Host: GitHub
- URL: https://github.com/maronworks/pi-home
- Owner: maronworks
- License: mit
- Created: 2024-12-10T02:17:06.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-25T10:54:16.000Z (over 1 year ago)
- Last Synced: 2025-06-17T04:30:34.670Z (about 1 year ago)
- Topics: embedded-systems, raspberry-pi, tkinter
- Language: Python
- Homepage:
- Size: 357 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# PiHome
**A Smart Home System Miniature Model**
PiHome is a functional smart home prototype designed to simulate key automation features like door control and lighting
management. Built with a Raspberry Pi as the main controller, it integrates hardware components and a user-friendly GUI
developed using Python's Tkinter library.
This project demonstrates the seamless interaction between physical controls and digital interfaces, showcasing the
potential of smart home technologies in improving convenience, safety, and energy efficiency.
---
## Features
- **Door Automation**: Control doors using a servo motor via the GUI.
- **Smart Lighting**: Manage LED lights through on-screen controls.
- **Real-Time Synchronization**: Ensure smooth operation between GUI and hardware components.
- **User-Friendly GUI**: Intuitive interface for controlling devices, designed with Tkinter.
- **Modular Design**: Easily expandable to include additional smart home features in the future.
---
## Project Components
### **Hardware**
- Raspberry Pi (Main controller)
- Servo Motor (Door control)
- LEDs and Resistors (Lighting management)
- Breadboard and Jumper Wires (Connections)
### **Software**
- **Python**: Logic implementation and GPIO control.
- **Tkinter**: GUI development.
- **GPIO Library**: Interfacing with Raspberry Pi hardware.
---
## Getting Started
### **Prerequisites**
- Raspberry Pi set up with Raspbian OS.
- Python 3 installed on the Raspberry Pi.
- Necessary hardware components connected to the GPIO pins.
### **Setup Instructions**
1. Clone the repository:
```bash
git clone https://github.com/ralphmarondev/pi-home.git
cd pi-home
```
2. Install required Python libraries:
```bash
pip install tkinter RPi.GPIO
```
3. Run the program:
```bash
python3 main.py
```
---
## How It Works
- Use the **Tkinter GUI** to toggle door and lighting controls.
- All actions are synchronized, ensuring seamless operation between GUI and hardware components.
---
## Future Enhancements
- Integration of sensors for enhanced automation (e.g., motion sensors, temperature sensors).
- Remote control functionality using a web or mobile app.
- Voice commands with speech recognition.
- Energy monitoring and efficiency tracking.
---
## License
This project is licensed under the [MIT License](LICENSE.txt).