This project provides a web-based controller interface for a robot using Raspberry Pi, Docker, Apache, and a USB webcam. It features real-time GPIO control and live camera streaming.
📓 Development Notebook
🎥 MotionEye in Docker on Raspberry Pi
- 📷 Live USB camera stream using MotionEye in a Docker container
- 🧠 Modular web interface hosted with Apache2
- 🧩 CGI-based Python scripts to control GPIO on Raspberry Pi
- 🔌 WebSocket integration for real-time robot control (LED toggle, future motor controls)
- 🐳 Dockerized deployment with
docker-compose
| Component | Description |
|---|---|
| Raspberry Pi | Host device for GPIO and USB camera |
| Docker | Containerization of services |
| Apache2 | Web server hosting the control UI |
| MotionEye | USB camera streaming inside container |
| Python (CGI) | Backend scripts controlling GPIO |
| HTML/CSS/JS | Frontend robot control interface |
| WebSockets | Real-time GPIO interaction |
git clone https://github.com/Janos11/Robot_Web_Controller.git
cd Robot_Web_Controller
docker compose up| Section | Link |
|---|---|
| 🔍 In-Depth Architecture | (coming soon) |
| ⚙️ Deployment Guide | (coming soon) |
| 🧪 Testing & Benchmarks | (coming soon) |
| Useful git commands | git_cheat_sheet.md |
- Add motor control (forward, backward, turn)
- Integrate voice commands or facial recognition
- Add mobile-first responsive UI
| János Rostás |
👨💻 Electronic & Computer Engineer 🛠️ Tinkerer with a Purpose 🐳 Docker Enthusiast 🌐 janosrostas.co.uk |
| ChatGPT |
🤖 AI Pair Programmer by OpenAI 💡 Supports brainstorming, prototyping, and debugging 📚 Backed by years of programming knowledge and best practices |