Atmel AVR Microcontroller discussion group.
[AVR club] building serial hub device - "Marojahan M.T. Sigiro" - Nov 3 11:32:12 2008
hi everybody.
i have a little project that need a device act as a serial(RS232) hub. This
device will connect to several serial device through serial connection. to
implement this project, do i have to use x uC to connect x RS232 + 1 main uC
and use SPI to connect all the uC, or do you have another sollution?
i'll be very thank full for any suggestion..
Thankyou
--
---
hey, just because I don't care doesn't mean I'm not listening -- homer
simpson
--------------------------------------
Marojahan M.T. Sigiro
m...@gmail.com
GTalk : marojahan
Y! : ojak_s
http://ojakaja.com
[Non-text portions of this message have been removed]
------------------------------------

(You need to be a member of avrclub -- send a blank email to avrclub-subscribe@yahoogroups.com )
Re: [AVR club] building serial hub device - Zack Widup - Nov 3 11:49:31 2008
I'm a little confused on what you want to do. Do you want to daisy-chain
devices? Or have all connected on one line?
If you want to connect multiple devices on one line you should use I2C or
TWI. Or you can just write your own program to do it, as I have done in
the past, making up your own protocol.
X-10 technology is interesting, too ...
Zack
On Mon, 3 Nov 2008, Marojahan M.T. Sigiro wrote:
> hi everybody.
> i have a little project that need a device act as a serial(RS232) hub. This
> device will connect to several serial device through serial connection. to
> implement this project, do i have to use x uC to connect x RS232 + 1 main uC
> and use SPI to connect all the uC, or do you have another sollution?
>
> i'll be very thank full for any suggestion..
>
> Thankyou
------------------------------------

(You need to be a member of avrclub -- send a blank email to avrclub-subscribe@yahoogroups.com )
Re: [AVR club] building serial hub device - "Marojahan M.T. Sigiro" - Nov 3 13:45:47 2008
i just want to connect multi serial device to one X device. that X device
has 5 or more serial connector that those serial device can connect to...
(just act as a hub.)..
thank you for u'r suggestion, i'll try it out.
On Mon, Nov 3, 2008 at 11:49 PM, Zack Widup
wrote:
>
> I'm a little confused on what you want to do. Do you want to daisy-chain
> devices? Or have all connected on one line?
>
> If you want to connect multiple devices on one line you should use I2C or
> TWI. Or you can just write your own program to do it, as I have done in
> the past, making up your own protocol.
>
> X-10 technology is interesting, too ...
>
> Zack
> On Mon, 3 Nov 2008, Marojahan M.T. Sigiro wrote:
>
> > hi everybody.
> > i have a little project that need a device act as a serial(RS232) hub.
> This
> > device will connect to several serial device through serial connection.
> to
> > implement this project, do i have to use x uC to connect x RS232 + 1 main
> uC
> > and use SPI to connect all the uC, or do you have another sollution?
> >
> > i'll be very thank full for any suggestion..
> >
> > Thankyou
> >
> >
>
--
---
hey, just because I don't care doesn't mean I'm not listening -- homer
simpson
--------------------------------------
Marojahan M.T. Sigiro
m...@gmail.com
GTalk : marojahan
Y! : ojak_s
http://ojakaja.com
[Non-text portions of this message have been removed]
------------------------------------

(You need to be a member of avrclub -- send a blank email to avrclub-subscribe@yahoogroups.com )Re: [AVR club] building serial hub device - Elbest Engenharia - Nov 3 17:48:04 2008
Try RS485
----- Original Message -----
From: Marojahan M.T. Sigiro
To: a...@yahoogroups.com
Sent: Monday, November 03, 2008 4:23 PM
Subject: Re: [AVR club] building serial hub device
i just want to connect multi serial device to one X device. that X device
has 5 or more serial connector that those serial device can connect to...
(just act as a hub.)..
thank you for u'r suggestion, i'll try it out.
On Mon, Nov 3, 2008 at 11:49 PM, Zack Widup
wrote:
>
> I'm a little confused on what you want to do. Do you want to daisy-chain
> devices? Or have all connected on one line?
>
> If you want to connect multiple devices on one line you should use I2C or
> TWI. Or you can just write your own program to do it, as I have done in
> the past, making up your own protocol.
>
> X-10 technology is interesting, too ...
>
> Zack
>
>
> On Mon, 3 Nov 2008, Marojahan M.T. Sigiro wrote:
>
> > hi everybody.
> > i have a little project that need a device act as a serial(RS232) hub.
> This
> > device will connect to several serial device through serial connection.
> to
> > implement this project, do i have to use x uC to connect x RS232 + 1 main
> uC
> > and use SPI to connect all the uC, or do you have another sollution?
> >
> > i'll be very thank full for any suggestion..
> >
> > Thankyou
> >
> >
>
>
>
--
---
hey, just because I don't care doesn't mean I'm not listening -- homer
simpson
--------------------------------------
Marojahan M.T. Sigiro
m...@gmail.com
GTalk : marojahan
Y! : ojak_s
http://ojakaja.com
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]
------------------------------------

