Realization of Matrix Panel of Intelligent Instrument Using Rotating Shaft Encoder
Chai Xiaoli · Jisuanji gongcheng · 2006
A matrix connection of the panel using buttons and rotating shaft encoders is developed after the principle of rotating shaft encoders is introduced.This type of connection is characteristic of simplified circuit,less I/O resource exhausting,ease of soft realization.Then,with the help of efficient soft method,for example,timing-interrupt scanning,vector-based data processing,FIFO-based data accessing,time-recording-based knob recognizing,soft debounce processing and soft realizing of PS/2 protocol,a PS/2 interfaced panel is realized,which is applied in advanced intelligent instrument with the strong points of low cost,high performance,in-time responding,speed-up output.