Forward Serial Data from pic to pc


Results 1 to 10 of 10

Threaded View

  1. #1
    Join Date
    Apr 2008
    Posts
    12

    Question Forward Serial Data from pic to pc

    Hello, I have had some trouble trying to do the following:

    I need to send 8 bytes, from pic1(16f887) to pic2(18f2550) using hserin/hserout. Then I need to forward those 8 bytes from pic2 to a PC via USB.

    What would be a good algorithm to accomplish this? Lets take into account tmr0 Interrupts(dt instant I.) running on both pics. Pic1 has other bussiness to do other than sending the data, and pic2 is just a mediator between pic1 and pc.

    If anyone has an idea I would be very grateful. I just need the algorithm to come up with the code. By the way, I know how to use the 2550 to send info via USB.
    Thanks a lot in advance!
    Last edited by Muller; - 2nd September 2008 at 20:08.

Similar Threads

  1. Read/Write Problem
    By Tobias in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 10th February 2010, 01:51
  2. Send data to PC USB
    By konter in forum Off Topic
    Replies: 2
    Last Post: - 18th December 2009, 21:57
  3. 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
  4. PC serial port funny
    By nicjo in forum Serial
    Replies: 13
    Last Post: - 6th February 2007, 05:34
  5. Receiving data from more than one serial Port
    By PICtron in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 15th March 2005, 10:20

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