Language
Are you a factory or a trading company?
Answer: We are a factory, we can guarantee our price is first hand, very cheap and competitive.
How is the quality control in your factory?
Answer: All products will be 100% checked before shipment.
How to contact us?
Tel: 86-13377785035
Wechat: kkg-vivian
Email: xyy@kkg.tw
WhatsApp: +8613377785035
Rotary encoder process
Rotary encoders rotate to send out pulse signals for the equipment to calculate the speed, angle, displacement, distance, suitable for a number of fields, the use of rotary encoders, here are a few necessary rotary encoder use of the process, in order to facilitate the operation of the use of everyone.
First, modify the driver
Rotary encoder belongs to the precision instruments, in the process of its use through the programme to issue instructions to play a specific role, and according to the needs of different environments, the need to set up different drivers, so that the decision to use the encoder how effective, modify the appropriate driver is very important. Often as long as the direct modification of the reg file, while registering a table file, the use of adding the way to rewrite the dynamic links, in the case of determining the dynamic links have been modified, you need to add them to the kernel;.
Second, the hardware interface connection
After the driver is modified, the following is the hardware interface connection operation, in the connection, there are usually A and B two collector output interface, in order to ensure line connectivity, the need to operate on the 3.3V resistor, A and B two interfaces were inserted into the CPU. After the hardware interface connection is successful, just in case, we must do a good job of testing to check the voltage output high and low voltage values are correct, for example, after pressing the button, if the P2 port output value is a high level, then, that is, the connection is correct; Third, the flow of interface driver preparation.
Third, the writing of the stream interface driver
Stream interface driver is written for the following interrupt service procedures to prepare for the specific preparation steps are to create a thread to achieve the variable value of the record, while recording the interruption of the line in the case of the value of the port is still high;
Fourth, the preparation of terminal service procedures
Terminal service procedures are written mainly to play the role of encoder line protection, through the initialisation of the CPU's I / O interface, based on the preparation of interrupt service procedures.
Guangdong KKG electronic products is 27 years old encoder manufacturers, specialising in the production of various types of rotary encoders, the rise of the development of magnetic rotary encoder performance is not easy to be affected by dust and condensation; its structure is simple and compact, non-contact, long life, high and low temperature resistance, vibration resistance, fast response time and low cost, according to customer demand to customize the rotary encoder precision pulse, and with the size, the original manufacturer, trustworthy! Original manufacturer, trustworthy! Looking for rotary encoder manufacturers to find KKG Electronics.
Previous: Rotary Encoder With Switch
Next: 14mm Hollow Encoder
Tel:
Add:
Rixing Industrial Zone,Tangxia Town, Dongguan City, Guangdong Province, China
Copyright © 2024 KKG ELECTRONICS ELECTRIC C0., LTD. All rights reserved
Privacy policy Cookie tracking