.png&w=1920&q=85)
Rice Machine PLC Controller — Industrial Automation System
Custom industrial PLC controller for rice processing machines — Python-based state machine, Streamlit HMI dashboard, simulation mode + real hardware drivers, and real-time monitoring.
Key Metrics & Highlights
📋About This Project
The Rice Machine PLC Controller is a bespoke industrial automation system built for a rice processing facility. The system replaces a traditional hardware PLC with a software-defined Python controller — significantly reducing hardware costs while adding real-time monitoring, data logging, and a modern web-based HMI.
The core PLC logic is implemented as a Python state machine using the loguru logger and a modular controller architecture. It supports two operating modes: Simulation Mode (for testing and commissioning without physical hardware) and Hardware Mode (connecting to real GPIO/serial drivers for production deployment). The machine state module defines all operating states: Idle, Starting, Running, Stopping, Faulted, and Emergency Stop — with full transition validation and fault handling.
The Human Machine Interface (HMI) is built with Streamlit and runs as a separate browser-based dashboard. Operators get a real-time view of: machine status indicators, conveyor belt speeds, temperature sensors, throughput counters, active faults, and shift production summaries. The HMI communicates with the PLC controller over a local socket connection, ensuring the HMI can crash or restart without affecting the controller.
Logging is handled by loguru with structured log files, automatic rotation, and configurable retention. The test suite covers all state transitions, fault injection scenarios, and simulation-mode outputs. Deployed on a Raspberry Pi 5 at the client site.
✅Features & Benefits
🎯Who It's Built For
📸Screenshots
.png&w=1920&q=80)
.png&w=1920&q=80)
.png&w=1920&q=80)
.png&w=1920&q=80)
.png&w=1920&q=80)
.png&w=1920&q=80)
Project Details
- Category
- Custom Software
- Built With
- Python, Streamlit, Raspberry Pi +more
- Status
- ✅ Delivered
- Agency
- Tech Mag Solutions
Full Tech Stack
Want Something Similar?
We can build a custom solution tailored to your business in custom software.
Get a Free Quote →Related Projects
View all →.png&w=1920&q=65)
SmartPOS — Desktop Point of Sale System
Offline desktop POS (Electron) for retail shops — sales, purchases, customer/vendor ledger, inventory, barcode generation, and thermal receipts. 100% offline.

Restaurant Point of Sale System — Online Web App
White-label restaurant POS web app — billing terminal, kitchen display, table floor plan, inventory, customer CRM, and reports dashboard. Zero backend.

SmartPOS Online — Cloud-Sync Web Point of Sale
Cloud-sync web POS for shops and marts — billing terminal, inventory management, reports dashboard, offline support with sync indicator, and Supabase cloud backend.
Ready to Build Your Next Project?
Get a free strategy session worth $500. We'll scope your project, recommend the best tech stack, and give you a clear roadmap.