DIP Switch

A DIP switch (Dual In-line Package switch) is a compact electromechanical device used to manually configure electronic circuits. DIP switches are widely used in PCB design, embedded systems, industrial equipment, communication devices, and electronic prototyping.

ATO offers a complete range of SPST DIP switches, including mechanical, surface mount, and side mount models with 1 to 12 positions. Whether you need simple ON/OFF circuit control or multi-position hardware configuration, you can find the right DIP switch for your application.

DIP Switch Types

Different types of DIP switches are available to accommodate various PCB layouts, assembly methods, and circuit configuration requirements. Most DIP switches use a standard 2.54 mm (0.1 inch) pin pitch, making them compatible with a wide range of PCBs, breadboards, and electronic devices.

  • Mechanical DIP Switches: Mechanical DIP switches are SPST (Single Pole Single Throw) devices that provide simple ON/OFF control for individual circuits. They are commonly used in small electronic projects, development boards, and basic hardware configuration applications.
  • Surface Mount DIP Switches: Surface mount DIP switches are designed for compact PCB layouts and automated assembly processes. Available in 5–8 positions, they are widely used in embedded systems, industrial electronics, and space-constrained circuit designs.
  • Side Mount DIP Switches: Side mount DIP switches are installed along the edge of the PCB to maximize board space while maintaining easy access for configuration. They are commonly used in industrial control equipment and communication devices requiring 10–12 position configurations.

DIP Switch Selection Table

SKUModelPinsMounting TypeFeatures
ATO-DIP-1P1 Position DIP Switch2PCB / Breadboard / MotherboardCompact, single circuit control, ideal for basic ON/OFF
ATO-DIP-2P2 Position DIP Switch4PCB / Breadboard / MotherboardSimple dual circuit selection, easy to mount on PCBs
ATO-DIP-3P3 Position DIP Switch6PCB / Breadboard / MotherboardMiniature design, suitable for small electronic projects
ATO-DIP-4P4 Position DIP Switch8PCB / Breadboard / MotherboardMiniature design, suitable for small electronic projects
ATO-DIP-5P5 Position DIP Switch10Surface MountSurface mount, compact for embedded PCB applications
ATO-DIP-6P6 Position DIP Switch12Surface MountMultiple circuit control, space-saving design
ATO-DIP-7P7 Position DIP Switch14Surface MountHigh-density configuration, ideal for industrial boards
ATO-DIP-8P8 Position DIP Switch16Surface MountCompact 8-way control, reliable SPST switching
ATO-DIP-10P10 Position DIP Switch20Side Surface MountHigh-density 10-circuit control, side mount for PCB space optimization
ATO-DIP-12P12 Position DIP Switch24Side Surface MountAdvanced 12-circuit switching, compact side mount, suitable for complex boards


How to Choose the Right DIP Switch

Selecting the correct DIP switch depends on your PCB layout, circuit requirements, and intended application. Consider these factors:

Number of Positions

  • Determines how many circuits the switch can control.
  • 1–4 positions for small projects, 5–8 for embedded systems, 10–12 for industrial devices.
  • Extra positions allow future expansion.

Mounting Type

  • Through-Hole: Strong mechanical stability, easy hand soldering.
  • Surface Mount (SMD): Compact, ideal for automated PCB assembly.
  • Side Mount: Saves PCB space, suitable for high-density boards.

Pin Configuration

  • Ensure pin count and spacing match your PCB footprint.
  • Standard pitch is 2.54 mm.

Circuit Type

  • SPST: Simple ON/OFF control.
  • SPDT: Switches between two circuits (less common).

Application Requirements

  • DIY / Prototyping: Small mechanical switches are sufficient.
  • Embedded Systems: Medium-position SMD or through-hole for automation.
  • Industrial / Communication: High-position side-mount for complex configurations.

Common DIP Switch Applications

DIP switches are versatile and widely used wherever hardware-based configuration is needed.

Embedded Systems

  • Configure microcontrollers, IoT devices, and smart modules.
  • Set device addresses, operating modes, or functional states without firmware changes.

Industrial Electronics

  • Control automation machinery and communication equipment.
  • Configure system behavior, operation modes, and hardware settings reliably.

PCB Prototyping

  • Rapid testing and debugging on PCBs and breadboards.
  • Allows engineers to change circuit behavior without redesigning boards.

