Simple understanding of the principle of matrix keyboard scanning

The keyboard scanning method is: row lines P10 ~ P13 are output lines, and column lines P14 ~ P17 are input lines. At first, the MCU outputs all the row lines (P10 ~ P13) low level. At this time, the column line data is read. If the column lines are all high level, there is no key press. When the column line appears low level, the delay is called. The program uses this to remove key jitter. After the delay is completed, it is judged whether there is a low level. If there is still a low level at the time of reading the column data, it means that there is indeed a key press. The final step is to determine the key value. Now let's take the S5 key in the second row as an example. If we press S5, how should we get this key value? When it is determined that a key is indeed pressed, the row line turns to output a low level, and the key value can be determined according to the data read into the column line. First, the MCU outputs P10 as a low level, and other P11 ~ P13 output high levels. At this time, the data read from the column line is all high, indicating that there is no key press in the first row; Output low level, other P10, P12, P13 are still high level, then read the column line data, and find that the data read by the column line has a low level, the value is 1011 (0x0B), if our keyboard layout Has been determined, then 0x0B represents the value of S5. Go to the S5 key function processing subroutine to achieve the goal.

Simple understanding of the principle of matrix keyboard scanning

Vibration Motor

Vibration Motor:

Is mainly used for adult health care products and toys micro vibration motor is a Dc Motor, the motor shaft with an eccentric wheel, when the motor rotation, eccentric circle particle is not turn the heart of the motor, make motor is constantly out of balance state, caused by inertial effect.


Characteristics: small volume, strong vibration;


Features: small size, fast speed, stable performance, low price, can use battery drive,Can change the different materials of the pendulum head
Vibration Motor Vibration Motor
Method of use: the best stable in horizontal plane, installed on the dc vibration motor output shaft parts, cannot use a hammer to knock, knock prone to press into the dc vibration motor drive, may cause damage to internal components, and cannot be used in the case of blocked.

vibration motor

Operating temperature range:

vibration motor should be used at a temperature of -10~60℃.

The figures stated in the catalog specifications are based on use at ordinary room temperature catalog specifications re based on use at ordinary room temperature (approximately20~25℃.

If a vibration motor is used outside the prescribed temperature range,the grease on the gearhead area will become unable to function normally and the motor will become unable to start.Depending on the temperature conditions ,it may be possible to deal with them by changing the grease of the motor's parts.Please feel free to consult with us about this.


Storage temperature range:

vibration motor should be stored ta a temperature of -15~65℃.

In case of storage outside this range,the grease on the gearhead area will become unable to function normally and the motor will become unable to start.


Service life:

The longevity of vibration motor is greatly affected by the load conditions , the mode of operation,the environment of use ,etc.Therefore,it is necessary to check the conditions under which the product will actually be used .The following conditions will have a negative effect on longevity.Please consult with us should any of them apply.


●Use with a load that exceeds the rated torque

●Frequent starting

●Momentary reversals of turning direction

●Impact loads

●Long-term continuous operation

●Forced turning using the output shaft

●Use in which the permitted overhang load or the permitted thrust load is exceeded

●A pulse drive ,e.g.,a short break,counter electromotive force,PWM control

●Use of a voltage that is nonstandard as regards the rated voltage

●Use outside the prescribed temperature or relative-humidity range,or in a special environment.

●Please consult with us about these or any other conditions of use that may apply,so that we can be sure that you select the most appropriate model.


when it come to volume production,we're a major player as well .each month,we rurn out 600000 units,all of which are compliant with the rohs directive.Have any questions or special needed, please contact us, we have the engineer group and best sales department to service to you Looking forward to your inquiry. Welcome to our factory.

vibration motor

Vibration Motor,Small Powerful Vibration Motor,220V Vibration Motor,Electric Motor For Vibrating

Shenzhen Shunchang Motor Co., LTD. , https://www.scgearmotor.com