Serial Communication


Results 1 to 5 of 5

Threaded View

  1. #1
    morris's Avatar
    morris Guest

    Default Serial Communication

    I am trying to build a robot through a college experiment. We are using two Pic16F628A microcontrollers. The problem that we are having is that the first pic is using a serial function to communicate through an infrared led. This led sends the modulated signal to a ir reciever. In turn, this circuit sends the signal to another Pic. This is where our problem is... this pic isn't sending the serial message to the LCD like we want it to. Does anyone have any suggestions on the commands that we could use in attempt to get this working?

    This is the current program that we have and are trying to use to get this working...

    TRISB=%00010000

    Include "modedefs.bas"
    B0 var byte

    PAUSE 500

    LCDLoop:
    Serin2 PORTB.4, T2400, [B0]
    lcdout $FE, 1
    LCDOUT $FE, 2
    LCDOUT B0
    GOTO LCDLoop

    END

    Please.. if anyone can help please do so
    Last edited by morris; - 14th December 2006 at 16:08.

Similar Threads

  1. Wireless serial communication question
    By Ahmadabuomar in forum Serial
    Replies: 3
    Last Post: - 21st December 2009, 03:49
  2. PIC to PIC "wired" serial one-way communication - SERIN2/SEROUT2
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 14th April 2008, 20:02
  3. Bootloader,MCSP and Serial communication
    By surfer0815 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 3rd March 2006, 10:52
  4. Serial Communication using 12F629
    By charudatt in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 14th March 2005, 04:24
  5. Replies: 8
    Last Post: - 11th November 2004, 20:08

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