2 PIC, serial communication


Closed Thread
Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Sep 2009
    Posts
    2

    Default

    May I know what does T2400 represent?
    My guess is baud rate...If T2400 represent baud rate, then how about the baud rate that i defined on the top?

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

    Default

    Quote Originally Posted by lightgreen View Post
    May I know what does T2400 represent?
    My guess is baud rate...If T2400 represent baud rate, then how about the baud rate that i defined on the top?
    Like I said, the example I gave is an alternative to using the hardware ports. Most start off using the alternative... less setup and things to understand at the beginning.

    The "T" makes the signal TRUE, the signal that is produced from the hardware ports is TRUE. When talking between to PICs the signal type does not matter as long as both PICs are using the same signal type. When connecting to a PC an INVERTED signal is needed, if using a bit banging routine it would be N2400 or whatever baud rate the PC is set for. When using the hardware ports an inverter chip such as a RS232 will be needed if you want to communicate with a PC.

    In response to your PM. When using SERIN/SEROUT you can use most any of the pins on a PIC. That is why I have PORTC.4 in my example to show that.
    Dave
    Always wear safety glasses while programming.

Similar Threads

  1. serial to PIC
    By kindows in forum mel PIC BASIC Pro
    Replies: 22
    Last Post: - 14th July 2009, 13:58
  2. Automatic VB6 to pic serial connection
    By arniepj in forum Code Examples
    Replies: 13
    Last Post: - 10th January 2008, 07:57
  3. Serial Communication using 12F629
    By charudatt in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 14th March 2005, 04:24
  4. Serial Pic to Pic using HSER
    By Chadhammer in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 11th March 2005, 23:14
  5. How many serial ports can 1 PIC handle?
    By Tom Gonser in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 2nd March 2005, 04:34

Members who have read this thread : 1

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