日本爽视频-日本手机在线-日本视频中文字幕一区二区-日本视频中文字幕-日本视频在线免费观看-日本视频在线免费播放

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


主站蜘蛛池模板: 草免费视频| 999热这里只有精品| 9999视频| 男人女人叉叉叉| 国产一区二区精品久| 青青热久免费精品视频精品| 4455永久在线视频观看| 日韩毛片在线影视| 风间由美一区二区播放合集| 日产2021免费一二三四区| 国产精品成人扳一级aa毛片| 果冻传媒在线免费观看| 秋霞一级黄色片| 欧美日韩亚洲国内综合网俺| 国产麻豆91欧美一区二区| 日本人添下面的全过程| 国产馆精品推荐在线观看| 欧美午夜精品久久久久久黑人| 国产果冻传媒| 国产亚洲女在线精品| 性欧美sexvideo另类| 日韩美女强理论片| 国产在线观看网站| 99国产精品免费观看视频| 日本mv精品中文字幕| 青青国产成人久久91网| 高h孕交| 国产精品久久久| 欧美丰满大乳大屁在线观看股| 美女被草出水| 日本春菜花在线中文字幕| 国产欧美日韩成人| 狠狠澡| 日本午夜大片免费观看视频| 日韩一区二区三区四区区区| 欧美成人momandson| 狠狠色成人综合| 高h细节肉爽文办公室| 亚洲国产精品热久久| jizzjizz大学生| 精品一区久久|