Sign in

username:

password:



Not a member?

Search Comp.Arch.Embedded



Search tips

embedded by Keywords

68HC11 | 68HC12 | 8051 | 8052 | ARM | ARM7 | Asic | AT91 | AT91RM9200 | Atmel | AVR | AVRStudio | Bootloader | CFP | CompactFlash | Cygnal | Cypress | Dataflash | DSP | eCos | EEPROM | Embedded Linux | Emulator | Endian | Ethernet | Firewire | FPGA | Freescale | GCC | GNUARM | GSM | H8 | HDLC | I2C | Infineon | Interrupts | Java | JTAG | LCD | LED | LPC2000 | MCU | Microchip | MMC | MPLAB | MSP430 | PC104 | PCB | PCI | PCMCIA | PowerPC | Rabbit | RS232 | RS485 | RTOS | SBC | SDRAM | Sensor | SPI | STK500 | UART | UML | USART | USB | Verilog | VHDL | VxWorks | Xilinx

Ads

Discussion Groups

Discussion Groups | Comp.Arch.Embedded | Two quick RS-485 questions

There are 33 messages in this thread.

You are currently looking at messages 0 to 10.

Two quick RS-485 questions - Lewin A.R.W. Edwards - 13:31 29-04-04

Hi all,

I have to implement a very simple multidrop RS485 application,
carrying slow 2400bps or even 1200bps data from a PC to a half-dozen
devices about 300 feet away. The data flow is unidirectional; the
devices don't talk back. Low cost is a significant factor in this. I
plan to stick an RS485 driver on an AVR, weld on the small additional
logic I need, and put it in a box.

Two quickies:

1. What's the cheapest assembled RS232 to RS485 converter I can
recommend to the customer? (I'm not supplying this piece to him. I am
going to test with an SBC that has RS485 built-in).

2. Can I use cat5 network cable for the cable run? I ask because both
I and the customer have metric truckloads of the stuff lying about.



Re: Two quick RS-485 questions - Mark A. Odell - 15:14 29-04-04

In article <6...@posting.google.com>, "Lewin A.R.W.
Edwards" <l...@larwe.com> wrote:


> Hi all,
> I have to implement a very simple multidrop RS485 application, carrying slow
> 2400bps or even 1200bps data from a PC to a half-dozen devices about 300
> feet away. The data flow is unidirectional; the devices don't talk back. Low
> cost is a significant factor in this. I plan to stick an RS485 driver on an
> AVR, weld on the small additional logic I need, and put it in a box. Two
> quickies:
> 1. What's the cheapest assembled RS232 to RS485 converter I can recommend to
> the customer? (I'm not supplying this piece to him. I am going to test with
> an SBC that has RS485 built-in).

I'm no help on this one.


> 2. Can I use cat5 network cable for the cable run? I ask because both I and
> the customer have metric truckloads ofthe stuff lying about.

For lowly 2400 baud, cat5 should perform well. I could reliably run close to a
mile at 9600 baud with much worse than cat5. I used the 1/256th load 485
drivers though.

Re: Two quick RS-485 questions - Paul Keinanen - 16:30 29-04-04

On 29 Apr 2004 10:31:04 -0700, l...@larwe.com (Lewin A.R.W. Edwards)
wrote:

>1. What's the cheapest assembled RS232 to RS485 converter I can
>recommend to the customer? (I'm not supplying this piece to him. I am
>going to test with an SBC that has RS485 built-in).

RS-232/485 converters usually contain some logic for flow direction
control, so my guess is that a simple RS-232/422 converter might be
cheaper, just don't use the Rx pair. 

At those speeds and distances even RS-232 might work, if you do not
have to worry about ground potential differences. However, if there
are potential differences, standard RS-422/485 chips work with at
least 5 V ground potential differences without galvanic isolation.

>2. Can I use cat5 network cable for the cable run? I ask because both
>I and the customer have metric truckloads of the stuff lying about.

At those speeds and distances, this should not be a problem.

Paul


Re: Two quick RS-485 questions - Steve at fivetrees - 17:14 29-04-04

"Lewin A.R.W. Edwards" <l...@larwe.com> wrote in message
news:6...@posting.google.com...
> Two quickies:
>
> 1. What's the cheapest assembled RS232 to RS485 converter I can
> recommend to the customer? (I'm not supplying this piece to him. I am
> going to test with an SBC that has RS485 built-in).

I use http://www.kksystems.com. I have seen cheaper, I think, but not much.
Also KK Systems are an old customer of mine, and I'm loyal ;).

> 2. Can I use cat5 network cable for the cable run? I ask because both
> I and the customer have metric truckloads of the stuff lying about.

Yes, no problem.

Steve
http://www.sfdesign.co.uk
http://www.fivetrees.com



Re: Two quick RS-485 questions - Vincent Lai - 21:09 29-04-04

"Lewin A.R.W. Edwards" <l...@larwe.com> ???
news:6...@posting.google.com ???...
> Hi all,
>
> I have to implement a very simple multidrop RS485 application,
> carrying slow 2400bps or even 1200bps data from a PC to a half-dozen
> devices about 300 feet away. The data flow is unidirectional; the
> devices don't talk back. Low cost is a significant factor in this. I
> plan to stick an RS485 driver on an AVR, weld on the small additional
> logic I need, and put it in a box.
>
> Two quickies:
>
> 1. What's the cheapest assembled RS232 to RS485 converter I can
> recommend to the customer? (I'm not supplying this piece to him. I am
> going to test with an SBC that has RS485 built-in).
>
try http://www.qkits.com/serv/qkits/qkitscat/order.asp?Code=KC485


