Welcome to Dongguan Sanmeng Precision Hardware Co., Ltd website!

中文

+86-18002932564

+86-769-85168706

Hot Search: 1.27 DIP switch2.54 DIP switch2.54 PV DIP switch2.54 Three state DIP switch

Do you know the algorithm of the DIP switch?

2018-12-09

An 8-bit DIP switch, from left to right 1~8, the maximum value can be up to 128. When the code is not dialed, the status of the switch is all up, that is, on the ON/DP side, when the DIP switch is close to the number On one side, it is the dial-down state. Next, the correspondence between the number on the switch and the actual decimal number will be described in detail.


1. If you want to dial the number 1, you can directly dial 1 on the switch, because it can be seen from the figure that 1 corresponds to the zeroth power of 2, and the zero power of 2 is equal to the decimal one.


2. If you want to dial 10, you can dial 2 and 4 on the switch. As you can see from the figure, 2 corresponds to the 2nd square, which is equal to 2 in decimal; 4 corresponds to the cube of 2, which is equal to decimal. 8; 2+8=10

Prev: What are some commonly used DIP switches?

Next: What does DIP on the DIP switch mean?

Contact us

+86-18002932564(Miss Wei)

+86-769-85168706

2573495894@qq.com

2573495894

No.84, Xinsan Road, Xin'an Avenue, Fanshen Village, Ludong Community, Humen Town, Dongguan City

ONLINE MESSAGE

Copyright © 2017-2019 Dongguan Sanmeng Precision Hardware Co., Ltd  粤ICP备14085470号  Powered by: ytclouds.net