Quick answer: a red emergency stop button goes in the power wire, not on an Arduino pin. Use the NC (normally closed) pair, terminals 11 and 12, in series with the load’s 12V positive wire. A press opens the contact and the load loses power, whatever the code is doing.
- 12V (+) to terminal 11. Terminals 11 and 12 are at opposite ends of the block, not side by side.
- Terminal 12 to the load’s (+) wire, or to relay COM if a relay switches the load.
- Load (-) straight back to 12V (-).
- Press to stop. Twist the head the way the arrows point to release.
- The NO pair (23 and 24) is spare, for a status signal to an Arduino.
12V DC only on this page.
NC and NO on the LA38 contact block
The LA38 emergency stop button’s contact block holds two separate switches. NC (normally closed) conducts while the head is up and opens on a press. NO (normally open) does the reverse.
An emergency stop puts NC in series with the load. Follow the current: out of the supply’s 12V (+), into terminal 11, across the closed contact, out at terminal 12, through the fan and back to the supply’s (-). It is one path with no branch, so the fan runs only while every part of it conducts.
A press lifts the contact’s moving piece off its fixed points. The path now has an air gap and the current stops. A loose screw or a cut wire opens the same path, so those faults stop the fan too. An NO contact would have to close to send a stop, so a broken wire there would look like nobody pressing. No code sits in this loop, so a hung sketch cannot keep the fan running.

Parts you need
Parts for a 12V emergency stop cut-off, no code
Parts list
Add the Uno and relay module only if a sketch already switches your load. The multimeter confirms the NC pair and the 12V polarity. The flat-head momentary button is the sibling to pick when the load should be off only while your finger is on it.
The 12V 2A adapter has a UK 3-pin plug for a Malaysian 13A socket (230V, 50Hz). It plugs into the multi-voltage supply board. The board’s two regulators only make the 5V and 3.3V pins, so its red +12V pins are the adapter’s 12V passed straight through, up to the board’s 1A limit.
The 80 mm fan stands in for your load. A 12V pump or brushed motor wires the same way.
Step 1: Find terminals 11 and 12
The LA38 emergency button‘s contact block has four screws under its clear cover, two at each end. White numbers name them: 24 and 12 at one end, 23 and 11 at the other.
The last digit says what kind of contact it is: 1 and 2 mark normally closed, 3 and 4 normally open. The first digit says which contact. So 11-12 is the NC pair and 23-24 the NO pair.
Each pair runs from one end of the block to the other. The two screws side by side, such as 12 and 24, belong to different contacts with nothing joining them. Wire across those two and the fan never runs.
Confirm with a multimeter on continuity (see our multimeter guide) before wiring:
| Probes on | Head up | Head pressed | What it is |
|---|---|---|---|
| 11 and 12 | Beeps | Silent | NC: the pair for the stop |
| 23 and 24 | Silent | Beeps | NO: spare, for a status signal |
| 12 and 24 (side by side) | Silent | Silent | Two different contacts |

Step 2: Wire the button into the 12V positive line
12V DC only. The 660V on the LA38’s cover is an insulation rating. Putting an emergency stop into 230V wiring is work for a registered wireman.
Check the supply first: with the adapter plugged in and in the board’s jack, measure DC volts from a red +12V pin (red probe) to a black GND pin. Expect about 12V with no minus sign. A minus sign means reversed polarity: stop there. Unplug the adapter, then wire:
| From | To | Jumper |
|---|---|---|
| Supply board, any red +12V pin | Terminal 11 | Male-to-female: socket on the pin, metal pin under the screw |
| Terminal 12 | Fan plug, the socket on the red wire | Male-to-male: one pin under the screw, one in the plug |
| Fan plug, the socket on the black wire | Supply board, any black GND pin | Male-to-female: pin in the plug, socket on the GND pin |
At each terminal, loosen the screw (small cross-head screwdriver), slide the jumper’s pin fully under the square plate, tighten and tug. Tape any jumper that sits loose in the fan’s white plug to the fan lead.
Step 3: Press to stop, twist to release
Plug the adapter in last, with the red head up, and check:
| You do | What should happen | Why |
|---|---|---|
| Plug in, head up | The fan runs | The NC contact is closed |
| Press the head | It clicks down and the fan coasts to a stop | The NC contact opens |
| Let go | The fan stays off | A catch inside the head holds it down |
| Twist the head the way the three white arrows point (clockwise) | The head pops up and the fan runs again | A spring returns the head and the contact closes |
If it does something else:
| What you see | Cause | Fix |
|---|---|---|
| The fan never runs and the head sits low | The head is still latched down (pressed during the Step 1 test, or in handling) | Twist it the way the arrows point until it springs up |
| The fan never runs, head up | The wires are on two side-by-side screws, or a pin is not under its plate | Move them to 11 and 12, one at each end of the block |
| The fan runs only while the head is down | The wires are on 23 and 24, the NO pair | Move them to 11 and 12 |
| The fan runs and pressing does nothing | The button is not in the loop: the fan’s red wire goes straight to +12V | Pass that wire through 11 and 12 |
| The fan stutters or stops when you touch a wire | A jumper is loose in the fan’s white plug, on a supply pin or under a screw | Push it fully home, retighten the screw and tape the plug to the fan lead |
In this no-code build the fan restarts the moment the head pops up. On anything that can hurt someone, resetting an emergency stop must not restart the machine by itself. Whoever twists the head may not see a hand still inside, so a separate start action should restart it. The Arduino section adds one.
Cutting power is no brake. An arm or a vertical axis held up only by its motor can drop the moment the power goes.
Emergency button or momentary button: which one do you need?
The LA38 comes in two versions, each with a different red head on the same contact block (11-12 NC, 23-24 NO).
| Emergency button | Momentary button | |
|---|---|---|
| Head | Red mushroom with three white arrows, on a yellow collar | Flat red face inside a silver ring |
| When you let go | Stays down until you twist it (latching) | Springs back up |
| Load on 11-12 | Off from the press until the twist | Off only while your finger is on it |
| Panel hole | 22 mm | 22 mm |
| Pick it for | Stopping a robot, conveyor or mini CNC and keeping it stopped | A pause button, or a start or signal button on the NO pair |
One buyer who had ordered a different switch wrote to us: “saya mahu suis off bila di tekan..betul tak suis yg saya order ni”, then “Saya nk yang LA38..macamana mau tukar order tu boss.. Sebab mau off bila ditekan”. A switch that goes off when pressed means the NC pair, and both heads have it. Pick by what should happen when you let go.

