Communica

Applications of 8013 PCB SH Switches in Robotics: A Practical Guide for Makers

Learn how 8013 PCB SH tactile and slide switches are used in robotics: UI controls, limit switches, wiring, debouncing, selection tips, and South African procurement notes.

robotics and prototyping
January 7, 2026
6 min read

Compact Control Inputs

Use 8013 switches for start/stop, mode selection, and UI buttons on robots.

Limit & Endstop Use

Slide or lever variants act as reliable mechanical endstops for arms and actuators.

PCB & Wiring Tips

Design PCB footprints, add pull resistors, and implement debounce for stable inputs.

Overview: What the 8013 PCB SH Switch Is and Where It Fits

The term 8013 PCB SH refers to a family of compact PCB-mount mechanical switches commonly used in electronics and robotics. These include small momentary tactile switches and low-profile slide or PCB push switches with standard SH (single horizontal) footprints. Their compact size, defined actuation characteristics, and ease of PCB integration make them useful for human-machine interfaces, limit sensing, mode selection, and simple logic inputs on microcontroller-based robots.

Common switch types and electrical specs

  • Momentary tactile (pushbutton) with ratings typically 12 VDC @ 50 mA to 24 VDC @ 100 mA depending on the variant.
  • Slide or SPDT miniature switches for mode selection, often with solder lugs or straight PCB pins.
  • Long-life variants with gold-plated contacts for low-voltage digital signals.
Parameter Typical Value Why it matters
Contact Rating 12-24 VDC, 50-100 mA Safe for logic-level signals and relay/driver inputs.
Mounting PCB through-hole or surface-mount Easy integration into control boards and shields.
Actuation Force ~100-250 g (tactile) Comfort and reliability for operator inputs.

Why robotics builders use 8013 PCB SH switches

Their low cost, known mechanical behaviour, and standardised PCB footprint make 8013-series switches ideal for rapid prototyping and production kits. They pair well with microcontrollers (Arduino, ESP32, Raspberry Pi GPIO via level shifting) for debounced digital inputs and are widely stocked by component distributors and hobbyist suppliers.

Consideration: When wiring directly to GPIO, use the switch to connect the input either to ground or VCC with the opposite side pulled by a resistor (pull-up or pull-down). This avoids floating inputs and erratic behaviour.

Primary Robotics Applications

8013 PCB SH switches are small components but enable a range of functions on robots. Below are practical applications with examples relevant to South African makers and students.

1. Manual control and user interface

Use tactile 8013 push switches for start/stop buttons, emergency stop toggles in low-power prototypes (ensure correct de-bounce and safety for higher currents), mode selection, and menu navigation on robots with limited displays.

2. Limit and endstop sensing

Mounted at travel endpoints, slide or lever variants can act as mechanical limit switches for robotic arms, linear actuators, and wheeled chassis. They provide a simple, reliable digital signal to stop motors or reverse motion when the mechanism reaches a physical limit.

3. Calibration and teach buttons

On service panels or in-field calibration jigs, an 8013 push switch can trigger routines such as homing sequences, sensor recalibration, or PID tuning steps without needing a laptop connection.

4. Signal conditioning and logic inputs

These switches are well suited to provide clean on/off inputs to microcontrollers. Use them with standard debouncing techniques in firmware (20-50 ms debounce) to avoid false triggers from mechanical bounce. For wiring details, see the tutorial on wiring.

Related Robotics & Prototyping Products

Discover quality robotics & prototyping products related to Applications of 8013 PCB SH Switches in Robotics: A Practical Guide for Makers

Salecom Miniature Toggle Switch 4pdt-1-0-(1) 5a-120 Vac Right-angle-pcb-thruhole

Salecom Miniature Toggle Switch 4pdt-1-0-(1) 5a-120 Vac Right-angle-pcb-thruhole

SalecomSwitches
ZAR90.56

Salecom Miniature Toggle Switch 4pdt-1-0-(1) 5a-120 Vac Right-angle-pcb-thruhole

Salecom 8409 Miniature Toggle Switch 4pdt-1-0-(1) 5a-120 Vac Solder-lug Std-lever Actuator

Salecom 8409 Miniature Toggle Switch 4pdt-1-0-(1) 5a-120 Vac Solder-lug Std-lever Actuator

SalecomSwitches
ZAR86.25

Salecom 8409 Miniature Toggle Switch 4pdt-1-0-(1) 5a-120 Vac Solder-lug Std-lever Actuator

