Hardware Flow control serial communcations


Closed Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2005
    Posts
    5

    Cool Hardware Flow control serial communcations

    I have a yamaha receiver and need to establish null serial communications with a pic 16f877A and it. It requires hardware handshaking and I need advice on how to implement this with picBasic Pro.

    attached is the relevant data from yamaha on this subject.

    Any ideas?? Please Help!
    Attached Images Attached Images  

  2. #2
    Join Date
    Aug 2005
    Posts
    57


    Did you find this post helpful? Yes | No

    Default

    Try looping the signal with a jumper on the Yamaha connector from cts to rts,and check how it operates.If that doesn't work then you will need a RS232 interface chip like the Max232 but the version with multiple I/O.The cts & rts will act simply as logic signals to send and receive data.

  3. #3
    Join Date
    Jun 2005
    Posts
    5


    Did you find this post helpful? Yes | No

    Default

    By looping you mean to connect cts to rts? Do you think that would eliminate the "flow control"

    I have some max232 chips that I can use also, but do they support/implement hardware flow control? I couldnt see anything on that from the datasheets. Why do you think I would need multiple I/O's if I will just read/write to rts&cts with 2 ports on my pic.

    Any inside on this topic would be a temendous help. Thanks for your time!

    -Alan

  4. #4
    Join Date
    Aug 2005
    Posts
    57


    Did you find this post helpful? Yes | No

    Default

    Yes,looping means to connect rts to cts with the hope of eliminating the flow control.
    I wasn't thinking ,but the max232 should be enough to do the job.Remember the max232 is to convert the pic output to the 232 voltage spec only.One output for xmit data ,one output for rts,one input for rx data,and one input for cts.You will need to determine the flow control logic.Basically you will output a rts(pic) to cts (Yamaha) to get data from the Yamaha.And vice versa to receive data from the pic.To know for sure exactly what to do,experiment with a pc first.I use a program called simple terminal (http://www.bb-elec.com/product.asp?sku=simpterm) free from bb-electronics.With this program you can manually toggle the rts and observe what happens.

  5. #5
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,817


    Did you find this post helpful? Yes | No

    Default

    Be carefull looping the rts-cts pins. If there are more than one byte to send or receive the slave may loose some of them. Your receiver is not a PC!

    BTW, recently I bought the RX-V1500 receiver. Do you know where can I find the info's about the serial control?

    Ioannis

Similar Threads

  1. Replies: 1
    Last Post: - 23rd December 2006, 10:38
  2. serial port control relay
    By win_832001 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 23rd June 2006, 23:56
  3. flow control
    By pierre2030 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 15th February 2006, 04:53
  4. 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
  5. Multiple Servo Control --Serial
    By gbm_designs in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 24th December 2004, 01:28

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