Sign in

username:

password:



Not a member?

Search basicx



Search tips

Subscribe to basicx



basicx by Keywords

Accelerometer | ADC | ADXL | Adxl20 | AVR | BasicStamp | BX-35 | BX28 | BX35 | COM3 | Compiler | Downloader | EEPROM | Electromagnet | GetADC | GP2D1 | GPS | I2C | IDE | Keypad | LCD | LCD+ | MIDI | Motors | Multitasking | Netmedia | Networking | PCB | PID | PlaySound | PWM | Relays | RTC | Servo | ShiftOut | SitePlayer | SPI | Stack | Timer | USB

Ads

Discussion Groups

Discussion Groups | BasicX | Help with 3 serial outputs

Discussion forum for the BasicX family of microcontroller chips.

Help with 3 serial outputs - Author Unknown - Feb 21 22:12:00 2001

Hey everyone, I am new to this group and to the BasicX. I am
using a Bx-24 to act as the central processor for a telemetry
system. I am using com1 for programming and two-way serial
communication with an electric motor controller. I need 2 more
serial outs, one for an LCD and one for a radio modem.
I am currently sending both outputs, as one stream through
Com3, to a Stamp II, which then distribute the two streams to the
correct locations. The stamp is also being used as a multiplexer
for 6 streams of serial data, which are sent into the input pin of
Com3.
Is this the best solution, or would I be better off trying to
redefine Com3 to different pins in the BasicX program. Any
suggestions would be greatly appreciated. Thanks.

Alexander Arnote





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


Re: Help with 3 serial outputs - Tony Brenke - Feb 22 1:50:00 2001

to me this sounds like a good solution.
is the speed up to what you need?

there is a board that I have seen (have to look for it again) that does
do this with a bit more elgence.

you sent a command for what comport you want the next bit of data to
goto then send the data.

I think the max is 8 comports from one.
that being said you would suffer the lag of you port being split into
1/2 baud for each. --- wrote:
> Hey everyone, I am new to this group and to the BasicX. I am
> using a Bx-24 to act as the central processor for a telemetry
> system. I am using com1 for programming and two-way serial
> communication with an electric motor controller. I need 2 more
> serial outs, one for an LCD and one for a radio modem.
> I am currently sending both outputs, as one stream through
> Com3, to a Stamp II, which then distribute the two streams to the
> correct locations. The stamp is also being used as a multiplexer
> for 6 streams of serial data, which are sent into the input pin of
> Com3.
> Is this the best solution, or would I be better off trying to
> redefine Com3 to different pins in the BasicX program. Any
> suggestions would be greatly appreciated. Thanks.
>
> Alexander Arnote >
> ------------------------ Yahoo! Groups Sponsor >
>

=====
Tony Brenke
North Tacoma, WA

__________________________________________________


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

Re: Help with 3 serial outputs - Chuck Davis - Feb 22 8:41:00 2001

--- In basicx@y..., ahae5d@h... wrote:
> Hey everyone, I am new to this group and to the BasicX. I am
> using a Bx-24 to act as the central processor for a telemetry
> system. I am using com1 for programming and two-way serial
> communication with an electric motor controller. I need 2 more
> serial outs, one for an LCD and one for a radio modem.
> I am currently sending both outputs, as one stream through
> Com3, to a Stamp II, which then distribute the two streams to the
> correct locations. The stamp is also being used as a multiplexer
> for 6 streams of serial data, which are sent into the input pin of
> Com3.

I'd just like to know how you got the stamp to multiplex 6 serial
streams of data, since it can only do one serial operation at a
time!!!! If the stamp can do this, why couldn't the BX-24 do it also?
Also, you can certainly send multiple streams out of the BX-24
through different pins by just changing the COM3 pin assignement each
time.

Chuck




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

Re: Re: Help with 3 serial outputs - Alexander Arnote - Feb 23 12:51:00 2001

The stamp is rotating serial comunications with the six inputs. >From: "Chuck Davis" <>
>Reply-To:
>To:
>Subject: [BasicX] Re: Help with 3 serial outputs
>Date: Thu, 22 Feb 2001 13:41:34 -0000
>
>--- In basicx@y..., ahae5d@h... wrote:
> > Hey everyone, I am new to this group and to the BasicX. I am
> > using a Bx-24 to act as the central processor for a telemetry
> > system. I am using com1 for programming and two-way serial
> > communication with an electric motor controller. I need 2 more
> > serial outs, one for an LCD and one for a radio modem.
> > I am currently sending both outputs, as one stream through
> > Com3, to a Stamp II, which then distribute the two streams to the
> > correct locations. The stamp is also being used as a multiplexer
> > for 6 streams of serial data, which are sent into the input pin of
> > Com3.
>
>I'd just like to know how you got the stamp to multiplex 6 serial
>streams of data, since it can only do one serial operation at a
>time!!!! If the stamp can do this, why couldn't the BX-24 do it also?
>Also, you can certainly send multiple streams out of the BX-24
>through different pins by just changing the COM3 pin assignement each
>time.
>
>Chuck
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com




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