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

See Also

DSPFPGAElectronics

Discussion Groups | BasicX | BX24 networking


Advertise Here

Discussion forum for the BasicX family of microcontroller chips.

BX24 networking - ahvah2805 - May 24 8:56:00 2004

Hi,

I am working on semiautonomous robotic system.
As a core processor is Bx24.
Till now everything was more or less fine. Now I've
run out of ADC inputs. Therefore I think about using
another BX24 in order to process ADC input data and send
the results to the first Bx24.
Both Coms are used already.
Therefore I think that a network (SPI as I understand)
could be a solution.
Is there any good examples about BX24 networking (including code). I
could not find any on Netmedia web site.

Thank You in advance.





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


Re: BX24 networking - Thad Larson - May 24 10:29:00 2004

Another option would be to implement an external ADC.
The following is an eight channel 12-bit A/D
converters.

http://www.phanderson.com/basicx/mcp3208.html

Regards,
Thad

--- ahvah2805 <> wrote:
> Hi,
>
> I am working on semiautonomous robotic system.
> As a core processor is Bx24.
> Till now everything was more or less fine. Now I've
> run out of ADC inputs. Therefore I think about using
>
> another BX24 in order to process ADC input data and
> send
> the results to the first Bx24.
> Both Coms are used already.
> Therefore I think that a network (SPI as I
> understand)
> could be a solution.
> Is there any good examples about BX24 networking
> (including code). I
> could not find any on Netmedia web site.
>
> Thank You in advance.

__________________________________



______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.


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

Re: BX24 networking - Don Lewis - May 24 15:42:00 2004

There is a technique similar to multiplexing a bit
such that both logical data and ADC can be shared on the
same pin. The ADC period could be very short assuming
the ADC source is stable during the sample.
Sorry I don't have an example but I thought I'd at least stir
the waters a bit and perhaps some of those excellent programmers
out in BX land will have more input.

Don

--- In , "ahvah2805" <ahvah@n...> wrote:
> Hi,
>
> I am working on semiautonomous robotic system.
> As a core processor is Bx24.
> Till now everything was more or less fine. Now I've
> run out of ADC inputs. Therefore I think about using
> another BX24 in order to process ADC input data and send
> the results to the first Bx24.
> Both Coms are used already.
> Therefore I think that a network (SPI as I understand)
> could be a solution.
> Is there any good examples about BX24 networking (including code). I
> could not find any on Netmedia web site.
>
> Thank You in advance.



______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.


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

Re: Re: BX24 networking - Thad Larson - May 24 17:46:00 2004

The CD4016 & CD4066 are both used multiplexing analog
and digital signals. However, you would still need a
2-to-4 or a 3-to-8 multiplexer to select which line to
"look" at...

Not a complete answer, but a direction.

Regards,
Thad

--- Don Lewis <> wrote:
> There is a technique similar to multiplexing a bit
> such that both logical data and ADC can be shared on
> the
> same pin. The ADC period could be very short
> assuming
> the ADC source is stable during the sample.
> Sorry I don't have an example but I thought I'd at
> least stir
> the waters a bit and perhaps some of those excellent
> programmers
> out in BX land will have more input.
>
> Don
>
> --- In , "ahvah2805"
> <ahvah@n...> wrote:
> > Hi,
> >
> > I am working on semiautonomous robotic system.
> > As a core processor is Bx24.
> > Till now everything was more or less fine. Now
> I've
> > run out of ADC inputs. Therefore I think about
> using
> > another BX24 in order to process ADC input data
> and send
> > the results to the first Bx24.
> > Both Coms are used already.
> > Therefore I think that a network (SPI as I
> understand)
> > could be a solution.
> > Is there any good examples about BX24 networking
> (including code). I
> > could not find any on Netmedia web site.
> >
> > Thank You in advance.

__________________________________





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

Re: BX24 networking - Don Kinzer - May 24 21:58:00 2004

--- In , Neil Jepsen <njepsen@i...> wrote:
> There's nothing to stop you having several com3 ports on one chip.

You don't mean having several simultaneously active Com3 ports, do
you?

Perhaps I'm mistaken but I thought that you could only have one
active Com3 at a time. In order to have several Com3 ports, my
understanding was that you needed to activate them sequentially and
this will work fine as long at none of the senders transmit while
their respective Com3 is not active.






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

Re: Re: BX24 networking - Neil Jepsen - May 25 16:06:00 2004

Theres nothing to stop you having several com3 ports on one chip.
neil

Don Lewis wrote:

> There is a technique similar to multiplexing a bit
> such that both logical data and ADC can be shared on the
> same pin. The ADC period could be very short assuming
> the ADC source is stable during the sample.
> Sorry I don't have an example but I thought I'd at least stir
> the waters a bit and perhaps some of those excellent programmers
> out in BX land will have more input.
>
> Don
>
> --- In , "ahvah2805" <ahvah@n...> wrote:
> > Hi,
> >
> > I am working on semiautonomous robotic system.
> > As a core processor is Bx24.
> > Till now everything was more or less fine. Now I've
> > run out of ADC inputs. Therefore I think about using
> > another BX24 in order to process ADC input data and send
> > the results to the first Bx24.
> > Both Coms are used already.
> > Therefore I think that a network (SPI as I understand)
> > could be a solution.
> > Is there any good examples about BX24 networking (including code). I
> > could not find any on Netmedia web site.
> >
> > Thank You in advance. > ------------------------------------------------------------------------
> *>.






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

Re: Re: BX24 networking - Neil Jepsen - May 25 22:09:00 2004

Yes that's what I meant. If you could live with MUXing the com3
ports..that works fine. Perhaps speed may be a problem?
I have a product where I mux com3 between a radio, and 3 LCD displays
and it works fine.
neil
Don Kinzer wrote:

> --- In , Neil Jepsen <njepsen@i...> wrote:
> > There's nothing to stop you having several com3 ports on one chip.
>
> You don't mean having several simultaneously active Com3 ports, do
> you?
>
> Perhaps I'm mistaken but I thought that you could only have one
> active Com3 at a time. In order to have several Com3 ports, my
> understanding was that you needed to activate them sequentially and
> this will work fine as long at none of the senders transmit while
> their respective Com3 is not active. >
>
> *Yahoo! Groups Sponsor*
> ADVERTISEMENT
> <http://rd.yahoo.com/SIG=1293lbl0g/M=295196.4901138.6071305.3001176/D=groups/S=1706554205:HM/EXP=1085540351/A=2128215/R=0/SIG=10se96mf6/*http://companion.yahoo.com >
> ------------------------------------------------------------------------
> *>.





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