> 2. Can I use cat5 network cable for the cable run? I ask because both
> I and the customer have metric truckloads of the stuff lying about.
>
It should be fine. Remember to pick the correct pair to get optimum
performance.



Re: Two quick RS-485 questions - Grant Edwards - 21:26 29-04-04

In article <c6s90v$m...@imsp212.netvigator.com>, Vincent Lai wrote:

>> 2. Can I use cat5 network cable for the cable run? I ask because both
>> I and the customer have metric truckloads of the stuff lying about.
>
> It should be fine. Remember to pick the correct pair to get optimum
> performance.

OK, I give, which one is the correct pair?  ;)

-- 
Grant Edwards                   grante             Yow!  If Robert Di Niro
                                  at               assassinates Walter Slezak,
                               visi.com            will Jodie Foster marry
                                                   Bonzo??

Re: Two quick RS-485 questions - moocowmoo - 04:40 30-04-04

"Lewin A.R.W. Edwards" <l...@larwe.com> wrote in message
news:6...@posting.google.com...
> Hi all,
>
> I have to implement a very simple multidrop RS485 application,
> carrying slow 2400bps or even 1200bps data from a PC to a half-dozen
> devices about 300 feet away. The data flow is unidirectional; the
> devices don't talk back. Low cost is a significant factor in this. I
> plan to stick an RS485 driver on an AVR, weld on the small additional
> logic I need, and put it in a box.
>
> Two quickies:
>
> 1. What's the cheapest assembled RS232 to RS485 converter I can
> recommend to the customer? (I'm not supplying this piece to him. I am
> going to test with an SBC that has RS485 built-in).
>
> 2. Can I use cat5 network cable for the cable run? I ask because both
> I and the customer have metric truckloads of the stuff lying about.

This site has a converter for £32 but you'll also need an external power
supply.
http://www.bb-europe.com/product.asp?dept%5Fid=3&sku=485CON

Cat 5 is fine for RS485, you should be able to get many times further than
300ft.

Peter


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.659 / Virus Database: 423 - Release Date: 15/04/04



Re: Two quick RS-485 questions - CBFalconer - 06:04 30-04-04

moocowmoo wrote:
> "Lewin A.R.W. Edwards" <l...@larwe.com> wrote in message
>>
>> I have to implement a very simple multidrop RS485 application,
>> carrying slow 2400bps or even 1200bps data from a PC to a 
>> half-dozen devices about 300 feet away. The data flow is
>> unidirectional; the devices don't talk back. Low cost is a
>> significant factor in this. I plan to stick an RS485 driver on
>> an AVR, weld on the small additional logic I need, and put it
>> in a box.
>>
>> Two quickies:
>>
>> 1. What's the cheapest assembled RS232 to RS485 converter I can
>> recommend to the customer? (I'm not supplying this piece to
>> him. I am going to test with an SBC that has RS485 built-in).
>>
>> 2. Can I use cat5 network cable for the cable run? I ask because
>> both I and the customer have metric truckloads of the stuff
>> lying about.
> 
> This site has a converter for £32 but you'll also need an
> external power supply.
> http://www.bb-europe.com/product.asp?dept%5Fid=3&sku=485CON
> 
> Cat 5 is fine for RS485, you should be able to get many times
> further than 300ft.

Try the raw RS232 signal.  We used to routinely connect terminals
over 1000 feet or more of unshielded multi-wire cable (not twisted
pairs) for 2400 baud operation with no noticeable problems.  Of
course the RS232 signals met RS232 specs in the first place (i.e.
+-12V delivered).

-- 
Chuck F (c...@yahoo.com) (c...@worldnet.att.net)
   Available for consulting/temporary embedded and systems.
   <http://cbfalconer.home.att.net>;  USE worldnet address!



Re: Two quick RS-485 questions - Lewin A.R.W. Edwards - 06:57 30-04-04

> >> 2. Can I use cat5 network cable for the cable run? I ask because both
> >
> > It should be fine. Remember to pick the correct pair to get optimum
> 
> OK, I give, which one is the correct pair?  ;)

I read this message to mean "pick two wires that form a twisted pair,
don't arbitrarily choose one wire from one pair, and the other wire
from a different pair" :)

Re: Two quick RS-485 questions - Paul Keinanen - 08:09 30-04-04

On Fri, 30 Apr 2004 10:04:41 GMT, CBFalconer <c...@yahoo.com>
wrote:

>moocowmoo wrote:
>> "Lewin A.R.W. Edwards" <l...@larwe.com> wrote in message
>>>
>>> I have to implement a very simple multidrop RS485 application,
>>> carrying slow 2400bps or even 1200bps data from a PC to a 
>>> half-dozen devices about 300 feet away. The data flow is
>>> unidirectional; the devices don't talk back. Low cost is a
>>> significant factor in this. I plan to stick an RS485 driver on
>>> an AVR, weld on the small additional logic I need, and put it
>>> in a box.

>Try the raw RS232 signal.  We used to routinely connect terminals
>over 1000 feet or more of unshielded multi-wire cable (not twisted
>pairs) for 2400 baud operation with no noticeable problems.  Of
>course the RS232 signals met RS232 specs in the first place (i.e.
>+-12V delivered).

The RS232 might work well in the OP's case, but especially if the
boxes are in a different buildings, then ground potential issues needs
to be handled. 

Keeping the boxes floating usually solves the problem, i.e. put the
devices in plastic boxes and feed them with individually with wall
warts (or with batteries if these are low consumption boxes). Connect
the signal ground only to the data cable. With a grounded PC, there
should not be any electrostatic charge buildup.

Paul
 

| 1 | 2 | 3 | 4 | next