Safety first
A real reflow oven is usually a converted toaster oven, and it switches mains power. Mains wiring is for qualified people only. A real build goes in a listed enclosure with the oven's own thermal fuse kept, it is never left unattended while it heats, and solder flux fumes are ventilated away from people. Leaded paste is toxic: wash your hands after handling it.
This course never touches mains. It simulates only the control side: the thermocouple, the SSR's input, a door switch, and a 6 V lamp standing in for the heater.
The controller
Every lesson opens on the same wiring:
- Temperature: a type K thermocouple on a MAX6675 (SCK 13, CS 10, SO 12), 0.25 C steps with cold junction compensation inside.
- Power: a solid-state relay, the DC SSR-25DD, its input on pin 5 and its output switching a 6 V battery pack through a lamp standing in for the heater. The two sides share no wire.
- The door: a slide switch on pin 2.
- Alarms: a buzzer on pin 8.
How it works
Thermocouples. Two metals welded at the tip make about 41 uV per degree, measured against the cold junction where the wires meet the board. The MAX6675 measures its own temperature and adds it, and reports an open probe as NAN.
Time-proportioned output. A zero-cross SSR switches mains only at zero crossings, so it cannot be dimmed with PWM. The heater is switched on for part of a fixed window instead: 40 percent of a 1 second window is 400 ms on.
Profiles. Preheat to 150 C in 90 s, soak to 180 C (leaded) or 200 C (lead-free) by 180 s, reflow above the liquidus (183 C or 217 C) to a peak of 220 C or 245 C, then cool.
The oven model. Mokxi's thermocouple does not warm when the lamp lights, so the profile, PID and project lessons run an oven model in the sketch: a heater element that warms the air, which loses heat to the room, at ten times real speed. The element's stored heat is what makes on/off control overshoot: the lead-free run peaks at 248.1 C on/off and 245.2 C with PID and feed-forward.
Cutoffs. Every fault turns the heater off: over 250 C (latched until a reset), an open thermocouple, an open door, and 30 seconds of heat without 5 C of rise. A real oven also keeps a thermal fuse that needs no code.
The course
Build a reflow oven controller gets there in six lessons, each a sketch on the same wiring:
- Thermocouples: microvolts, the cold junction and an open probe.
- SSR control: zero-cross and time-proportioned output.
- Profiles: preheat, soak, reflow and cool for leaded and lead-free paste.
- PID tracking: P, I, D and feed-forward against on/off.
- Safety cutoffs: overtemp, sensor fault, door and no rise.
- Project: a solder profile: a full run with every cutoff armed.
Every step but the last is checked against the running circuit.