亚洲人成在线播放-亚洲人成伊人成综合网久久久-亚洲人成伊人成综合网久久-亚洲人成亚洲人成在线观看-99色视频在线观看-99色视频在线

The relationship between binary and decimal system of DIP switch

Column:Company news Time:2020-09-29
The main function of the VE dial switch is to realize the selection, option and location of the coding function by controlling the on and off of the circuit.

The main function of the VE dial switch is to realize the selection, option and location of the coding function by controlling the on and off of the circuit.

The stability of the DIP switch is directly related to the stable operation of the system, so it is important to use high-quality DIP switches.

Advantages of DIP switch design:

1. Simple and applicable, which can greatly simplify the construction time of the project.

2. The contact terminals are all plated with thick gold, and there will be no poor contact or unstable use due to oxidation during use.

3. Simple maintenance

Dial switch word mark identification: dial up to open (ON), dial down to close (OFF).


                  DIP switch diagram 1

The decimal relationship corresponding to the DIP switch is shown in the figure above: there are characters 128, 64, 32, 16, 8, 4, 2, 1 from left to right on the circuit board, indicating the weight relationship of the DIP switch corresponding to a decimal number.

The weight of the first dial switch is: 128

The weight of the second dial switch is: 64

The weight of the third dial switch is: 32

The weight of the fourth dial switch is: 16

The weight of the fifth dial switch is: 8

The weight of the 6th DIP switch is: 4

The weight of the seventh DIP switch is: 2


The weight of the eighth dial switch is: 1


In binary, ON is 1, OFF is 0

The weight of the first DIP switch is: 2^7 (10000000)

The weight of the second DIP switch is: 2^6 (01000000)

The weight of the third DIP switch is: 2^5 (00100000)

The weight of the fourth DIP switch is: 2^4 (00010000)

The weight of the fifth DIP switch is: 2^3 (00001000)

The weight of the sixth dip switch is: 2^2 (00000100)

The weight of the seventh dial switch is: 2^1 (00000010)

The weight of the eighth DIP switch is: 2^0 (00000001)

Binary and decimal systems are connected; the weights of the corresponding DIP switches are equal (128=2^7)



The calculation method of the physical address of the decoder: the sum of the weights of all VE dip switches (addition)

When the dial switch is turned on, it means that the weight of the dial switch is valid; when the dial switch is turned off, it means that the weight of the dial switch is 0;

For example: binary 11111111(2^0+2^1+……+2^6+2^7)=decimal 255(128+64+32+16+8+4+2+1)

Dial decimal 0126 (64+32+16+8+4+2) corresponding to the eight-bit dial switch, dial 2/3/4/5/6/7 to the ON position

Decimal 0126 = Binary 011111110


主站蜘蛛池模板: 国产精品一区二区av| 国产精品一区在线观看| 在线 v亚洲 v欧美v 专区| 国产一区 在线播放| 亚洲欧美精品在线| 日韩精品免费看| 在线观看国产一区二区三区| 精品在线一区二区| 欧美日韩 国产区 在线观看| 欧美v日韩v亚洲v最新| 国模冰冰炮交图150| 亚洲成色999久久网站| 久久国产一级毛片一区二区| 国产一区二区三区高清| 欧美日韩中文国产| 日韩欧美精品一区二区| 热re91久久精品国产91热| 亚洲视频在线观看免费| 欧美日韩综合视频| 欧美妞干网| 国内精品久久久久| 欧美在线aa| 国内精品视频一区二区三区| 国产欧美成人一区二区三区| 久久亚洲私人国产精品va| 99精品国产免费久久国语| 日本a中文字幕| 美国一级大黄大色毛片视频一| 欧美日韩激情| 国产全黄a一级毛片视频| 91精品91久久久久久| 国产精品久久久久久久久| 青草青草伊人精品视频| 日本特级淫片免费| 亚洲国产精品久久久久| 999久久久免费精品国产牛牛| 亚洲综合图片小说区热久久| 国产欧美中文字幕| 国产精品第一| 精品国产一区二区三区免费看 | 午夜大片网|