DIP switch is an address switch used for operation control, using the principle of 0/1 binary coding. DIP switches are often used in PLC control. There are two types of DIP switches, one is the BCD code switch, that is, the value of DIP switches from 0 to 9, and the output is 8421 BCD code. The other is hexadecimal code, which is 0~F, and the output is binary code. DIP switches can easily change data.
As a micro switch that needs to be manually operated, the DIP switch is widely used in many equipment products such as communication and security. There are two pins on the top and bottom of the back of each key corresponding to the DIP switch. When the switch is set to ON, the two pins below are connected; otherwise, it is disconnected. These four keys are independent and not related to each other. Such components are mostly used for binary coding.
If you set the code: 1 for on; 0 for off, then:
0000
0001
0010
0100
1000
1001
1010
1100
0101
0110
0011
1101
0111
1101
1110
1111
There are 16 codes in total.
There are many models of DIP switches. According to the pin position, they are divided into in-line (DIP) and patch (SMD). According to the way of dialing, they are divided into flat dial and side dial. According to the foot spacing, there is 2.54 The distance between mm and 1.27mm feet is divided into black, red and blue according to the color. According to the state, there are two states and three states. According to the number of digits, it is usually 11 digits such as 1-10 digits and 12 digits. In fact, there are many more subdivided.
①Half-pitch type
Its pitch is half the normal DIP switch, which is Pitch 1.27mm. The main features are small size and occupy less space on the circuit board. Suitable for use on micro precision equipment. For example, the specific parameters and dimensions of KE08RTGT of KE series are as follows:
SPECIFICATIONS:
Electrical Ratings: Switch: 25mA @ 24VDC; Carry: 100mA @ 24VDC
Electrical Life: 2,000 cycles typical
Contact Resistance: < 25 mΩ initial
Actuation Force: 500 gF max
Actuator Travel: 0.65 mm
Dielectric Strength: 500Vrms min
Insulation Resistance: > 100MΩ min
Operating Temperature: -40°C to 85°C
Storage Temperature: -40°C to 85°C
②DIP flat type
The pitch is 2.54mm, it adopts the top dial type (DIP), flat type, which belongs to two states. The strength of the actuator is up to 800gF in each series. The housing and actuator are made of PBT, UL94V-0. The contacts and terminals are all gold-plated, and the reliability is strong. The working temperature is -40 to 85 degrees, suitable for industrial grade. For example, the specific parameters and dimensions of KG02E of the KG series are as follows:
SPECIFICATIONS:
Electrical Ratings: Switch: 25mA @ 24VDC; Carry: 100mA @ 24VDC
Electrical Life: 2,000 cycles typical
Contact Resistance: < 25 mΩ initial
Actuation Force: 800 gF max
Actuator Travel: 2.0 mm
Dielectric Strength: 500Vrms min
Insulation Resistance: > 100MΩ min
Operating Temperature: -40°C to 85°C
Storage Temperature: -40°C to 85°C
③DIP sliding type
Pitch 2.54mm, sliding in-line switch, two states. Compared with the KG series, its executive mechanism is only half as powerful. The actuator is 4/6Nylon, UL94V-0, White; the outer cover material is PPS, UL94V-0, Black. The same is gold-plated contacts, the temperature range is -40 to 85 degrees, suitable for industrial grade. For example, the specific parameters and dimensions of KL02EHT of KL series are as follows:
SPECIFICATIONS:
Electrical Ratings: Switch: 25mA @ 24VDC; Carry: 100mA @ 24VDC
Electrical Life: 2,000 cycles typical
Contact Resistance: < 25 mΩ initial
Actuation Force: 400 gF max
Actuator Travel: 2.0 mm
Dielectric Strength: 500Vrms min
Insulation Resistance: > 100MΩ min
Operating Temperature: -40°C to 85°C
Storage Temperature: -40°C to 85°C
④DIP key type
Pitch 2.54mm, top dial type (DIP), two-state, key type. The protruding part of the actuator is only 0.9mm. Gold-plated contacts, strong reliability. The stroke of the actuator is only 0.9mm. The material of the actuator and the outer cover is Nylon, UL94V-0. The temperature range is also suitable for industrial grade. For example, the specific parameters and dimensions of KT08RTH of KT series are as follows:
SPECIFICATIONS:
Electrical Ratings: Switch: 25mA @ 24VDC; Carry: 100mA @ 24VDC
Electrical Life: 2,000 cycles typical
Contact Resistance: < 25 mΩ initial
Actuation Force: 600 gF max
Actuator Travel: 0.90 mm
Dielectric Strength: 500Vrms min
Insulation Resistance: > 100MΩ min
Operating Temperature: -40°C to 85°C
Storage Temperature: -40°C to 85°C
⑤DIP ultra-thin sliding type
Pitch 2.54mm, top dial type (DIP), two-state, sliding type. Gold-plated contacts, strong reliability. The materials of the actuator and the outer cover are 6TNylon, UL94V-0. The thickness is only 3.7mm, and the thickness of the actuator is only 0.6mm, suitable for use in precision instruments. For example, the specific parameters and dimensions of KJ04RTH of the KJ series are as follows:
SPECIFICATIONS:
Electrical Ratings: Switch: 25mA @ 24VDC; Carry: 100mA @ 24VDC
Electrical Life: 2,000 cycles typical
Contact Resistance: < 25 mΩ initial
Actuation Force: 600 gF max
Actuator Travel: 0.90 mm
Dielectric Strength: 500Vrms min
Insulation Resistance: > 100MΩ min
Operating Temperature: -40°C to 85°C
Storage Temperature: -40°C to 85°C
⑥DIP key convex type
Pitch 2.54mm, top dial type (DIP), two-state, key type. The contact part is a gold-plated contact, and the self-cleaning structure ensures high reliability. The actuator material is 4/6Nylon, UL94V-0, convex type. The outer cover material is PPS, UL94V-0. Its width and thickness are 10.7mm and 9.5mm respectively, which are larger than other series. Suitable for operating equipment up and down. For example, the specific parameters and dimensions of KP02E series are as follows:
SPECIFICATIONS:
Electrical Ratings: Switch: 25mA @ 24VDC; Carry: 100mA @ 24VDC
Electrical Life: 2,000 cycles typical
Contact Resistance: < 25 mΩ initial
Actuation Force: 400 gF max
Actuator Travel: 2.0 mm
Dielectric Strength: 500Vrms min
Insulation Resistance: > 100MΩ min
Operating Temperature: -40°C to 85°C
Storage Temperature: -40°C to 85°C
① Main circuit
The whole process of input from AC grid and output from DC, including:
A. Input filter: Its function is to filter out the clutter existing in the power grid, and at the same time prevent the clutter generated by the machine from being fed back to the public grid.
B. Rectification and filtering: Directly rectify the AC power of the grid into a smoother DC for the next stage of transformation.
C. Inverter: Convert the rectified direct current into a high-frequency alternating current, which is the core part of the high-frequency switching power supply. The higher the frequency, the smaller the ratio of volume, weight, and output power.
D. Output rectification and filtering: Provide stable and reliable DC power supply according to load requirements.
②Control circuit
On the one hand, samples are taken from the output terminal and compared with the set standard, and then the inverter is controlled to change its frequency or pulse width to achieve stable output. On the other hand, according to the information provided by the test circuit, the protection circuit is identified and provided The control circuit carries out various protection measures for the whole machine.
③Detection circuit
In addition to providing various parameters in operation in the protection circuit, it also provides various display instrument data.
④ auxiliary power supply
Provide different power supplies for all single circuits.
DIP switch is equivalent to a switch value. When it is turned on, it means on, and off means off. In digital circuits, 0 and 1 are usually used for binary input. The smallest system board of this subject uses an eight-position DIP switch as a byte input. When it is turned ON, it is equivalent to input "1", and the default input is "0".
The circuit schematic design of eight-position DIP switch