George Francis
New Member
I want to connect an AT keyboard to a LCD interface. Serial input from kybd (ASCII alpha numerical) 1start8N1stop format. Any help or suggestions , circuit, etc. will be most appreciated. Regards, George
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
George Francis said:I want to connect an AT keyboard to a LCD interface. Serial input from kybd (ASCII alpha numerical) 1start8N1stop format. Any help or suggestions , circuit, etc. will be most appreciated. Regards, George
mstechca said:Now when you press a key, the bits are sent. Let's assume you have a +ve start bit, and a stop bit. As soon as bit 10 (register 2, 2nd bit) is on, take the data from bits 2 to 9. Ignore what is at 1. At this point of time, the 8 bits will be sent to the LCD and one LCD clock cycle will occur. As soon as that is done, a reset to the registers occurs.
mstechca said:You need an 8-bit comparator. It takes 2 8-bit inputs and produces a true output if both inputs are equal.
One 8-bit input goes to the incoming data, and the other 8-bit input is fixed to whatever value you want.
As soon as the output is true, the flip-flop is turned on, indicating that you are in mode B. Once the same character is sent again, the flip flop is turned off (mode A).
mstechca said:The advantage to my method is that there is NO programming.