Salecom 8405p Miniature Toggle Switch 4pdt-1-0-1 5a-120 Vac Right-angle-pcb-thruhole Ver.opr.std.lever

Salecom 8405p Miniature Toggle Switch 4pdt-1-0-1 5a-120 Vac Right-angle-pcb-thruhole Ver.opr.std.lever

SalecomSwitches
ZAR85.10

Salecom 8405p Miniature Toggle Switch 4pdt-1-0-1 5a-120 Vac Right-angle-pcb-thruhole Ver.opr.std.lever

Miniature Toggle Switch 8407 - 4pdt-(1)-0-(1) - 5a-120 Vac - Solder-lug - Std-lever Actuator

Miniature Toggle Switch 8407 - 4pdt-(1)-0-(1) - 5a-120 Vac - Solder-lug - Std-lever Actuator

CommunicaSwitches
ZAR86.25

Miniature Toggle Switch 8407 - 4pdt-(1)-0-(1) - 5a-120 Vac - Solder-lug - Std-lever Actuator

Salecom 8405 Miniature Toggle Switch 4pdt-1-0-1 5a-120 Vac Solder-lug

Salecom 8405 Miniature Toggle Switch 4pdt-1-0-1 5a-120 Vac Solder-lug

SalecomSwitches
ZAR113.85

Salecom 8405 Miniature Toggle Switch 4pdt-1-0-1 5a-120 Vac Solder-lug

Salecom Miniature Toggle Switch 4pdt-1-n-(1) 5a-120vac Right-angle Pcb Thruhole

Salecom Miniature Toggle Switch 4pdt-1-n-(1) 5a-120vac Right-angle Pcb Thruhole

SalecomSwitches
ZAR83.32

Salecom Miniature Toggle Switch 4pdt-1-n-(1) 5a-120vac Right-angle Pcb Thruhole

Salecom 8403 Toggle Switch 4pdt-1-n-(1) 5a-120 Vac Solder-lug Std-lever Actuator

Salecom 8403 Toggle Switch 4pdt-1-n-(1) 5a-120 Vac Solder-lug Std-lever Actuator

SalecomSwitches
ZAR80.21

Salecom 8403 Toggle Switch 4pdt-1-n-(1) 5a-120 Vac Solder-lug Std-lever Actuator

Salecom Miniature Toggle Switch 8401p - 4pdt-1-n-1 - 5a-120 Vac

Salecom Miniature Toggle Switch 8401p - 4pdt-1-n-1 - 5a-120 Vac

SalecomSwitches
ZAR82.23

Salecom Miniature Toggle Switch 8401p - 4pdt-1-n-1 - 5a-120 Vac

Salecom 8401 Miniature Toggle Switch - 4pdt-1-n-1 - 5a-120 Vac - Solder-lug - Standard-lever

Salecom 8401 Miniature Toggle Switch - 4pdt-1-n-1 - 5a-120 Vac - Solder-lug - Standard-lever

SalecomSwitches
ZAR106.72

Salecom 8401 Miniature Toggle Switch - 4pdt-1-n-1 - 5a-120 Vac - Solder-lug - Standard-lever

Salecom 8309 Miniature Toggle Switch 3pdt-1-0-(1) Solder-lug 5a-120 Vac

Salecom 8309 Miniature Toggle Switch 3pdt-1-0-(1) Solder-lug 5a-120 Vac

SalecomSwitches
ZAR83.84

Salecom 8309 Miniature Toggle Switch 3pdt-1-0-(1) Solder-lug 5a-120 Vac

Miniature Toggle Switch • Form : 3pdt-1-0-1 • 5a-120 Vac • Right-angle-pcb-thruhole • Ver.opr.std.lever Actuator

Miniature Toggle Switch • Form : 3pdt-1-0-1 • 5a-120 Vac • Right-angle-pcb-thruhole • Ver.opr.std.lever Actuator

SalecomSwitches
ZAR77.63

Miniature Toggle Switch • Form : 3pdt-1-0-1 • 5a-120 Vac • Right-angle-pcb-thruhole • Ver.opr.std.lever Actuator

Salecom 8307 Miniature Toggle Switch 3pdt-(1)-0-(1) 5a-120vac Solder-lug Std-lever Actuator

Salecom 8307 Miniature Toggle Switch 3pdt-(1)-0-(1) 5a-120vac Solder-lug Std-lever Actuator

