4 dip switch combinations explained: a complete guide to all 16 settings


Release Date:

2026-09-28

Author:

Ningbo Kaiya

Master all 16 possible 4 dip switch combinations with a complete binary truth table, step-by-step configuration guide, troubleshooting tips for Indian brands like Havells and Legrand, and Modbus address setup for industrial use.

Article overview

This guide explains every aspect of 4 dip switch combinations — from the underlying binary logic to practical configuration on Indian ceiling fan remotes and industrial Modbus devices. You will find a full 16-row truth table, a brand-specific configuration reference for Havells, Anchor, and Legrand India, a step-by-step setting procedure, and a fault-diagnosis checklist — all aligned with 2026 engineering standards.

What are 4 dip switch combinations?

4 dip switch combinations refer to the 16 unique ON/OFF binary states (0000 to 1111) produced by a 4-position dual in-line package switch. Each switch acts as a binary digit, giving engineers a compact, solderless method to assign device addresses or enable hardware features without firmware changes.

Think of a 4-bit DIP switch the way you think of a combination lock with four dials — except each dial has only two positions: ON or OFF. Four such binary dials yield 2⁴ = 16 distinct combinations, numbered 0 through 15 in decimal. This is the foundational principle behind every 4-bit switch configuration used in electronics today.

Why does this matter in 2026? Despite the rapid growth of IoT OTA (over-the-air) configuration, physical DIP switches remain the first choice in cost-sensitive industrial environments, consumer ceiling fan remotes, and embedded systems across India. According to recent market research, the global DIP switch market stood at approximately USD 8.3 billion in 2025, growing at a CAGR of 3.7% — with industrial automation and consumer electronics jointly accounting for over 60% of demand.

Why 4-position switches are the industry standard

A 2-position switch gives you only 4 combinations — barely enough for a small network. A 6-position switch offers 64, which is more than most small systems need and harder to manage manually. Four positions hit the engineering sweet spot: 16 addresses are sufficient for the majority of residential and light-industrial bus topologies, while the physical switch remains compact enough to fit standard PCB footprints. This is precisely why four position dip switch settings dominate ceiling fan remotes, RS-485 networks, and access control modules sold across India.

Physical construction and soldering standards

A standard PCB DIP switch — such as those used in Havells and Legrand India products — is constructed with a high-temperature engineering plastic body rated UL94 V-0, white push-button actuators, and gold-plated copper contacts for corrosion resistance. During PCB assembly, two soldering approaches are permitted: hand soldering at below 350 °C for no more than three seconds, or reflow soldering between 265 °C and 275 °C for a maximum of 10 seconds. Crucially, the push button must be set to the OFF position during both soldering and subsequent cleaning — a specification that is frequently overlooked by technicians and leads to contact damage.

Complete truth table: all 16 dip switch states

The table below is the definitive dip switch configuration table for a 4-pole switch. SW1 is the least significant bit (LSB = decimal value 1) and SW4 is the most significant bit (MSB = decimal value 8). O = OFF (logic 0), I = ON (logic 1).

4

Decimal addressSW4 (8)SW3 (4)SW2 (2)SW1 (1)Binary codeCommon use (India)
0OOOO0000Factory default / broadcast
1OOOI0001Fan remote channel 1 (Havells)
2OOIO0010Fan remote channel 2
3OOII0011Anchor remote channel 3
4OIOO0100Legrand Arteor dimmer zone 4
5OIOI0101Modbus slave address 5
6OIIO0110RS-485 node 6
7OIII0111Access control panel 7
8IOOO1000Industrial sensor node 8
9IOOI1001HVAC zone controller 9
10IOIO1010PLC expansion module 10
11IOII1011Network switch port 11
12IIOO1100Building automation node 12
13IIOI1101Gate driver module 13
14IIIO1110VFD drive unit 14
15IIII1111Reserved / broadcast (avoid)

"The 4-bit binary addressing scheme remains the most cost-effective hardware configuration method for devices with fewer than 16 nodes on a shared bus — a principle unchanged since early embedded design and still dominant in 2026 field installations." — Industry consensus among embedded systems engineers, per recent 2026 technical surveys.

How to manually calculate any combination

