RS485 without a 555


Closed Thread
Results 1 to 13 of 13

Hybrid View

  1. #1
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    What exactly is this "end of transmission"? I thought it was either on or off

  2. #2
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,115


    Did you find this post helpful? Yes | No

    Default

    I believe there is a problem with the basics here.

    E.g. you have to send the following byte:

    1 1 1 0 0 1 1 0

    You send all the bits and not the '1's only

    The RE and DE (if connected together) must be at high level before the first bit and a little after the last bit.

    Ifyou send with a baud rate of 9600, then each bit is 1/9600=0,1042msec nd the full 8+2 bits (Start and Stop) will be 1,042msec. So the RE and DE have to be more than 1,042 msec high. Not just for the time that a bit of the data is 1.

    Is that more clear now?

    Ioannis

  3. #3
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    Yes, I understand what your saying but i dont understand why. The value can only be 1 or 0. When the 485 chip is in receiver mode then isnt that a 0?

  4. #4
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,115


    Did you find this post helpful? Yes | No

    Default

    What value?

    You have a control input (Send or Receive) and a couple of data input/output.

    When you send data, regardless if it is 1 or 0, you make control input high. This input is control not data. Your data can be 1 or 0. When you are done with data, then control input is set to low again, and you are ready to get any valid data.

    In reallity the chip has 2 control pins and 2 data pins. Control are anti phase active so you can connect them together. Data can only be sent or received. Not at the same time if you have only one couple of lines (A-B), so you can connect data in and data out together too.

    Ioannis

  5. #5
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    I agree with what you are saying there but i think you missed my point.

    Lets say we have 2 RS485 chips connected together and for now we are only going to send data in 1 direction. By default both the control and data inputs on 1 chip are low. The chip on the other side will be outputting low.

    To make the output of the second chip go high you need to turn on the control inputs (disables the receiver and enables the transmitter) and make the input pin high. The output of the second chip will only be high if the control inputs and data input are all high.

    If the data input goes low then the output on the 2nd chip will go low.
    If the control inputs go low then this chip is no longer sending so the 2nd chip will still go low even if the data input on the first chip is still high

  6. #6
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default

    I suggest you ask your question of an expert who also happens to be really good at explaining things with clarity. You can email Jan Axelson at jan (at) lvr.com. I've always found her to be responsive and helpful.

  7. #7
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,115


    Did you find this post helpful? Yes | No

    Default

    Hmm, now I see what you are cooking. But this, I have to say, is risky as you may get out of sync in the data stream.

    But with a little careful design, it may work.

    Ioannis

Similar Threads

  1. RS485 splitter
    By The Master in forum Off Topic
    Replies: 0
    Last Post: - 30th August 2009, 06:04
  2. RS232 to RS485
    By The Master in forum Off Topic
    Replies: 22
    Last Post: - 16th October 2008, 15:37
  3. RS485 serial communication
    By mipie in forum Serial
    Replies: 5
    Last Post: - 10th February 2007, 13:15
  4. how to control 555 resisters with PIC
    By KB3BYT in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 7th December 2006, 14:27
  5. Using 16f676 with comms
    By Peter1960 in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 28th October 2005, 20:01

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