DIP Switch 4-Position — SPST, Through-Hole, 2.54mm Pitch, PCB Mount
DIP Switch 4-Position SPST, Through-Hole, 2.54mm Pitch, PCB Mount
Compatible JST cables for sensors and modules — secure & reliable. Shop now.
Couldn't load pickup availability
DIP Switch 4-Position — SPST, Through-Hole, 2.54mm Pitch, PCB Mount
This 4-position DIP switch provides 4 independent SPST ON/OFF switches in a single through-hole package — the most commonly used DIP switch size for I²C address setting and 4-bit mode configuration. With 16 unique combinations (2⁴), it covers the full range of I²C address bits (A0–A3) for sensors, EEPROMs, and expanders. Standard 2.54mm pitch fits any PCB or perfboard.
Electrical Specifications
- Positions: 4 independent SPST switches
- Combinations: 16 unique states (2⁴)
- Pin Pitch: 2.54mm (0.1")
- Termination: Through-hole solder pins
Typical Applications
- I²C address setting: Set A0–A3 address bits for sensors, EEPROMs, and I/O expanders
- 4-bit mode selection: Select from 16 operating modes
- PCB configuration: Field-configurable settings without firmware changes
- Prototyping: 4-bit binary input for testing and development
Package Contents
- 1 × 4-position DIP switch (through-hole, 2.54mm pitch)
4 independent SPST switches, 16 combinations, 2.54mm pitch — the most popular DIP switch size for I²C address setting and 4-bit PCB configuration.

Blog posts
View all-
Best JST Connector Crimping Tools in 2026: Engi...
Choosing the wrong crimping tool ruins JST connectors and wastes wire. This guide compares the top crimping tools for JST SH, GH, PH, XH, and VH series — including Engineer...
Best JST Connector Crimping Tools in 2026: Engi...
Choosing the wrong crimping tool ruins JST connectors and wastes wire. This guide compares the top crimping tools for JST SH, GH, PH, XH, and VH series — including Engineer...
-
Molex KK 254 vs Mini-Fit Jr. vs Micro-Fit 3.0: ...
Choosing between Molex KK 254, Mini-Fit Jr., and Micro-Fit 3.0? This guide compares pitch, current rating, locking mechanism, wire gauge, and typical applications — with decision tables, part number references,...
Molex KK 254 vs Mini-Fit Jr. vs Micro-Fit 3.0: ...
Choosing between Molex KK 254, Mini-Fit Jr., and Micro-Fit 3.0? This guide compares pitch, current rating, locking mechanism, wire gauge, and typical applications — with decision tables, part number references,...
-
DuPont Connector vs JST PH 2.0: Pinout, Specs &...
Not sure whether to use a DuPont 2.54mm or JST PH 2.0mm connector? This guide compares pitch, locking mechanism, current rating, pinout, and best use cases — so you can...
DuPont Connector vs JST PH 2.0: Pinout, Specs &...
Not sure whether to use a DuPont 2.54mm or JST PH 2.0mm connector? This guide compares pitch, locking mechanism, current rating, pinout, and best use cases — so you can...