Hyper Terminal Setting for TTL putput


Closed Thread
Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Jun 2008
    Location
    Washington
    Posts
    14

    Default

    So Skimask, am I correct to understand that hyperterminal will read the TTL signl OK if everything else is OK?

    I'm not even sure if hypertermnal will read a TTL input or if TTL is intended for other types of devices.

    I was trying to determine if the only code change I needed when using the 1K resistor instead of the MAX232 was to change the Serout command from the T prefix to the N prefix.


    I programmed the PIC and ran it in the LabX-1 board. Blinking LEDs, output to a LCD, and rs232 output to hyperterminal. I used this to make sure the program was working properly. I then removed to PIC and inserted it into the board without the MAX232. The board without the MAx232 is a Picproto64 from microEngineering Labs. The only thing I added to the board was the 1K resistor between the RS232 transmit pin and the DB9. (I saw this on page 139 of the PicBasic Pro Compiler book.) I was trying to only add one new item at a time by testing the program out first on a purchased board. The components i put on the board without the MAX232 were a kit I purchased with the baord from microengineering Labs. The osc is 4MHz.


    skimask, thanks for taking the time to reply. This is my first non-basicstamp project, so I appreciate the replies.

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924

    Default

    You should not have any problems without the inverter chip. N2400 is correct.

    Like skimask asked, are you sure the PIC is running on the new board?
    How long is the cable from PIC to PC?
    Dave
    Always wear safety glasses while programming.

  3. #3
    skimask's Avatar
    skimask Guest

    Default

    Forget about what Hyperterminal wants for a minute, because basically, Hyperterminal doesn't want anything. You tell Hyperterminal what you want. Hyperterminal is only going to read what the serial port sends it at the baud rate and format YOU select in Hyperterminal, which in turn, sets the serial port to transmit/receive.

    The PBP manual does a fairly decent job of explaining why, generally speaking, a MAX232 chip is not needed when using PICs (or most MCUs for that matter).
    If the voltage levels coming into the serial port from the PIC without a level converter (MAX232) happen to fall within that serial port's high and low voltage specifications (which can and does ocassionally vary between manufacturers) levels, then, all else being equal, everything should work. If they don't, it won't.

  4. #4
    Join Date
    Jun 2008
    Location
    Washington
    Posts
    14

    Default

    Thanks for the help. I have some work to do tomorrow. Your information has really helped. At least now I know that what I am trying to do will work if I do it correctly. It may sound funny, but that is a huge help.

Similar Threads

  1. PICKit2 - warning about configuration words
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 26
    Last Post: - 4th August 2009, 14:01
  2. Replies: 13
    Last Post: - 12th May 2009, 17:26
  3. what is hyper terminal?
    By moud_man in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 27th September 2005, 19:33

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