(You need to be a member of avrclub -- send a blank email to avrclub-subscribe@yahoogroups.com )RE: [AVR club] building serial hub device - Julian Higginson - Nov 3 23:09:35 2008
So.... you just want to switch 2-way communication between one "master"
device and x "slave" devices? All using RS232?
Are there going to be escape codes the master can send to change its
addressing? Or is addressing done manually?
Analogue switches have worked well for me, when I wanted to route comms
lines on a board to/from multiple places.
Julian Higginson
Bruttour International P/L
http://www.bruttour.com.au
Ph: +612 9987 1581
-----Original Message-----
From: a...@yahoogroups.com [mailto:a...@yahoogroups.com] On Behalf Of
Marojahan M.T. Sigiro
Sent: Tuesday, 4 November 2008 5:23 AM
To: a...@yahoogroups.com
Subject: Re: [AVR club] building serial hub device
i just want to connect multi serial device to one X device. that X device
has 5 or more serial connector that those serial device can connect to...
(just act as a hub.)..
thank you for u'r suggestion, i'll try it out.
------------------------------------

(You need to be a member of avrclub -- send a blank email to avrclub-subscribe@yahoogroups.com )
RE: [AVR club] building serial hub device - Kishor Soni - Nov 4 2:44:24 2008
You can do by Hardware and software for stable operation without missing bi=
ts.
By Software, You need to simulate required serial ports by timer. Your X mc=
u must be run at least 4 MHz or more, for 9600 bps. It required very comple=
x software. You need to create threads as many as simulated port.
By hardware, it is becomes very simple. use separate mcu for each serial po=
rt, say sub mcu. create buffer in each sub mcu and connect each sub mcu to =
your X mcu.
see the attach document
Kishor Soni =A0=20
--- On Tue, 11/4/08, Julian Higginson
wrote:
From: Julian Higginson
Subject: RE: [AVR club] building serial hub device
To: a...@yahoogroups.com
Date: Tuesday, November 4, 2008, 4:44 AM
=20=20=20=20
So.... you just want to switch 2-way communication between one =
"master"
device and x "slave" devices? All using RS232?
Are there going to be escape codes the master can send to change its
addressing? Or is addressing done manually?
Analogue switches have worked well for me, when I wanted to route comms
lines on a board to/from multiple places.
Julian Higginson
Bruttour International P/L
http://www.bruttour .com.au
Ph: +612 9987 1581
-----Original Message-----
From: avrclub@yahoogroups .com [mailto:avrclub@yahoogroups .com] On Behalf =
Of
Marojahan M.T. Sigiro
Sent: Tuesday, 4 November 2008 5:23 AM
To: avrclub@yahoogroups .com
Subject: Re: [AVR club] building serial hub device
i just want to connect multi serial device to one X device. that X device
has 5 or more serial connector that those serial device can connect to...
(just act as a hub.)..
thank you for u'r suggestion, i'll try it out.
=20=20=20=20=20=20
=20=20=20=20
=20=20=20=20
=09
=09=20
=09
=09
=09
=09
=09
=20=20=20=20=20=20
[Non-text portions of this message have been removed]
------------------------------------
______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.

(You need to be a member of avrclub -- send a blank email to avrclub-subscribe@yahoogroups.com )Re: [AVR club] building serial hub device - "Marojahan M.T. Sigiro" - Nov 4 10:24:43 2008
kishor, it just exactly like what u said, but i'm using hardware.., btw, i
miss the document that u attached... could u email it again.. thanks a
lot..
On Tue, Nov 4, 2008 at 2:43 PM, Kishor Soni
wrote:
> You can do by Hardware and software for stable operation without missing
> bits.
>
> By Software, You need to simulate required serial ports by timer. Your X
> mcu must be run at least 4 MHz or more, for 9600 bps. It required very
> complex software. You need to create threads as many as simulated port.
>
> By hardware, it is becomes very simple. use separate mcu for each serial
> port, say sub mcu. create buffer in each sub mcu and connect each sub mcu to
> your X mcu.
>
> see the attach document
>
> Kishor Soni
>
> --- On Tue, 11/4/08, Julian Higginson
>
> wrote:
> From: Julian Higginson
> >
> Subject: RE: [AVR club] building serial hub device
> To: a...@yahoogroups.com
> Date: Tuesday, November 4, 2008, 4:44 AM
> So.... you just want to switch 2-way communication between one "master"
>
> device and x "slave" devices? All using RS232?
>
> Are there going to be escape codes the master can send to change its
>
> addressing? Or is addressing done manually?
>
> Analogue switches have worked well for me, when I wanted to route comms
>
> lines on a board to/from multiple places.
>
> Julian Higginson
>
> Bruttour International P/L
>
> http://www.bruttour .com.au
>
> Ph: +612 9987 1581
>
> -----Original Message-----
>
> From: avrclub@yahoogroups .com [mailto:avrclub@yahoogroups .com] On Behalf
> Of
>
> Marojahan M.T. Sigiro
>
> Sent: Tuesday, 4 November 2008 5:23 AM
>
> To: avrclub@yahoogroups .com
>
> Subject: Re: [AVR club] building serial hub device
>
> i just want to connect multi serial device to one X device. that X device
>
> has 5 or more serial connector that those serial device can connect to...
>
> (just act as a hub.)..
>
> thank you for u'r suggestion, i'll try it out.
>
> [Non-text portions of this message have been removed]
>
>
>
--
---
hey, just because I don't care doesn't mean I'm not listening -- homer
simpson
--------------------------------------
Marojahan M.T. Sigiro
m...@gmail.com
GTalk : marojahan
Y! : ojak_s
http://ojakaja.com
[Non-text portions of this message have been removed]
------------------------------------

(You need to be a member of avrclub -- send a blank email to avrclub-subscribe@yahoogroups.com )