Arduino emergency stop: where the button goes with a relay
An Arduino emergency stop keeps the LA38 in the 12V line. The Uno switches the fan through a relay module and reports the stop. Our relay module guide covers the relay’s control wires and trigger jumper.
| From | To | Jumper | Job |
|---|---|---|---|
| Uno 5V, GND, D7 | Relay DC+, DC-, IN | Male-to-male | Relay control, as in the relay guide. The Uno runs from its USB cable |
| Supply board +12V pin | Terminal 11 | Male-to-female | 12V into the button |
| Terminal 12 | Relay COM | Male-to-male | 12V reaches the relay only through the NC contact |
| Relay NO | Fan plug, red-wire socket | Male-to-male | The sketch’s on/off switch |
| Fan plug, black-wire socket | Supply board GND pin | Male-to-female | Return path |
| Terminal 23 | Uno D2 | Male-to-male | Status. INPUT_PULLUP holds D2 HIGH while the head is up. A press closes 23-24 and ties D2 to GND, so it reads LOW (pull-ups are explained in our push button guide) |
| Terminal 24 | Uno GND (the Uno has three GND sockets) | Male-to-male | Status return. The block’s two contacts are electrically separate, so this 5V circuit never meets the 12V on 11-12 |
Where the button sits decides what a press can do:
| Button position | What a press breaks | Limits |
|---|---|---|
| In the load’s (+) wire, before the relay (this build) | The full load current | Works even if the relay contact sticks or the sketch hangs. The button must be able to break the load’s current |
| In the relay coil’s supply (the wire to DC+) | Only the coil current: 5V across the SRD-05VDC-SL-C’s 70 Ω coil is about 71 mA. The relay’s spring then opens the load contact | For loads bigger than the button should break. No help if the relay contact has welded shut |
| On an Arduino input only | Nothing | A status signal, never the stop |
// LA38 emergency stop + relay module on an Arduino Uno: status and restart lock.
// The stop itself is wiring, not code: 12V (+) -> terminal 11 -> terminal 12 -> relay COM.
// This sketch only reports the press and keeps the relay off after the release.
// D7 -> relay IN, 5V -> DC+, GND -> DC-
// D2 -> terminal 23, GND -> terminal 24 (NO pair: closed while the head is down)
const int RELAY_PIN = 7;
const int ESTOP_PIN = 2;
// Match these to the relay module's trigger jumper, as in the relay guide:
// jumper on L = LOW / HIGH, jumper on H = HIGH / LOW.
const int RELAY_ON = LOW;
const int RELAY_OFF = HIGH;
const unsigned long RELEASE_HOLD_MS = 50; // ignore contact bounce on release
bool stopped = false; // once true, only a reset of the Uno clears it
// (opening the Serial Monitor resets the Uno too)
bool releaseTold = false;
unsigned long lastPressedMs = 0;
void setup() {
digitalWrite(RELAY_PIN, RELAY_OFF); // define OFF before the pin drives
pinMode(RELAY_PIN, OUTPUT);
pinMode(ESTOP_PIN, INPUT_PULLUP); // HIGH = head up, LOW = head pressed
Serial.begin(9600);
if (digitalRead(ESTOP_PIN) == LOW) {
stopped = true; // never start with the head down
Serial.println(F("E-STOP is pressed. Relay stays off."));
} else {
digitalWrite(RELAY_PIN, RELAY_ON);
Serial.println(F("Running. Relay on."));
}
}
void loop() {
bool pressed = (digitalRead(ESTOP_PIN) == LOW);
if (pressed) {
lastPressedMs = millis();
releaseTold = false;
if (!stopped) {
stopped = true; // latch the stop
digitalWrite(RELAY_PIN, RELAY_OFF);
Serial.println(F("E-STOP pressed. Relay off."));
}
} else if (stopped && !releaseTold &&
millis() - lastPressedMs >= RELEASE_HOLD_MS) {
releaseTold = true;
Serial.println(F("Head released. Still off: press RESET on the Uno to run again."));
}
}
The sketch switches the relay on at power-up only if the head is up. A press switches it off and latches the stop. Twist the head and 12V is back at COM, but the relay stays open until you press the Uno’s RESET button. Open the Serial Monitor before you test: opening it resets the Uno and, with the head up, restarts the fan.
D2 is status only. If that wire breaks, the fan restarts on release, but the press still cuts it through 11-12.
Will Donaldson wires an NC/NO emergency stop and relays into his robot, OMNi:
What does the 10A on the contact block mean?
The LA38 contact block is marked Ith 10A and Ui AC660V, the same figures as the LA38 family datasheet. Ith is the conventional thermal current: what the closed contact can carry continuously without overheating. Ui is the voltage its insulation is built for. Neither is the current the contact can switch off.
As the contact opens under load, the current keeps flowing for a moment as an arc across the gap, and each arc burns a little metal away. AC at 50Hz falls to zero 100 times a second, which lets the arc die. DC never does, so its arc lasts until the gap is wide enough. A motor, pump or solenoid is worse: the collapsing magnetic field in its coil keeps pushing current.
So match the button’s position to the load:
| Load | Where the button goes | Also |
|---|---|---|
| This build’s fan: a fraction of an amp (read the current on the fan’s label), through a board limited to 1A | In the load’s (+) wire | Jumper leads are enough |
| A motor drawing several amps | In the coil circuit of a relay or contactor, which breaks the load current. Switching a coil is the duty the block’s AC-15 and DC-13 marks describe: they are the IEC classes for electromagnet loads | Wire thicker than jumper leads on the load side |
| A brushed motor, pump or solenoid of any size | As above, by its current | A flyback diode across the load gives the coil’s current a path other than the arc. Our 12V solenoid lock guide shows how |
FAQ
Which terminals do I use on an LA38 emergency stop button?
Terminals 11 and 12, the normally closed pair, in series with the load’s positive wire.
Can I wire an emergency stop button to an Arduino pin only?
Only as a status signal. A pin can only ask the sketch to stop, and a hung sketch cannot answer. Put the NC pair in the load’s power wire.
Can I use this emergency stop button on 230V mains or a real machine?
Not with this guide’s wiring. It is a 12V DC stop for hobby and school projects. Mains wiring is work for a registered wireman. A machine that can injure someone needs a designed safety circuit: an emergency stop device built to ISO 13850 and IEC 60947-5-5 with direct-opening contacts, plus a safety relay.
Last updated November 2026. Stuck? Chat with us on WhatsApp.



