How adq/kiln-controller works
Core Control System
• lib/oven.py (main control logic)
• lib/ovenWatcher.py (monitoring)
• lib/max31855.py/max31856.py (sensor interfaces)
Web Interface
• public/assets/* (frontend resources)
• public/index.html (main UI)
• kiln-controller.py (web server)
Storage System
• storage/profiles/* (kiln schedules)
• config.py (system configuration)
c) User Interface Layer (Top Level):
• Web browsers/clients
• Multiple device access points
Key Interactions to Highlight
a) Control Flow:
• Thermocouple → MAX31855/MAX31856 → Raspberry Pi
• Raspberry Pi → SSR → Kiln
• PID control loop within the software
b) Data Flow:
• Web clients ⇄ Web server
• Profile storage ↔ Control system
• Configuration ↔ All components
Additional Elements
• PID Controller logic
• WebSocket real-time updates
• Profile management system
• Simulation mode switch
Notes Section
Callouts for:
• GPIO pin configurations
• Safety considerations
• Supported thermocouple types
• Operating parameters
Configuration flexibility
• Hardware interface layer
• Control logic layer
• Web service layer
• User interface layer
This will create a comprehensive visualization that captures both the hardware and software aspects of the kiln controller system while maintaining clarity and usefulness for development and documentation purposes.