flow control


Closed Thread
Results 1 to 2 of 2

Thread: flow control

  1. #1
    pierre2030's Avatar
    pierre2030 Guest

    Default flow control

    -hi,I'm doing my final year project. I'm using the pic16f877a to modulate the data send from PC via RS232. In order to avoid
    data overflow, Flow Control technique should be using. As I know, Pin RTS(request to send) and Pin CTs(clear to send) in RS232 need to be
    utilized if i used Flow Control technique.
    -can anyone tell me the detail about how to write the programme in Picbasic for flow control?
    -which pin i should connect in Pic16f877a for RTS and CTS?

    thank u

  2. #2
    Join Date
    Feb 2005
    Location
    Kolkata-India
    Posts
    563


    Did you find this post helpful? Yes | No

    Default Are you using Serout or HSEROUT

    Hi,

    You may use any pin, which you should set high just before your send routine and poll for any other pin to be set high by the computer before actually dumping the data. MAX232 supports two TX and two RX lines so there should be no problem interfacing. The same goes true for the Hserout. Have a timeout so that your loop is not endless. However it would be better to use interrupts to poll for the CTS if you would do other jobs than just sit dumb in a routine.

    Regards

    Sougata

Similar Threads

  1. How do I give a radio control car autonomous control
    By Kenjones1935 in forum General
    Replies: 190
    Last Post: - 17th January 2010, 15:40
  2. Allow better control of text in GUI
    By Archangel in forum PBP Wish List
    Replies: 1
    Last Post: - 19th February 2007, 13:25
  3. Need help on pic to pic flow control (simple problem I think)
    By khufumen in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 11th January 2006, 00:34
  4. Hardware Flow control serial communcations
    By sporker in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 4th November 2005, 20:26
  5. Control RC servo via Parallax Servo Control
    By cibotsan in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 17th September 2005, 08:18

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