TTY - Teletype Terminal


Closed Thread
Results 1 to 27 of 27

Hybrid View

  1. #1
    Foxx373's Avatar
    Foxx373 Guest


    Did you find this post helpful? Yes | No

    Default

    Everyone, thank you for your help. You have all done WAY more than ever expected. You have practically handed me all the data I would have ever need. Even though I allready know a great deal of TTY, I really admire all of you for your outstanding efforts in helping me with this project. Im glad to see that there are still people arround thats willing to go above and beyond the expectations from a call for help. With all that said, let me tell you what i have been cooking up.

    I had to find a replacement for the XR Encoder/Decoder. It works the same, just different passive components. I will try and use the NJM-2211 ( http://www.njr.co.jp/pdf/be/be06008.pdf ) for the CODECs. I would try and use the simple socket modem stated in earlier posts, but i have dealt with that modem before and for a simple project as TTY (heh... SIMPLE he says) the modem is too costly, and it way more powerful than whats needed. Im trying to keep this project simple, and inexpensive. As for a keyboard, i will probabbly just use a Mini-AT 86 Key keyboard i have laying arround. Im going to try and use an old 4x16 green LCD that has been sitting arround.
    Im going to try and use parallel LCD functions if i can for now. I dont want to build a Serial LCD Backpack and make this project more expensive, but i will if i have to.

    Im still a little dazed and confused on how im going to code this. This is going to be my 1st PIC project. I know im jumping into the deep end on this project, and I am way over my head, but im sure I can figure this out.

    As for a simple hardware layout, this is what i have in mind

    [Headset]-[LM 386 OP Amp]-[FSK En/DeCoder]-[PIC]-[LCD+Keyboard]

  2. #2
    Join Date
    Dec 2003
    Location
    Wichita KS
    Posts
    511


    Did you find this post helpful? Yes | No

    Default

    Hello Foxx,

    Foxx>>Im still a little dazed and confused on how im going to code this. This is going to be my 1st PIC project. I know im jumping into the deep end on this project, and I am way over my head, but im sure I can figure this out.

    As for a simple hardware layout, this is what i have in mind

    [Headset]-[LM 386 OP Amp]-[FSK En/DeCoder]-[PIC]-[LCD+Keyboard]<<

    Looks good!...If you have a scope, it will make tuning a little easier <g> if you are in the USA, I may be able to help you. if you have a telephone recorder, I could call and send some "A"'s and B's and other letters over my TDD (tty), so that you may verify and "smoothout" your reception.

    Audios! and good luck.

    Dwayne
    Ability to Fly:
    Hurling yourself towards the ground, and missing.

    Engineers that Contribute to flying:
    Both optimists and pessimists contribute to the society. The optimist invents the aeroplane, the pessimist the parachute

    Pilots that are Flying:
    Those who know their limitations, and respect the green side of the grass...

  3. #3
    Foxx373's Avatar
    Foxx373 Guest


    Did you find this post helpful? Yes | No

    Default

    Thanks, ill keep that in mind. I have some TTY Apps for the PC, and I have a program that can make a *.WAV of TTY messages. Ive also recorded some TTY tones a few years ago.

    Im going to see what i can do about piecing the hardware together, and get started on the software. I was hoping to have a scroll back buffer, but I dont know how to do that yet...

    I dont have an O-Scope, but i do have Frequency function on my Multimeter. I do have a chunk of software that lets me use my PC as a simple sound-based O-Scope.

  4. #4
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi,

    About sound card as Digital Oscilloscope.

    If your sound card is embedded in the motherboard then put
    a second sound Card in the PCI bus and use it as Oscilloscope.
    (It is very easy to burn your sound card when trying to
    investigate some signal with unknown amplitude and DC offset).

    Need more than 20 Hz to 20 kHz bandwidth?

    Virtins Sound Card Oscilloscope
    Bandwidth: 20 Hz - 96 kHz (depending on Sound Card)
    US$24.95, 7 day evaluation time.
    http://www.virtins.com/page2.html#Oscilloscope

    * * *
    SEE "Sound card input protection circuit":
    (Scroll down the web page).
    http://www.virtins.com/
    * * *
    Sound Card Interface For PC Test Instruments:
    (Full schematic and description + PDF files,
    the web server is sometimes busy).
    http://www.siliconchip.com.au/cms/A_30518/article.html
    * * *
    Example of Sound Card 96 kHz:
    (Ask Virtins Technology if OK with the SW).
    CREATIVE SOUND BLASTER LIVE 24-BIT
    Sound card - 24-bit - 96 kHz - 7.1 - PCI
    Where you can buy it:
    http://www.cdw.com
    CDW# 713157 US$30.43

    Please add your location in your forum profile.
    (Example "USA" or "IL, USA" or "Vernon Hills, IL, USA").
    If you do that I know which URLs are appropriate when I
    send you a link where to buy HW/SW.

    Best regards,

    Luciano
    Last edited by Luciano; - 3rd March 2005 at 10:58.

  5. #5
    Foxx373's Avatar
    Foxx373 Guest


    Did you find this post helpful? Yes | No

    Default

    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.
    Last edited by Foxx373; - 6th March 2005 at 10:58.

  6. #6
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi,

    Use a microcontroller with large flash memory and SRAM.
    (The 16F84 should be considered obsolete).

    Start with the decoder part HW and SW.
    (Receiving data is the difficult part of this project).


    1. Using the PC freeware, generate the TTY/TDD tones with
    the PC sound card at 45.45 bps. (Baudot @ 45.45 baud = U.S. TTY/TDD).

    2. Decode the TTY/TDD tones from the PC with your HW decoder chip.
    (Example of decoder chip: XR2211, Exar Corporation).

    3. With the microcontroller take the output of the decoder chip
    and display the data in ASCII format on the LCD.

    Best regards,

    Luciano

  7. #7
    Foxx373's Avatar
    Foxx373 Guest


    Did you find this post helpful? Yes | No

    Default

    Thats a good idea. I was trying to tackle this project head on. I guess breaking it down piece by piece and getting each part to to work first is the key. Im not too familliar with the PIC MCUs. Any advice on which one to use? The 16F87 perhaps?
    Last edited by Foxx373; - 8th March 2005 at 07:51.

Similar Threads

  1. Key_in from terminal
    By iw2fvo in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 25th May 2009, 16:15
  2. Hyper Terminal Setting for TTL putput
    By ClayE in forum Serial
    Replies: 6
    Last Post: - 7th June 2008, 06:50
  3. Tapping data from a Unix VT220 terminal
    By sougata in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 22nd February 2006, 04:47
  4. what is hyper terminal?
    By moud_man in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 27th September 2005, 19:33
  5. USB Terminal
    By Normnet in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 28th April 2005, 11:51

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts