Hi everyone,
I havent written any code fr this project yet. I am trying to figre out the easiest way to implement and deal with this project. Im also having a lot of trouble finding the time to hunt down resources. Here is what ive been trying to do...
I have decided to try and use only one PIC if possible, perhaps a 16F84. I will try and use a Hitatchi based LCD in 4 bit mode. I will have 2 pins for the TTY Encode/Decode features. I want to try and use a small PS/2 keyboard as the input. That will need 2 I/O pins (data and clock). I have to figure out how to clock the keyboard with the PIC, take the keyboard data, process it into 5 BIT ASCII (baudot format) and have the PIC use a lookup table to generate the proper "deedles" for TTY, or pass the 5 bit data to a TTY encoder chip.
I am concerned about the speed of the PIC. Will the pic be able to keep up? It will need to use a few lookup tables to convert the PS/2 Data into 5 bit and make it TTY Format, then take the data from the TTY Decoder, pass it through a lookup table, then convert it to 4-Bit LCD data. I am also worried about typing too fast for the little guy. TTY Terminals dont send the data very fast, i can out type most terminals now. What will happen to the PIC? Will it have a "queue" by default, or will i have to tell the program to store what i type into memory? What about a scrollback buffer? I was hoping to add a simple SPI Serial memory of some kind that i can use to save the conversations to, then use HyperTerminal to download them... if possiblle.
Any advice and code samples on lookup tables, memory access, "scroll buffer", how to interface an AT keyboard and data conversions would be nice. Again, thanks for taking the time to help me.
Bookmarks