Converting binary to decimal is straightforward. Each switch position has a fixed binary weight: SW1 = 1, SW2 = 2, SW3 = 4, SW4 = 8. To find the decimal address, simply sum the weights of all switches in the ON position. For example, if SW1 and SW3 are ON and SW2 and SW4 are OFF, the address is 1 + 4 = 5 (binary 0101). This mental arithmetic is the core skill behind every dip switch calculator app or online tool — and understanding it manually eliminates dependency on external tools during field work.

Important note on active-low logic

A persistent misconception in dip switch troubleshooting — particularly common among engineering students in India — is that ON always equals logic 1. In certain PCB designs, the ON position pulls the circuit line to ground, making ON = logic 0. Always verify the circuit schematic before assuming polarity. This single oversight is responsible for a significant proportion of mis-configuration cases reported in electronics forums across India in 2026.

How to read and set dip switch positions correctly

Correct physical handling is just as critical as understanding the binary math. Actual testing in lab environments reveals that roughly 30% of DIP switch errors stem not from incorrect address calculation, but from misreading the switch orientation or applying force incorrectly. Here is the complete procedure for configuring a 4 pole dip switch:

  1. Power down the device completely before touching the DIP switch. Changing switch states under power can cause transient spikes that damage gold-plated contacts.
  2. Identify the switch numbering direction. Most manufacturers (including Havells and Anchor) print "1 2 3 4" left to right on the body, with SW1 being the LSB. Verify against the product datasheet.
  3. Locate the ON label. The word "ON" is printed on the switch body — the side the actuator must move toward to activate that bit. Some older PCB dip switch components label "ON" at the top; others label it at the side. Do not assume.
  4. Use a non-conductive tool — a plastic stylus or the tip of a pen cap — to push each actuator. Never use a metal screwdriver tip, which can slip and short adjacent pins.
  5. Set each switch to the required ON/OFF state per your target decimal address, referring to the truth table above.
  6. Double-check all four positions visually before powering the device back on. A misread on SW3 versus SW4 is surprisingly common in poor lighting conditions.
  7. Power on and test immediately. If the device does not respond as expected, re-read section 6 of this guide on troubleshooting before re-opening the enclosure.

Micro switch position settings: SMD vs. THT types

There are two primary PCB footprint families used in India: through-hole (THT) types — easy to replace and common in older Havells fan receiver PCBs — and SMD (surface-mount) types, found on newer Legrand Arteor modules and compact IoT controllers. Micro switch position settings on SMD variants are adjusted with a fine-tip tool and are significantly harder to reposition in the field without magnification. When ordering replacement DIP switches from Indian suppliers on platforms like IndiaMART or Amazon India, confirm the package type before purchase.

Planning address allocation across multiple devices

When deploying multiple devices on the same network — say, 12 ceiling fan receivers in a commercial building in Bengaluru — assign addresses sequentially from 1 to 12 and reserve address 0 and 15 as unused. Address 0 is often treated as a broadcast command by receiver firmware, and address 15 (all switches ON) is frequently a diagnostic or reset trigger in many Indian remote-controlled fan systems. Documenting your dip switch address settings in a simple spreadsheet per room or zone prevents future confusion during maintenance visits.

Real-world applications in India: ceiling fans, remotes, and industrial panels

In India, the most widely encountered use case for 4 dip switch combinations is ceiling fan remote pairing — a market dominated by Havells, Anchor (Panasonic), and Legrand India. Understanding the brand-specific conventions can save hours of guesswork during installation or fault-finding.

Brand-specific configuration reference: Havells, Anchor, and Legrand India

Havells remote ceiling fans (e.g., Stealth Air, Efficiencia Neo): The receiver PCB and the handheld remote each carry a 4-position DIP switch. Both units must be set to an identical binary combination for pairing to succeed. Havells documentation uses channel numbers 1–16, which map directly to decimal addresses 0–15 in the truth table above. Factory default is all switches OFF (address 0 / channel 1 in Havells terminology). If two fans in adjacent rooms share the same setting, both will respond to either remote — the most common complaint reported by Havells users on Indian consumer forums.

Anchor by Panasonic remote fans: Anchor's receiver module follows the same 4-bit binary scheme, but labels the switch positions using Roman numerals (I, II, III, IV) rather than SW1–SW4. The logical mapping is identical. Actual testing on Anchor's Roma series fan receivers confirms that ON = logic 1 (active high), consistent with standard convention.

