// Shipped · 2026
Reflow Oven Controller
A toaster oven converted into a reflow oven for surface-mount boards, with an ESP32 controller, a local display and encoder, and a Wi-Fi web interface.

Overview
A Black & Decker toaster oven converted into a reflow oven for soldering surface-mount boards. An ESP32 reads a thermistor inside the oven and switches the heating elements through a solid-state relay to follow a reflow profile. It can be run from the display and encoder on the controller, or from a web page served over the controller’s own Wi-Fi network.
Hardware
The control board was drawn in Altium and built on perfboard.
- ESP32 DevKit v1
- 100k NTC thermistor (B3950) through the rear wall of the oven, read by the ESP32’s ADC through a divider with a 5.1 kΩ pull-up
- Solid-state relay switching the oven’s heating elements
- 170 × 320 ST7789 colour display and a KY-040 rotary encoder for local control
- L78M05 regulator taking the 12 V supply down to 5 V
- Screw terminals for the sensor and relay lines, a rocker switch, and a 3D-printed enclosure
Temperature sensing
The thermistor is sampled every 250 ms. Each reading is the median of five calibrated ADC samples, converted to temperature with the beta equation. Readings are skipped while the relay is on and for 80 ms after it switches, to keep switching noise out of the measurement, and readings that jump implausibly far from the last good one are discarded. The result is filtered before it reaches the controller.
Calibration is done from the web page. The oven’s reading is captured against a reference temperature at a low point and a high point, and the firmware fits a straight-line correction, with an optional single-point trim on top.
Control
A run steps through the profile’s stages: ramp to soak, soak, ramp to peak, peak, and cooldown. The setpoint follows the profile’s ramp rate, and the controller updates the heater output every 500 ms.
The heater uses time-proportional control. In every 2-second window the relay is on for a fraction of the window set by the controller. The controller is PID-based, with separate tuning for ramps and holds:
- Ramps use proportional control plus a term that compares the oven’s rate of rise with the setpoint’s, at up to full power. The oven keeps heating after the relay turns off, so the controller projects the temperature forward from its current rate of rise and cuts the heater early when the oven would otherwise overshoot.
- Holds use full PID, with derivative on the measured temperature. To avoid undershooting, the controller aims slightly above the profile temperature: 1.5 °C during soak and 10 °C at peak.
- In both, a bias term that grows with temperature makes up for heat loss, the heater turns off if the temperature passes the setpoint by 0.8 °C, the output’s rate of change is limited, and the integral term has anti-windup.
During cooldown the heater stays off and the door is opened to cool the oven.
Profiles
Up to eight profiles are stored in the ESP32’s flash and can be created, edited and deleted from the web page. Three are built in:
| Profile | Soak | Peak | Ramp up | Cooldown |
|---|---|---|---|---|
| Leaded | 150 °C for 90 s | 215 °C for 30 s | 1.0 °C/s | 1.5 °C/s to 60 °C |
| Lead-free | 150 °C for 120 s | 245 °C for 30 s | 1.0 °C/s | 1.5 °C/s to 60 °C |
The third is a bake profile that holds 120 °C for 15 minutes.
Display, encoder and web interface
The display shows the active profile, the measured temperature, the setpoint, the current stage and the time left in that stage. Turning the encoder scrolls through the profiles, and pressing it starts or stops a run.
The ESP32 also runs its own Wi-Fi access point and serves a web page with the same controls, plus profile editing, calibration, a manual heater test and error reset. Both stay in sync, so a run started from the web page can be stopped at the oven.
Safety
- Hard cutoff at 300 °C.
- An open or shorted sensor stops the run.
- If the heater is above 60% output, the oven is more than 8 °C below the setpoint, and the temperature has changed less than 2 °C over the last minute, the run stops. This catches a sensor that has come loose or a heater that isn’t heating.
- The manual heater test turns itself off after 10 seconds.
- Any fault latches the relay off until it’s cleared, and a run can’t start without a valid temperature reading.
Run logging
Every run is logged once a second: setpoint, measured temperature, heater output and stage. Up to 16 recent runs are kept in memory until the controller is switched off, and they can be downloaded from the web page as CSV.