Industrial Emergency Momentary Button LA38 Push Switch RED Push To Stop Button - EMERGENCY BUTTON
Power Supply Adapter DC Universal AC to DC Converter PSU 5V2A 5V3A 9V2A 12V2A - P.S. ADAPTOR (12V2A)
Multi Voltage Power Supply Module DC DC Convertor 3.3V 5V 12V Bulk Convertor
DC Cooling Fan 5V/12V Brushless Small Fan for 3D Printer DIY Projects Electronics Cooling - 8025 FAN (12V)
40pcs Dupont Wire 10cm 20cm 30cm for Breadboard DIY Experiment Jumper Wire Breadboard wire - DUPONT WIRE M-F 20CM
40pcs Dupont Wire 10cm 20cm 30cm for Breadboard DIY Experiment Jumper Wire Breadboard wire - DUPONT WIRE M-M 20CM
Arduino Uno Compatible SMD UNO R3 with Type B Cable - ATMEGA328P with CH340G-Microcontroller Project
Relay Module 3.3V 5V 12V 1/2/4/8 Ways Optocoupler Trigger Relay Module 1 2 4 8 Channel Relay Module - 5V RELAY MODULE(1WAY)
XL830L Digital Multimeter with backlight Portable Multimeter Electronics Project
Industrial Emergency Momentary Button LA38 Push Switch RED Push To Stop Button - MOMENTARY BUTTON