
🧩 Hardware Architecture
The system is built using two dedicated PCBs:
🔌 Power Board

- Controls 230V heater (~550W) using TRIAC (BT139)
- Opto-isolated driver using MOC3041
- Fan control via MOSFET(PWM)
- Generates regulated 12V and 24V rails
- Designed for high-current handling and isolation
👉 The MOC3041 is socket-mounted, enabling:
- Easy replacement
- Safe experimentation during initial bring-up
- Faster troubleshooting
🧠 Processor Board

- ESP32 DevKit controller
- MAX6675 K type thermocouple interface
- Rotary encoder input
- 16×2 I2C LCD display
- Control signal for heater and fan
⚙️ Firmware Architecture
- The firmware is developed entirely in MicroPython.
- A cooperative scheduler architecture is implemented to avoid blocking delays and ensure deterministic timing.
This allows simultaneous handling of:
- PID temperature control loop
- User interface and menu system
- LCD updates
- Safety monitoring
🌡️ Control & Operation
- PID-based temperature regulation
- Real-time thermocouple feedback (MAX6675)
- 24V fan with PWM control
- Rotary encoder-driven user interface
📋 Menu System & Nozzle Management
The system includes a structured menu interface for:
- Selecting nozzle profiles
- Setting temperature
- Adjusting fan speed
- Starting/stopping operation
🔧 Nozzle Features
- Add new nozzle profiles
- Store individual temperature presets
- No restriction on number of nozzles
🎯 Calibration
- Individual nozzle calibration supported
- Re-calibration possible when:
- Operating conditions change
- Fan settings vary
- Thermal characteristics shift
🛡️ Safety Features

- Fan–heater interlock (heater disabled without airflow)
- Watchdog protection
- Power supply monitoring
- Thermal limits enforced in firmware
🔌 Power Design & Debugging
During development, system instability was observed due to:
- Insufficient bulk capacitance
- Voltage regulator dropout (7812 under load)
Fix implemented:
- Increasing reservoir capacitance from 1000 µF to 5000 µF
- Improving power stability under dynamic load
This significantly improved system reliability.
🔧 Troubleshooting Features
To aid debugging and maintenance:
- Dedicated status LEDs for:
- Power rails
- System states
- Fault conditions
- Modular PCB design allows:
- Independent subsystem testing
- Easier fault isolation
🏭 Complete In-House Development
The project was developed in-house:
- Circuit design
- Schematic capture
- PCB layout and etching
- Assembly and wiring
- Firmware development
- System testing
- Enclosure fabrication
🛠️ Build Difficulty
Intermediate → Advanced


Requires experience with:
- 230V AC systems
- Power electronics
- PCB fabrication
- Embedded programming (MicroPython)
🧪 Development Highlights
- Stable scheduler-based firmware (V5.2)
- Reliable fan operation across full PWM range
- Accurate temperature regulation
- Robust safety implementation
Srinivasan M S
electronicsworkshops