Design of Keyboard Scanning Module in Greenhouse Control System
Wang Yan · Microcomputer Information · 2011
According to the design idea of EDA , the keyboard scanning module based on FPGA, which is controlled by single chip is designed. The VHDL language is adopted in this FPGA core logic-control component, which includes frequency module-SCAN_GEN、keyboard scanning counter module-SCAN_COUNT、key scan module-KEY_SCAN、key debounce module-DEBOUNCE、key coding module-CODE_TRAN and extended I/O port. The interrupt service routine is completed by /INT1 of AT89C51 single chip.