Best Practices for Using 8013 PCB SH Switches in Electronics Projects
Learn practical best practices for selecting, mounting and wiring 8013 PCB SH switches. Debounce, footprint, testing and local sourcing tips for South African makers.

Match Specs to Use
Check contact rating, actuation force and mounting before choosing a variant.
Debounce & Wiring
Use pull-ups and software/hardware debouncing for reliable digital inputs.
PCB & Mechanical Care
Design proper footprints, add support posts, and test for expected cycle life.
Overview: What the 8013 PCB SH Switch Is and Where to Use It
The 8013 PCB SH family refers to compact through-hole or surface-mount tactile and slide switches commonly used for user input, mode selection, and small signal switching on printed circuit boards. They are popular in hobbyist, education and light-industrial projects because of their low cost, simple mechanical action and broad availability from component distributors including local suppliers.
Common applications
- Reset and power enable switches on microcontroller boards
- Mode selectors, DIP-like functions, and user interface buttons
- Low-current signal routing for sensors, indicators and logic inputs
Key specifications to check
When choosing an 8013 PCB SH switch variant, review the datasheet for mechanical life (cycles), contact rating (voltage/current), actuation force, travel, terminal style, and operating temperature. In many hobby and educational designs you will use them for digital inputs (3.3V/5V logic) with currents under 100 mA, but always confirm the specific contact rating for safety and longevity.
| Parameter | Typical Range | Why it matters |
|---|---|---|
| Contact rating | 50 mA - 300 mA @ 12V (varies by variant) | Determines safe switching of currents; avoid using for mains or high loads. |
| Mechanical life | 10,000 - 100,000 cycles | Expected durability under repeated operation. |
| Actuation force | 100 - 350 gf | Affects tactile feel and accidental activation on panels. |
Local sourcing and stock notes
Communica stocks a wide range of small switches and related components. For South African projects, check Samrand stock or the Pretoria and Cape Town branches for lead-time-sensitive builds. Prices for small batches or samples can vary; estimate ZAR 5-ZAR 30 per unit depending on type and packaging (estimates only). Request VAT invoices for procurement and educational ordering.
Selection Criteria: Choosing the Right 8013 Variant
Match the switch variant to the electrical, mechanical and environmental needs of the project. Consider whether you need through-hole for stronger mechanical anchoring or an SMD variant for automated assembly. Evaluate the required contact rating, mounting height for enclosure fit, and actuator style (lever, button, slide).
Checklist for selection
- Voltage and current: use only within rated limits; for microcontroller inputs, confirm dry-contact behaviour.
- Mounting: through-hole for hand-assembly and mechanical strength; SMD for low-profile boards and reflow.
- Environmental: if used outdoors or in dusty environments, plan for sealing or use of a sealed switch variant.
- Tactile feel: choose actuation force and travel appropriate for user experience.
Example: Choosing for a 3.3V sensor board
For a battery-powered sensor node using a 3.3V MCU, select an 8013 variant rated for low-voltage logic, with minimal contact resistance and low operating current. Use a latching or momentary type according to the function (mode select vs user button).
Related Connectors, Wire & Cable Products
Discover quality connectors, wire & cable products related to Best Practices for Using 8013 PCB SH Switches in Electronics Projects
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
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
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
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
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
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
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
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
Salecom Miniature Toggle Switch 8401p - 4pdt-1-n-1 - 5a-120 Vac
Salecom Miniature Toggle Switch 8401p - 4pdt-1-n-1 - 5a-120 Vac
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
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
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
PCB Layout and Mechanical Mounting Best Practices
Correct footprint design improves solder joint reliability and reduces mechanical stress. Follow manufacturer land-pattern recommendations where available. When hand-soldering through-hole 8013 switches, add copper pads and thermal reliefs as needed to make soldering easier without overheating plastic bodies.
Recommended footprint and placement tips
- Include plated through-holes with correct diameter for leads and a fillet area for solder fillet strength.
- Place switches near board edges for user access but keep mechanical load paths clear of fragile components.
- For high-cycle tactile buttons, add mechanical support posts or glue under the switch base to reduce board stress.
Wiring, Switching Logic, and Debouncing
Switches create mechanical contact bounce when changing state. For reliable digital readings use hardware or software debouncing. For simple MCU inputs, a pull-up or pull-down resistor and a short debounce routine are usually sufficient.
Simple wiring examples
MCU_GPIO -----+----/ SWITCH /----- GND
|
+--+10kOhm pull-up to Vcc
In this typical configuration the switch pulls the input low when pressed. Use a 10 kOhm pull-up for stable logic; lower values give faster edges but drain more current in battery designs.
Debounce strategies
- Software delay: ignore input changes for 5-20 ms after first transition.
- State sampling: require N consistent reads over M ms to accept a change.
- Hardware RC: 10 kOhm and 100 nF gives ~1 ms time constant for faster filtering; increases input capacitance.
Calculations & Simple Examples
Use Ohm's law when designing pull-ups or series resistors. For example, if you want a pull-up current below 0.33 mA at 3.3V, choose R = V/I = 3.3V / 0.33 mA ~ 10 kOhm.
If you add an LED indicator in series with the switch on a 5V board and want 2 mA through the LED (for low-power indication), calculate series resistor: R = (Vcc - Vf) / I. For a 2.0V LED: R = (5 - 2) / 0.002 = 1.5 kOhm (use standard 1.5 kOhm or 1.6 kOhm).
Testing, Troubleshooting and Reliability Tips
Before assembly in quantity, test samples under expected conditions: temperature range, vibration if applicable, and expected cycle counts. Check contact resistance with a DMM and verify consistent actuation force and electrical behaviour.
Common failure modes and fixes
- Intermittent contact: clean contacts if accessible or replace switch; avoid using below-rated currents that promote oxidation.
- Solder joint cracks: increase pad size, add mechanical support, or use flexible adhesive to reduce stress.
- Wrong footprint: verify pin spacing and orientation against the actual part before soldering a panel of boards.
Assembly tips for South African makers and labs
- When buying small volumes locally, mix a few extra units per batch to allow for failures. Typical extra allowance: 5-10% of run for manual assembly projects.
- Order from known suppliers and check stock levels at Communica branches if you need same-week pickups for student lab builds.
- Keep spares and recommended tools (soldering iron 25-30W, fine-tip, flux, tweezers) on hand to reduce rework time.
Sources
Communica supplies semiconductors and electronic components to industries such as automotive, electrical, automation, mining, and education.
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 Connectors Wire And Cable
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.
