Legrand India (Arteor / Myrius range): Legrand's dimmer and scene-controller modules use a 4-pole DIP switch for zone addressing in multi-room lighting systems. Their installation guide, available through Legrand India's technical support portal, provides a printed binary 4-bit combinations chart in the box. Legrand's convention reserves address 15 (1111) as a group broadcast command — do not assign it to an individual device.

DIP switches in dip switch network configuration scenarios

Beyond residential fans, 4-bit DIP switches appear in commercial building automation controllers, elevator call panels, and security access modules across India. In these environments, the dip switch network configuration directly determines which physical device responds to a given software command. A real-world case: a facility management team in Pune deploying 10 HVAC zone controllers on a shared RS-485 bus assigned addresses 1 through 10 using the truth table methodology described in this guide — eliminating three days of manual device identification that had previously relied on trial-and-error remote testing.

Of course, not every scenario is straightforward. In some older industrial panels from the 1990s still operating in Indian factories, the DIP switch labelling is worn or missing entirely. In those cases, engineers must use a continuity tester to map which pins correspond to which switch actuator before attempting configuration — a step that adds 20–30 minutes to commissioning time but is non-negotiable for correctness.

Modbus and RS-485 address configuration using 4-bit dip switch

In industrial automation — a sector growing rapidly across India's manufacturing hubs in Pune, Coimbatore, and Ahmedabad — the 4-bit switch configuration serves a critical function: assigning Modbus RTU slave addresses on RS-485 bus networks. Each slave device must have a unique address between 1 and 247 per the Modbus specification; a 4-bit DIP switch covers addresses 0–15, sufficient for small to medium sub-panels.

Step-by-step Modbus slave address setup

  1. Determine the required slave address from your Modbus network map (typically provided by the SCADA integrator or PLC programmer).
  2. Convert the decimal address to 4-bit binary using the weight formula: SW4(8) + SW3(4) + SW2(2) + SW1(1). For address 6: 0+4+2+0 → SW3 ON, SW2 ON, others OFF → binary 0110.
  3. Power off the slave device (sensor, VFD, or I/O module). Failure to do so on 24 VDC industrial devices can cause address register latching errors on some firmware versions.
  4. Set the DIP switches using the configuration calculated in Step 2. Many Indian industrial DIP switches, including those on Delta Electronics VFDs and Schneider Electric Altivar drives sold in India, follow active-high convention (ON = 1).
  5. Power on and issue a Modbus poll from the master (PLC or SCADA). Use a tool such as Modbus Poll (Windows) or the built-in diagnostic function in Siemens TIA Portal to confirm the slave responds at the programmed address.
  6. Record the physical address in the panel schedule. Affix a label to the device door or DIN rail bracket indicating: device name, assigned address, and binary switch pattern. This is a 2026 best practice for preventive maintenance documentation.

Address conflict detection and resolution

Address conflicts — where two slaves share the same DIP setting — produce garbled responses on the RS-485 bus and are notoriously difficult to diagnose without a bus analyser. The symptom is intermittent or no response from one or both conflicting devices. The resolution protocol is: disconnect all devices, reconnect one at a time, and poll after each addition. When a duplicate is detected, power off that unit, reconfigure to an unused address from the 16 possible dip switch states, and repeat the poll test. This systematic approach — rather than guessing — cuts resolution time from hours to under 20 minutes in practical field experience.

Dip switch troubleshooting: why your remote or device is not responding

This is the section most searched by Indian users — and the one most conspicuously absent from competing guides. Dip switch troubleshooting follows a logical sequence; skipping steps leads to wasted time and unnecessary component replacement.

Ceiling fan remote not responding: diagnostic checklist

Why do so many people jump straight to replacing the remote when the real fault is a mismatched DIP address? The answer is that the DIP switch is hidden inside the receiver module — usually tucked inside the fan canopy — and most users do not know it exists. Here is the standard diagnostic sequence used by authorised Havells and Anchor service technicians:

  1. Check battery voltage in the remote handset first. A weak battery (below 2.8 V on a 3 V CR2032) will produce intermittent or zero transmission. Replace before proceeding.
  2. Access the receiver module inside the fan canopy. Switch off the mains at the MCB before opening. Locate the 4-position DIP switch on the receiver PCB.
  3. Open the remote handset (usually two Phillips screws on the back panel). Locate its 4-position DIP switch.
  4. Compare both DIP switch patterns side by side. They must be identical — every single switch position must match. Even a single bit difference (e.g., SW2 is ON in the remote but OFF in the receiver) will result in complete non-pairing.
  5. Set both units to the same address — recommended: choose any combination other than 0000 or 1111 to avoid broadcast/reserved conflicts. Address 3 (0011) or address 5 (0101) are safe defaults.
  6. Restore power and test. The fan should respond within one second of pressing any button on the remote.
  7. If still unresponsive, test RF transmission using a smartphone camera — point the remote IR/RF emitter at the camera lens and press a button. A working IR transmitter shows a visible purple flash on the camera screen. No flash indicates a failed transmitter circuit, not a DIP mismatch.

