SparkFun Forums 

Where electronics enthusiasts find answers.

Questions relating to designing PCBs
By AJITnayak
#156896
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
By AJITnayak
#156943
If you can post simple circuit diagram , it better me to under stand

Suppose assume i have Arduino board. I wanna read data from serial port which are @ ttl level.
how i should give ttl input max 232 and how output are taken.
is it possible to do full duplex using max 232 .
By Mr.Paul
#156960
From where you, design wise, I suspect you might be better off with a premade product. If you google RS232 Arduino Shield you will find some shields all made and ready to go. Googling MAX232 Arduino (or RS232 Arduino) will find you some nice hits like http://www.endurance-robotics.com/product.aspx?id=190 for some guidance if you really want to do it yourself.

It is a very straightforward chip to use.
By AJITnayak
#156999
Mr paul ,

Thanks for pdf data. please let me know how we can do it for ttl to rs485


Mr.Paul wrote:From where you, design wise, I suspect you might be better off with a premade product. If you google RS232 Arduino Shield you will find some shields all made and ready to go. Googling MAX232 Arduino (or RS232 Arduino) will find you some nice hits like http://www.endurance-robotics.com/product.aspx?id=190 for some guidance if you really want to do it yourself.

It is a very straightforward chip to use.
By Mr.Paul
#157092
485 Definitely gets tricky, but google can help. For example

http://www.linear.com/product/LTC1334

Looks like it can do both 232 and 485, and can do the voltage conversions as well. The datasheet, linked on that page, has some sample applications. "rs-485 driver chip" has more hits, but I don't have any experience with any of them, so hey, you're on you're own :)
By macegr
#157095
SN75176 is much simpler for half-duplex (three wire) RS485. Nothing too scary about it.