Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] TCP/IP

2005-01-28 by Jim Wagner

This is not an easy task!

RS232 is a character-by-characters system. You can pause
between any two characters (unless something in the
receiver forces a "time-out"). Further, there is no
inherent addressing because RS232 is designed to talk to
one device, only (the one at the other end of the cable). 

tcp/ip is a packet-oriented system that does not easily
handle one character. The address bytes and the control
bytes and the checksum add up to quite a bit of overhead.

Thus, you would probably need to collect characters into a
packet, then send the packet to a predetermined address
that is pre-loaded into the converter. 

In the reverse direction, tcp/ip has the capability of
generating chacters far faster than they can be sent over
any RS232 link. This calls for some buffering and flow
control. 

The task is not trivial!

Jim


On Sat, 29 Jan 2005 00:52:43 +0330
 "Hamid reza Kabiri" <kabiri@espoland.com> wrote:
> 
> 
> 
> 
> 
> 
> Hello
> How I can create convertor (RS232 to tcp/ip) by mega64
> thanks
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Yahoo! Groups Links
> 
> To visit your group on the web, go
> to:http://groups.yahoo.com/group/AVR-Chat/&nbsp;
> To unsubscribe from this group, send an email
> to:AVR-Chat-unsubscribe@yahoogroups.com&nbsp;
> Your use of Yahoo! Groups is subject to the Yahoo! Terms
> of Service.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 

---------------------------------------------------------------
The Think Different Store
http://www.thinkdifferentstore.com/
For All Your Mac Gear
---------------------------------------------------------------

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.