SalecomSwitches
ZAR79.64

Salecom 8307 Miniature Toggle Switch 3pdt-(1)-0-(1) 5a-120vac Solder-lug Std-lever Actuator

Selection Criteria and Practical Considerations

Choosing the right 8013 PCB SH switch for a robotics project depends on mechanical form factor, electrical rating, expected lifecycle, environmental exposure, and PCB footprint compatibility.

Mechanical & environmental factors

  • Lifecycle (number of actuations): for frequently used controls choose higher-cycle variants.
  • Dust and moisture: standard 8013 switches are suitable for indoor prototyping; consider sealed variants if exposed to workshop dust or outdoor use.
  • Actuator type and travel: low-profile pushbuttons for compact panels; sliding switches for positive position indication.

Electrical integration and examples

For microcontroller inputs, use a pull-up resistor (10 kOhm typical) and wire the switch to ground. Example wiring for a tactile switch on an Arduino-compatible board:

GPIO_PIN ----[internal pull-up]----+----/ switch /---- GND

In code, read the GPIO and invert logic if using a pull-up. For noisy environments, add a 0.1 uF capacitor to ground for hardware debouncing or implement software debounce (delay 20-50 ms) to filter mechanical bounce.

Simple debounce pseudocode

if readSwitch() != lastState:
  wait(20 ms)
  if readSwitch() == currentReading:
    lastState = currentReading
    if currentReading == PRESSED:
      handlePress()

Mounting, PCB Footprint & Layout Tips

Follow these practical PCB layout rules to avoid mechanical stress and improve assembly reliability:

  • Place through-hole switch pins with adequate pad annular rings and solder fillets for mechanical strength.
  • Keep switch location near board edge or cutouts if the actuator must be accessible from the enclosure.
  • Add a mechanical mounting hole or support standoffs for boards with multiple switches to reduce torque on pins during operation.

Examples and South African context

Student teams building small sumo robots or line-followers often use tactile 8013 switches as manual start buttons or bump sensors. A common approach is to combine a tactile switch with a simple RC filter for noise suppression and route the signal to an Arduino Nano or similar. For classroom kits, buying switches in reels or tubes reduces per-unit cost; estimates for low-volume purchases in South Africa range depending on brand and packaging - small orders might be ZAR 2-10 per switch, while bulk reels reduce unit cost. These figures are illustrative and subject to supplier stock and lead times.

Troubleshooting and Common Issues

Key problems and quick remedies:

  • Intermittent contacts: reflow soldering or clean pads; check for cold joints.
  • False triggers: implement debounce or add a 10 kOhm pull resistor and 0.1 uF capacitor to ground.
  • Mechanical fatigue: choose higher-cycle variants for frequently actuated buttons in competition robots.

Testing checklist

  • Continuity test across contacts under actuation using a multimeter.
  • Measure bounce with oscilloscope if precise timing is critical.
  • Verify current rating suffices if the switch directly drives a relay coil or LED (prefer using the switch to signal a transistor or MOSFET gate instead).

Where to Source and What to Stock

Communica stocks a wide range of small electromechanical parts suitable for robotics prototyping, including PCB tactile and slide switches with standard footprints. For South African schools, universities, and makers, consider ordering spare switches for lab repair kits and checking branch stock at Samrand or satellite branches for quicker collection. When planning projects, factor lead times (which can vary) and request VAT invoices for institutional purchases.

Practical procurement tips

  • Order a mix of push and slide variants to test ergonomics on prototypes.
  • Buy extras in small bulk to reduce per-unit cost for class kits.
  • Check connector compatibility and whether the switch requires additional spacer hardware for panel mounting.

Sources

Communica Samrand — Electronic Component Experts

Communica supplies semiconductors and electronic components to industries such as automotive, electrical, automation, mining, and education.

Last updated: September 28, 2026

Disclaimer: This content is for educational purposes only. Product availability, pricing, and specifications are subject to change. Always verify current details on the retailer's website before making a purchase. We may earn affiliate commissions from qualifying purchases.

Frequently Asked Questions

Get answers to common questions about Robotics And Prototyping

Why Choose Communica?

*Free Shipping

Free shipping for orders over ZAR 1,000.00.

7-Day Returns

Get a full refund if you had the product for less than 7 days.

Quick Delivery

Nationwide delivery within 2 - 4 working days.