Communication Equipment

  • Used in network devices, switches, and routers.
  • Provides simple manual configuration for system settings.

Consumer Electronics

  • Adjust device settings, regional configurations, or operating modes.
  • Offers hardware-based customization without software updates.

FAQ

Q: How does a DIP switch work?

A: Each switch inside the package opens or closes a circuit. When switched ON, current can flow; when switched OFF, the circuit is disconnected.

Q: What is the standard pin spacing of a DIP switch?

A: Most DIP switches use a standard 2.54 mm (0.1 inch) pin spacing compatible with PCBs and breadboards.

Q: Can DIP switches be reused?

A: Yes. DIP switches are designed for repeated operation and can be switched ON and OFF many times throughout their service life.

Q: Can DIP switches be used with microcontrollers?

A: Yes. DIP switches are frequently used to configure microcontroller addresses, operating modes, and hardware settings without changing firmware.

Q: What is the difference between a DIP switch and a jumper?

A: A DIP switch allows configuration changes by simply toggling a switch, while a jumper requires physically moving a connector between pins. DIP switches are generally more convenient for frequent adjustments.

View as Grid List
Sort by
Display per page

1 Position DIP Switch, 2 Pin, SPST

ATO-DIP-1P
$9.09
Low price 1 position 1 way DIP switch with 2 pins is an electromechanical device to make manual changes to an electronic circuit. This micro SPST DIP switch is commonly mounted on a PCB, breadboard or motherboard.

2 Position DIP Switch, 4 Pin, SPST

ATO-DIP-2P
$9.09
Wholesale price 2 position 4 pin DIP switch for sale online, SPST loop, small and simple. This electronic DIP switch consists of 2 switches in a single unit which can be mounted on a PCB, breadboard or motherboard to control circuits.

3 Position DIP Switch, 6 Pin, SPST

ATO-DIP-3P
$9.09
Factory price 3 position 6 pin DIP switch oneline sale, SPST loop, mini and simple. This electronic DIP switch consists of 3 switches in a single unit which can be mounted on a PCB, breadboard or motherboard to control circuits.

4 Position DIP Switch, 8 Pin, SPST

ATO-DIP-4P
$9.19
4 position 4 way DIP switch with 8 pins for sale, 2.54mm pin spacing, it is an electromechanical device to make manual changes to an electronic circuit. This micro SPST DIP switch is commonly mounted on a PCB, breadboard or motherboard.

5 Position DIP Switch, 10 Pin, SPST

ATO-DIP-5P
$9.39
Surface mount 5 position DIP switch for sale, SPST loop, pin spacing 2.54mm. This miniature DIP switch consists of 5 switches in a single unit which can be mounted on a PCB, breadboard or motherboard to control circuits.

6 Position DIP Switch, 12 Pin, SPST

ATO-DIP-6P
$9.39
Small surface mount 6 position 12 pin DIP switch at wholesale price, SPST loop, pin spacing 2.54mm. It is a dual in-line package switch miniature that can be mounted on a PCB, breadboard, or motherboard to switch on or off circuits.

7 Position DIP Switch, 14 Pin, SPST

ATO-DIP-7P
$9.79
7 position 14 pin Dual inline package switch (DIP switch) for sale. It can be used to activate or deactivate different electronic circuits of PCB, breadboard or motherboard, surface mount, SPST loop, pin space 2.45mm, small size with wholesale price.

8 Position DIP Switch, 16 Pin, SPST

ATO-DIP-8P
$9.89
Miniature surface mount 8 position DIP switch at wholesale price, SPST loop, pin spacing 2.54mm. It is a dual in-line package switch miniature which can be mounted on a PCB, breadboard or motherboard to switch on or off circuits.

10 Position DIP Switch, 20 Pin, SPST

ATO-DIP-10P
$10.49
Side surface mount 10 position DIP switch for sale at low price, SPST loop, pin spacing 2.54mm. This miniature DIP switch consists of 10 switches in a single unit which can be mounted on a PCB, breadboard or motherboard to control circuits.

12 Position DIP Switch, 24 Pin, SPST

ATO-DIP-12P
$10.49
Mini 12 position side DIP switch at factory price, SPST loop, pin spacing 2.54mm, surface mount, small size and light weight. It is a dual in-line package switch which can be mounted on a PCB, breadboard or motherboard to switch on or off circuits.

DIP Switch