Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

Help me with a Max232 to Max485 protocol

Status
Not open for further replies.

member_tdh

Member level 5
Joined
Feb 6, 2006
Messages
86
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
2,187
Hi!

Now, I having a problem with the protocol RS232 to RS485. I posted my schematic and could any body help me check it?

follow this circuit, when I brake pin 9 (MAX232) and connect to VCC or GND, transmit and receive was OK. But I keep intact this pin's connect, I couldn't transmit or receive...:?:

Please help me!

My project was designed: PC (master) <--> AVR (slaver1) <--> AVR (slaver2) throught MAX485.

in the VB6's code: I cann't control the RTS pin.
 

IanP

Advanced Member level 5
Joined
Oct 5, 2004
Messages
7,942
Helped
2,307
Reputation
4,616
Reaction score
531
Trophy points
1,393
Location
West Coast
Activity points
66,459
max485 avr

The key factor in the successfull RS232-to-RS485 conversion is in the correct switching between transmission and reception ..
If you can't use RTS signal to control the DE-/RE pins than the whole idea of using MAX232 and MAX485 (including option with MOSFET transistor) won't work ..

Here is another (working!!!) option:
https://www.edaboard.com/viewtopic.php?t=156484
Take a look at it and if you have further questions - come back ..

Regards,
IanP
 

member_tdh

Member level 5
Joined
Feb 6, 2006
Messages
86
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
2,187
max485 schematic

Hi! :D

Last night, I was check my circuit successfull! both of transmited and received are ok!

I post my shematic below: cut pin 9 (max232), connect to both pins 2,3 (max485) to pin 13 (max232) throught a resister 1k, diode zerne 5v2. Its's OK!
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top