A relay module is a coil-driven, logic-addressed switching assembly — 1, 2, 4, 8 and 16-channel boards are common, with the coil energised from 3.3 V or 5 V and contacts rated for 12 V / 24 V / 230 V AC loads [S1]. A selector switch is a manually or position-sensed electro-mechanical device that directs one common input to one of several fixed output positions, with no logic coil and no GPIO trigger.
The functional overlap is "make/break a circuit", but the two are not substitutes: relay modules scale to many channels and accept remote commands (web server, USB CDC, BLE, Modbus), while selector switches cap at a few positions and require physical or position-sensor actuation. For a deeper look at the coil-driven side, see the relay module reference; for the human-/sensor-actuated side, see the selector switch entry.
Core Difference: Control Source and Switching Action
A relay module's switching element is an electromagnetic coil: applying a logic-level voltage (3.3 V from an ESP32 GPIO, or 5 V from a VIN pin) closes or opens a galvanically isolated contact set per channel [S1]. Contacts are exposed as COM / NO / NC terminals, with NC meaning "COM and NC tied until the coil is energised", and NO meaning "COM and NO tied only when the coil is energised" [S1].
A selector switch has no coil. The moving contact is driven by a knob, key, cam, or a position feedback sensor, and the contact block routes a single common pole to one of 2, 3, 4 or more fixed positions. Industrial selector switches typically carry a position-detect output so a PLC or relay module can read which way the switch has been turned — Baumer publishes a dedicated "relay module for speed switches" accessory line that turns a sensor's pulse train into a clean switching output [S5].
Channel Count, Contact Rating and Voltage Domains
Relay modules are sold in 1, 2, 4, 8 and 16-channel form factors; a typical 8-channel USB board (Numato RL80001) carries eight SPDT relays rated at 12 V / 24 V coil with 7 A maximum switching current per pole, addressed over a USB CDC serial port with no driver stack required [S2]. Hobby 5 V boards with optocouplers add an optical isolation layer between the microcontroller and the relay coil, which the ESP32 tutorial recommends for AC mains switching [S1].
Selector switches usually expose 2 to 6 maintained positions, with contact blocks rated for a few amps at 24 V DC or 230 V AC — adequate for control signalling and small contactors, not for direct heating or motor loads. The current-handling asymmetry is decisive: a 7 A SPDT relay module is built to switch a load directly [S2], while a selector switch's primary job is to feed a command to a relay module, a safety relay or a PLC input.
Decision Criteria: When to Use Which

Pick a relay module when the trigger is electrical (GPIO, USB, BLE, Modbus, temperature threshold), the load is 0.1–7 A continuous, and you need 1–16 independent channels. The ESP32 web-server example uses a relay module to switch 12 V, 24 V or mains appliances from a 3.3 V logic pin [S1]; a BLE-proximity GitHub project closes a relay when a phone comes in range, which is impossible to do with a knob-actuated selector switch [S4].
Pick a selector switch when the operator must make the mode choice in front of the panel (Hand / Off / Auto, Local / Remote, Manual star / delta), when the selection must be readable in a glance without power, or when the standard mandates a positive mechanical mode selector. Baumer's relay modules for speed switches are an accessory tier that sits between a sensor's pulse output and a downstream control — they are not themselves selector switches [S5]. For a thermal-triggered relay, a DS18B20-driven ESP8266 project closes a relay module on temperature threshold [S3]; a thermal relay does the same function in a DIN-rail form factor with bimetallic trip logic.
Comparison Table: Relay Module vs Selector Switch
Four criteria line the two up for a one-glance spec read. [S1]
Control source: Relay module = logic-level voltage on coil (3.3 V or 5 V typical) [S1]. Selector switch = mechanical knob, key, or cam with optional position sensor.
Channel count: Relay module = 1, 2, 4, 8, 16 channels on one PCB [S1][S2]. Selector switch = 2 to 6 maintained positions per pole, typically one pole.
Contact rating: Relay module = up to 7 A SPDT at 12 V / 24 V on hobby/USB boards [S2]; industrial versions reach 30 A at 250 V AC. Selector switch = typically a few amps at 24 V DC / 230 V AC, used for signalling.
Remote / addressable: Relay module = yes (web server [S1], USB CDC [S2], BLE proximity [S4], Modbus/RTU on industrial versions). Selector switch = no — the operator must be in front of the switch.
Real Use Cases and Wiring Patterns

Home and lab automation is dominated by relay modules: an ESP32 drives a 2-channel 5 V board to switch 230 V AC lamps and 24 V solenoid valves from a web UI [S1]; a Numato 8-channel USB board is wired to a PC and used as a test fixture for validation racks, exposing each relay as a serial-port command [S2].
Industrial panels still need a selector switch for mode selection and E-stop override; the selector's output is fed to a safety relay or to the digital input of a PLC, which in turn drives a bank of industrial relay modules. In automotive, the glow-plug relay module on a Ford F-250 Super Duty (part YC3Z-12B533-AA) is a sealed relay module, not a selector switch — a 12 V coil commanded by the PCM that switches the high-current glow-plug bus. A linear module is a different category entirely (analogue 0–10 V / 4–20 mA output), and is not a switching competitor.
Failure Modes and Sourcing Constraints
Relay modules fail open or closed depending on contact wear, with coil burnout the dominant mode at 3.3 V if the GPIO is driven without a flyback or proper sink current. Optocoupler-isolated 5 V boards are the safer pick for AC mains because they break the galvanic path between the ESP32 and the 230 V side [S1]. Selector switches fail mechanically — contact oxidation, detent wear, and broken position sensors — and are repair-friendly because the contact block is usually a swappable module.
On sourcing, the Numato RL80001 ships in a single SKU at USD 74.99 with 12 V coil configuration [S2]; automotive relay modules such as the Ford glow-plug unit YC3Z-12B533-AA surface on the secondary market around USD 44 and are cross-referenced by OEM part number. Industrial selector switches are dominated by Eaton, ABB, Schneider and Baumer, with the Baumer "relay modules for speed switches" line as a bridging accessory tier that adapts a frequency input to a clean relay output [S5]. Huawei's CX320 switch module documents a separate use of "relay" — the DHCP relay function on a Layer-2 switch — which is networking terminology and unrelated to power switching [S6].
Standards, Safety and Selection Discipline

For mains-voltage relay modules, IEC 61810-1 (electromechanical elementary relays) and IEC 62314 (solid-state relays) govern creepage, clearance and endurance; for selector switches in industrial machinery, IEC 60204-1 covers operator-mode selector devices on machine control panels. These are general references, not a substitute for the exact datasheet's contact rating, coil voltage, and expected mechanical / electrical endurance. Always match coil voltage to the driving logic (3.3 V vs 5 V mismatch is the single most common ESP32 relay-board failure [S1]) and derate the contact current by 25–30 % for inductive AC loads.
Track two signals over the next quarter: (1) more 8-to-16 channel USB and Modbus relay modules with integrated web servers replacing 2–4 channel boards in test-fixture builds, as the price-per-channel gap narrows [S2]; (2) selector switches with native IO-Link or BLE position feedback displacing hardwired contact blocks on premium machine panels — a logical extension of the Baumer signal-conditioning accessory tier [S5].
For related coverage, see Cobalt OEM vs ODM Manufacturing: 2026 Service Bands, Grade Tables and Sourcing Logic.