






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







Language Detecting Keyboard with LCD Touch Screen Interface For new computer users, especially our parents and grandparents generation, the most agitating part of getting used to computer is typing. This problem gets even worse when users need to frequently switch around between two languages or more. To resolve this problem, we decided to create a keyboard with changing display of the keys, and the users don’t have to worry about remembering all corresponding keys of different languages. Objective The goal for this project is to create a keyboard with changing the displays of the letters on the keyboard itself, corresponding to the language selected from the Windows. This keyboard will be made of LCD screen and touch pad on top of it. The LCD screen will be used to display the keys, and the touch screen will function as a keyboard. Benefits No need to memorize the keys of multiple languages Easier for new users to adapt to keyboard Save time to type Visually more appealing than existing keyboards List of Features Touch screen keyboard Automatic current mode language detection English / Korean display on keyboard
USB Device Driver Flow Chart
Touch-pad Software Flow Chart
Schematic Description Touchpad The touchpad used is 4-wire resistive touchpad, which measures coordinate by the voltage measured at each end. This component sends out signal via 4 wires. When the screen is touched, the junction forms between X axis and Y Axis. This changes the voltage at each end of the panel. Analog to Digital Converter This component receives the analog signal from the touchpad. When touchpad is pressed, this component sends interrupt to the processor via PenIRQ’. Then the processor sends the procedures of getting X coordinate decided by certain bits on Din. After X coordinate acquisition/data transfer to processor, Y is read and sent out via Dout. Processor This component sends the instruction to the Analog to Digital Converter by SPI. When it is interrupted by PenIRQ’ of A/D converter, it sends instruction to Din. Interaction between this component and A/D converter is described before. Hexadecimal LED Display We use 4 hexadecimal displays on the FPGA board, and these indicate if the 16-bit LangID was successfully received. This is for better testing purpose to follow stage by stage process of data transfer. 16 Logic Gates & Decision Maker The 16 logic gates following LED display functions as a comparator to detect if the input 16-bit LangID corresponds to Korean LangID, 0X0412 = 0000010000010010 2. In order to send out ‘1’ only if each ‘0’ and ‘1’ bit match, we use 2-input NOR gates for ‘0’ detecting, and 2- input AND gates for ‘1’ detecting. We then use two 8-input AND gates to collect all the 2-input gate’s outputs, and the last 2-input AND gate to collect the outputs of those two 8-input AND gates. Thus, the last AND gate outputs ‘1’ if and only if all the Korean LangID bits were correctly detected, and else it outputs ‘0’. This output will decide which language keypad configuration to appear on the keyboard LCD screen. Touchpad Software Flow Chart The touchpad software will first see if there is any interruption sent from the A/D converter. When PENIRQ signal is sent, the software will try to get X coordinate by sending control byte that corresponds to X coordinate data in the converter. This is controlled by three-bit information named A. When X coordinate is read and confirmed, different control byte will be sent, which includes A. Now, the A will correspond to getting Y coordinate from the converter. When the coordinate is read, the process will end and go back to start until there is another interrupt.
USB Device Flow Chart: Windows Application Windows application will be the code written in Visual C++. This code will contain information about the detected 16-bit code LangID, which identifies whether the Windows system is currently on Korean or English mode. After acquiring the LangID value, it will be sent to the USB device driver, in order to transmit it out to the FPGA board. USB Device Flow Chart: USBIO Programming Interface (USBIO.SYS) USBIO.SYS is a content included in the USBIO Development kit from “Thesycon”. This provides direct access to USB v1.1 and v2.0 devices, which will enable to control any kind of USB device available. We will program the interface so that the 16-bit code LangID received from Windows application can be transferred and transmitted to the USB driver. USB Device Flow Chart: USB Driver Interface USB Driver interface implements the complete compatibility of the computer with USB device. The driver interface will also enable to add the USB device to the embedded systems, which will finalized the programming of the received LangID and make it ready to transmit it out. USB Device Flow Chart: USB Host Controller USB host controller is a hardware which connects to the USB host in PC or laptop. The controller will be the terminal to send out the received LangID to the root hub, which will eventually lead to the FPGA board. Performance Requirement First, the computer should detect the correct LangID sent in the format, which is comprehendible to FPGA Board. When the FPGA board receives the LangID in 16bit code, which consists of primary and sub language, the FPGA board should be able to send the pixel by pixel design of both English and Korean keyboard configuration to the LCD display (used for keyboard display). Moving on to touch pad tree of the block diagram, the touch pad should be sensitive enough to detect the accurate corresponding coordinate of contacts. The encoded coordinate should be sent to the FPGA board for decoding. Finally, the information about the “pressed key” should arrive at the computer and display the correct letter on the monitor. For the ergonomics of the usage, when the contact is made on the touch pad, the corresponding key of the keyboard should highlight or change color on the LCD display. Testing Procedure Acquiring LangID
computer should display the letter where most of the surface area of the contact resides. Some random error caused by the users should be minimized by successfully passing this test. For close analysis of X+ (x-coordinate read from the touchpad by the converter), the output of the converter will be monitored (Dout). The same procedure will be done on Y+ (y-coordinate read from the touchpad by the converter) after analysis of X+ info is done. Parts Component Manufacturer/Seller Price ADS7843 (A/D Converter) Texas Instrument Free sample order 8.4" 4-Wire Resistive Touch Screen TVI Electronics $62. LCD Screen: 8.4" TFT-LCD panel AU- G084SN05 V
Computer/Monitor -- Provided USBIO Development Kit Demo Thesyon Free Demo Version C0603C105J4RACTU (0.1uF capacitor) Kemet $0.32 X 2 = $ 0. USB 2.0 cable unknown Pre-owned Altera FPGA DE2 Board Altera Provided Total $132. Schedule Date Sung Hwan Kim Joon Ryu Si Hyung Lee 9/15 Plan, prepare and write proposal Plan, prepare and write proposal Plan, prepare and write proposal 9/22 Design Review / Research internal architecture of computer output Design Review / Research LangID Design Review / Research touch screen and touch screen controller 9/29 Order and Receive Parts / Further research Order and Receive Parts / Further research Order and Receive Parts / Further research 10/6 Design algorithm for language configuration decision Coding in C++ to detect LangID in computer Make touch screen controller
10/13 Design algorithm for language configuration decision: VHDL coding for handling graphic pixels of our keyboard Programming USBIO Development kit to transmit LangID to FPGA Testing component/component interaction of the touch screen controller/touchpad/ processor 10/20 Design and build LCD display interface: VHDL coding for handling lightening key as user inputs Programming USBIO Development kit to transmit LangID to FPGA Writing code for calibration and reading coordinate from touchpad. 10/27 Trouble shooting (^) Debugging and final testing for FPGA display. Testing sending and receiving of the coordinate. 11/3 Assemble parts (the whole project) Prepare for Demo Assemble parts Prepare for Demo Assemble parts (the whole project) Prepare for Demo 11/10 Mock up presentation Mock up presentation Mock up presentation 11/17 Demo and presentation Demo and Presentation Demo and Presentation 11/24 Thanksgiving Break (^) Thanksgiving Break Thanksgiving Break 12/1 Prepare and complete project for demo and presentation Prepare and complete project for demo and presentation Prepare and complete project for demo and presentation 12/8 Wrap up and write final paper Wrap up and write final paper Wrap up and write final paper