Rice Machine PLC Controller — Industrial Automation System
Custom Software🔒 Confidential Project

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

🐍
Python
Language
🖥️
Streamlit web dashboard
HMI
⚙️
Simulation + Real Hardware
Modes
🍓
Raspberry Pi 5
Hardware

📋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

Python state machine replacing traditional hardware PLC — significant cost reduction
Two operating modes: Simulation (testing) and Hardware (production with GPIO/serial)
Streamlit web HMI dashboard — real-time conveyor speeds, temperatures, and throughput
Full fault handling: Emergency Stop, Fault state, and automatic recovery sequences
HMI decoupled from PLC — dashboard can restart without interrupting production
Structured logging via loguru with automatic rotation and retention policies
Complete test suite covering all state transitions and fault injection scenarios
Deployed on Raspberry Pi 5 — production-grade at a fraction of PLC hardware cost

🎯Who It's Built For

Retail Shop OwnersFranchise BusinessesSMEs Needing Custom ToolsOperations Teams

📸Screenshots

Rice Machine PLC Controller — Industrial Automation System screenshot 1
Rice Machine PLC Controller — Industrial Automation System screenshot 2
Rice Machine PLC Controller — Industrial Automation System screenshot 3
Rice Machine PLC Controller — Industrial Automation System screenshot 4
Rice Machine PLC Controller — Industrial Automation System screenshot 5
Rice Machine PLC Controller — Industrial Automation System screenshot 6
🔒 Demo ConfidentialContact us for a private walkthrough
💬 Build Similar Project💬 WhatsApp Us Now

Project Details

Category
Custom Software
Built With
Python, Streamlit, Raspberry Pi +more
Status
✅ Delivered
Agency
Tech Mag Solutions

Full Tech Stack

🐍 Python Streamlit Raspberry Pi Industrial Automation PLC HMI State Machine IoT Custom Software
🛠️

Want Something Similar?

We can build a custom solution tailored to your business in custom software.

Get a Free Quote →

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.