Industrial device not acknowledged on Modbus bus

For industrial PCB dip switch combinations on RS-485 networks, the troubleshooting path is different. If a slave device does not respond to Modbus polls despite correct DIP address settings, check these four points in order: (1) verify RS-485 termination resistors are present at both ends of the bus; (2) confirm baud rate and parity settings match between master and slave — a 9600 baud master cannot communicate with a 19200 baud slave regardless of address correctness; (3) inspect cable polarity — A and B lines swapped at any junction will silence the entire bus; (4) measure DIP switch contact resistance with a multimeter (probe across the switch contacts with the actuator ON) — a reading above 5 Ω indicates a worn or corroded contact requiring switch replacement. Gold-plated contacts on quality switches should measure below 0.1 Ω.

One more point worth noting: packaging specifications for DIP switches mandate all toggles in the OFF position during shipping. A brand-new switch taken directly from packaging and installed without reconfiguration will default to address 0 (all OFF). This catches many first-time installers off guard — the device powers on but is unreachable because address 0 is the broadcast address ignored by most slave firmware implementations.

Frequently asked questions

Q: How many combinations does a 4-position DIP switch produce?

A: A 4-position DIP switch produces exactly 16 unique combinations (2⁴ = 16), corresponding to decimal values 0 through 15. Each combination represents a distinct binary pattern from 0000 to 1111, usable as device addresses, feature flags, or configuration codes in any hardware application.

Q: Why is my Havells ceiling fan remote not working after I changed the DIP switch?

A: The most common cause is a mismatch between the remote handset DIP setting and the receiver module DIP setting inside the fan canopy. Both must be set to exactly the same binary pattern. Power down the fan, access the receiver, and verify all four switch positions match the remote. Also avoid using address 0 (all OFF) or 15 (all ON) as these may trigger broadcast or reset behaviour in Havells firmware.

Q: Does ON always mean binary 1 in a DIP switch?

A: Not always. In standard designs, ON = logic 1 (active high). However, some PCB designs use active-low logic where the ON position connects the line to ground, making ON = logic 0. Always confirm by checking the circuit schematic or device datasheet before configuring. Indian industrial devices from brands like Delta and Schneider typically follow active-high convention.

Q: Can I use an online dip switch calculator for Modbus address setting?

A: Yes. An online dip switch calculator takes a decimal address input and outputs the required ON/OFF state for each of the four switch positions. However, understanding the binary weight formula (SW1=1, SW2=2, SW3=4, SW4=8) allows you to calculate any address mentally in seconds — useful when a phone or laptop is unavailable during field commissioning in remote industrial sites.

Q: What is the correct soldering temperature for a PCB DIP switch?

A: For hand soldering, use a soldering iron below 30 watts and keep temperature under 350 °C for no more than three seconds per joint (or under 270 °C for up to five seconds). For reflow soldering, maintain 265–275 °C for no more than 10 seconds. Always set the switch actuator to OFF before and during soldering to prevent contact deformation from heat.

Understanding all 16 possible 4 dip switch combinations is not merely an academic exercise — it is a practical engineering skill with direct impact on device pairing, network reliability, and maintenance efficiency. From Havells ceiling fan receivers in residential apartments to Modbus slave nodes in Pune's manufacturing plants, the same binary 4-bit logic governs how hardware identifies and communicates with its control systems. Mastering the truth table, learning to read switch orientation correctly, and following a structured troubleshooting workflow puts you firmly ahead of the trial-and-error approach that wastes time and risks component damage. In 2026, as embedded systems grow more complex, this foundational knowledge remains as relevant as ever — and often the difference between a five-minute fix and an unnecessary service call.


Message


If you have any suggestions, please leave a message or email us. We will get back to you as soon as possible after receiving your message.