Go Down

Topic: PCB schematic (Read 3009 times) previous topic - next topic

AMPS-N

Dear all.

Please let me know where i can get schematic for below requirement.

i wanna create simple schematic where i can take a TTL input and convert in he form RS232/RS485 (both)

example. I wanna read data from arduino board. and interface with RS485 and RS232 communication modules.
i know we can use serial monitor to view  data  they are in TTL format.SO i wanna create ttl to rs232 , rs232 to rs 485 or ttl to rs485 devices for interface with module so that it reside on main PCB.
But i need circuit where i can take data in TTL format and convert into both format.
INPUT:ttl format
output1:RS232
output2:RS485
AMPS

CrossRoads

Only need to add 1 chip for each:
MAX232 and MAX485.
https://www.sparkfun.com/products/11189
https://www.sparkfun.com/products/10124
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

retrolefty

As posted by CrossRoads, it's each to convert from TTL serial comm to and from RS-232 comm OR to and from RS-485 devices by using an appropriate converter chip. But what is not clear is your statement to want both? On the same single AVR serial port at the same time?

What is connecting to these two interface levels? Is your intention to be able to communicate to two external devices, one at RS-232 and one at RS-485 at the same time? While it's not hard to have the arduino send characters out to two devices at different voltage levels at the same time from one serial port, there would be problem in how two different devices can respond back to a single AVR Rx pin as there would be nothing to prevent the two senders from stepping on each other. Some kind of electrical ORing connection would be needed as well as a software serial protocol to prevent two external devices sending at the same time.

So maybe a little clearer description of what you are trying to accomplish would be in order?

Lefty

AMPS-N


i am looking for 3 circuits  with connection diagram
1) which convert ttl input in to rs232 output
2) which convert ttl input to rs 485 output
3) which covert r232 to rs 485 output

i know we can do with max 232 and max 485 IC . But how to make it working.how ttl inputs are given and output has taken



As posted by CrossRoads, it's each to convert from TTL serial comm to and from RS-232 comm OR to and from RS-485 devices by using an appropriate converter chip. But what is not clear is your statement to want both? On the same single AVR serial port at the same time?

What is connecting to these two interface levels? Is your intention to be able to communicate to two external devices, one at RS-232 and one at RS-485 at the same time? While it's not hard to have the arduino send characters out to two devices at different voltage levels at the same time from one serial port, there would be problem in how two different devices can respond back to a single AVR Rx pin as there would be nothing to prevent the two senders from stepping on each other. Some kind of electrical ORing connection would be needed as well as a software serial protocol to prevent two external devices sending at the same time.

So maybe a little clearer description of what you are trying to accomplish would be in order?

Lefty
AMPS

Go Up