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

    Since TTY deals with soundwaves, i was thnking about using the on board Analog-Digital Converter. I just have no idea how to do that. im sure if i use the COUNT or PULSEIN command, i will have to take the sound coming from the headset, make it a digital signal with a simple op amp, or transistor based logic converter, then pass it to the designated input. Does this sound right?

    How do I use interrupts? Liek i said, im really new to PicBASIC, but not to programming.
    Last edited by Foxx373; - 23rd February 2005 at 18:42.

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Since TTY deals with soundwaves, i was thnking about using the on board Analog-Digital Converter.
    without any external of frequency to voltage converter you'll not be able to do it. A/D converter return a valu that correspond to the voltage at a specific input.

    im sure if i use the COUNT or PULSEIN command, i will have to take the sound coming from the headset, make it a digital signal with a simple op amp, or transistor based logic converter, then pass it to the designated input. Does this sound right?
    depending of the signal amplitude, a simple capacitor with 2 resistor as voltage divider can do the job too. 10 cents solution
    OR if you want to feel very very safe, using a OP-AMP or Voltage comparator to make the signal as sqaure as a real TTL- CMOS can also be used... i'll prefer that one to avoid some probale odd interrupt causes.

    How do I use interrupts? Liek i said, im really new to PicBASIC, but not to programming.
    depending of your PIC look into your datasheet under INTCON register... If you want some code example using interrupt... there's a load of those in the forum. Do a search with interrupt will gives you a bit less result than SEROUT. BUT, i did one example for lamp-dimming. Using interrupt to synchronise on AC power line.

    Click Here
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

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