electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

RS232 to RS485 Converter without chip select?


Post new topic  Reply to topic    EDAboard.com Forum Index -> Hobby Circuits and Small Projects Problems -> RS232 to RS485 Converter without chip select?
Author Message
BasePointer



Joined: 03 Jul 2002
Posts: 124
Helped: 3
Location: TURKEY


Post26 Nov 2006 19:45   

rs485 converter chip


Hi,

I want to make an RS232 to RS485 converter that is half duplex. I use MAX232 and MAX485 for this. But I don't want to control CS pin of MAX485 at RS232 side. Is there any way to make this control automatic? PS: Baud rate can be from 300bps to 115200bps.

Thank you.
Back to top
Google
AdSense
Google Adsense




Post26 Nov 2006 19:45   

Ads




Back to top
budhy



Joined: 21 Oct 2006
Posts: 836
Helped: 185
Location: Indonesia


Post27 Nov 2006 3:28   

Re: RS232 to RS485 Converter without chip select?


However you have to control the RE (receiver Enable) and DE (Driver Enable) for bus control purpose. If you have dificulty control it on RS232 side, it is controlable from other sides, but you need one extra cable to do it!

Quote:
RE Receiver Output Enable. A low level enables the receiver output, RO. A high level places it in a high impedance state.
DE Driver Output Enable. A high level enables the driver differential outputs, A and B. A low level places it in a high impedance state.
Back to top
IanP



Joined: 05 Oct 2004
Posts: 6490
Helped: 1542
Location: West Coast


Post27 Nov 2006 3:43   

Re: RS232 to RS485 Converter without chip select?


Take a look at the 3-transistor circuit in this thread:

http://www.edaboard.com/viewtopic.php?t=156484

Of course, if you need industrial standard (RS-232 -25 to -3 and +3 to +25V, and differential RS-485) it wasn't design for that purpose, but for "local" conversion without external power and without additional wires to switch between transmission and reception, it works and 115.2kbps is not a problem ..

Regards,
IanP
Back to top
BasePointer



Joined: 03 Jul 2002
Posts: 124
Helped: 3
Location: TURKEY


Post28 Nov 2006 18:41   

Re: RS232 to RS485 Converter without chip select?


IanP wrote:
if you need industrial standard...


Hi,

I need industrial standard. I make two isolated power sources, one of them is for RS232 side and other is for RS485 side. Data lines are connected with opto-couplers. I can control both RE and DE pins of RS485 with RTS at RS232 side. But I saw some converters that manage this automatically. This is really nice feature for programmers. So I want to add this feature to my own converter. I don't know how I can detect if RS232 transmits data to control RE and DE pins.

10x,
BasePointer.
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Hobby Circuits and Small Projects Problems -> RS232 to RS485 Converter without chip select?
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
TTL to RS485 and RS485 to RS232 Converter (1)
RS232 to RS485 Converter (16)
Tested RS232-RS485 Converter (3)
Urgent help needed:RS232 to RS485 converter (6)
Converter for RS232 to RS485 2 Wires (half duplex) (2)
RS232 to RS485 converter - not receiving dats on other side (2)
Pic to rs232 without level converter ic? (12)
rs232 to ttl converter without using external power supply (3)
RS232<-->RS485 IC ? (9)
RS485 bypass without relay (2)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS