Shop OBEX P1 Docs P2 Docs Learn Events
serial to parallel converter — Parallax Forums

serial to parallel converter

ArchiverArchiver Posts: 46,084
edited 2003-11-28 02:42 in General Discussion
Is there a way to program a serial to parallel converter with a BS2? I
have tried using serial in, but it's 8 bit limit is a problem. This is
just a simple R&D project that will be torn down after it's built. I am
trying to pick up and decode a serial signal that might be up to 16 bits
in length, not including start & stop bits and I would rather not buy
hardware if I can program it in software. I realize this may require
two word variables and the baud rate is somewhere near 968 baud. Thanks
for your help.

Regards,

Leroy

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2002-05-08 23:41
    At 18:30 05/08/02, Leroy Hall wrote:
    >Is there a way to program a serial to parallel converter with a BS2? I
    >have tried using serial in, but it's 8 bit limit is a problem. This is
    >just a simple R&D project that will be torn down after it's built. I am
    >trying to pick up and decode a serial signal that might be up to 16 bits
    >in length, not including start & stop bits and I would rather not buy
    >hardware if I can program it in software. I realize this may require
    >two word variables and the baud rate is somewhere near 968 baud. Thanks
    >for your help.

    Hope this helps. It includes hardware and software. You can run the tests
    he mentions at some standard baud rate that a simple terminal program can
    be set for, then when you're satisfied it works, change the constant in the
    BS2 program for 968 baud.

    http://www.lennard.net.nz/electronics/serial.html#sipobasic


    Jim H
  • ArchiverArchiver Posts: 46,084
    edited 2002-05-09 00:08
    That certainly is a good start and some of the LCD routines he used were
    great, I have another project for those. Has anyone seen a good PC
    based digital scope? I ran a search on google for 'digital scope' and
    just about passed out from all the hits. Any good ideas here? Thanks
    for your suggestion Jim.

    leroy

    Jim Higgins wrote:
    >
    > At 18:30 05/08/02, Leroy Hall wrote:
    > >Is there a way to program a serial to parallel converter with a BS2? I
    > >have tried using serial in, but it's 8 bit limit is a problem. This is
    > >just a simple R&D project that will be torn down after it's built. I am
    > >trying to pick up and decode a serial signal that might be up to 16 bits
    > >in length, not including start & stop bits and I would rather not buy
    > >hardware if I can program it in software. I realize this may require
    > >two word variables and the baud rate is somewhere near 968 baud. Thanks
    > >for your help.
    >
    > Hope this helps. It includes hardware and software. You can run the tests
    > he mentions at some standard baud rate that a simple terminal program can
    > be set for, then when you're satisfied it works, change the constant in the
    > BS2 program for 968 baud.
    >
    > http://www.lennard.net.nz/electronics/serial.html#sipobasic
    >
    > Jim H
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and Body
    of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
  • ArchiverArchiver Posts: 46,084
    edited 2002-05-09 00:20
    At 19:08 05/08/02, Leroy Hall wrote:
    >That certainly is a good start and some of the LCD routines he used were
    >great, I have another project for those. Has anyone seen a good PC
    >based digital scope? I ran a search on google for 'digital scope' and
    >just about passed out from all the hits. Any good ideas here? Thanks
    >for your suggestion Jim.

    You might search the Stamp list message archives. I think maybe Al
    Williams held forth at length on this topic maybe a year ago... unless I'm
    confusing the Stamp list with an article in Nuts and Volts. He probably
    did both.

    A Google on "+PC +digital +scope" produces a lot of hits, but they're one
    heck of a lot more focused than what I saw without the +PC. I saw some
    good relevant stuff on the first page. (The +'s force ALL words to be
    present vs ANY word.)


    Jim H
  • ArchiverArchiver Posts: 46,084
    edited 2002-05-09 01:18
    At 06:30 PM 5/8/02 -0400, Leroy Hall wrote:
    > the baud rate is somewhere near 968 baud.

    Off the topic a little bit: almost sounds like the baud rate I use in much
    of my serial and SPI routines: my main timer tick rate in most of my
    projects is 1.024 mS which is 973 Hz. I so all of my background processing
    during those ticks (including communications) - thus that odd rate.

    Not an answer to your question but I thought I'd mention one possibility
    for that particular baud rate.

    dwayne



    Dwayne Reid <dwayner@p...>
    Trinity Electronics Systems Ltd Edmonton, AB, CANADA
    (780) 489-3199 voice (780) 487-6397 fax

    Celebrating 18 years of Engineering Innovation (1984 - 2002)
    .-. .-. .-. .-. .-. .-. .-. .-. .-. .-
    `-' `-' `-' `-' `-' `-' `-' `-' `-'
    Do NOT send unsolicited commercial email to this email address.
    This message neither grants consent to receive unsolicited
    commercial email nor is intended to solicit commercial email.
  • ArchiverArchiver Posts: 46,084
    edited 2002-05-09 08:42
    Hey cool site! :-)

    Hehe, nah - it's good to see that someone actually found stuff on my site
    useful. :-)

    I'm slowly getting bits and pieces together for some of the unlinked ideas.

    I have the parts for the bidirectional serial/parallel bus, so will
    hopefully get that up and running soon. Will also play with a 16 bit bus
    (which is easy to send/receive with the Stamp's shiftin/out command).

    Also, the AM/FM Tuner controller is a project I definately want to get under
    way. Just not sure if I should do the Frequency Synthesis with the Stamp or
    the Motorola Chips I have.

    cheers,

    Ben, Wellington, New Zealand.

    --
    http://www.lennard.net.nz/
    Ben Lennard, NCEE, Dip EE

    Web Hosting and Electronics R&D

    Hm: +64 4 972 7567
    Mb: +64 21 536 627
    87 Spencer Street
    Crofton Downs
    Wellington
    New Zealand

    "To the optimist, the glass is half full. To the pessimist, the glass is
    half empty. To the engineer, the glass is twice as big as it needs to be."

    No animals were harmed in the transmission of this email, although the
    Dog next door is living on borrowed time, let me tell you! Those of you
    with an overwhelming fear of the unknown will be gratified to learn that
    there is no hidden message revealed by reading this warning backwards.




    >From: Leroy Hall <leroy@f...>
    >To: basicstamps@yahoogroups.com
    >Subject: Re: [noparse][[/noparse]basicstamps] serial to parallel converter
    >Date: Thu, 9 May 2002 11:08 AM
    >

    > That certainly is a good start and some of the LCD routines he used were
    > great, I have another project for those. Has anyone seen a good PC
    > based digital scope? I ran a search on google for 'digital scope' and
    > just about passed out from all the hits. Any good ideas here? Thanks
    > for your suggestion Jim.
    >
    > leroy
    >
    > Jim Higgins wrote:
    >>
    >> At 18:30 05/08/02, Leroy Hall wrote:
    >> >Is there a way to program a serial to parallel converter with a BS2? I
    >> >have tried using serial in, but it's 8 bit limit is a problem. This is
    >> >just a simple R&D project that will be torn down after it's built. I am
    >> >trying to pick up and decode a serial signal that might be up to 16 bits
    >> >in length, not including start & stop bits and I would rather not buy
    >> >hardware if I can program it in software. I realize this may require
    >> >two word variables and the baud rate is somewhere near 968 baud. Thanks
    >> >for your help.
    >>
    >> Hope this helps. It includes hardware and software. You can run the tests
    >> he mentions at some standard baud rate that a simple terminal program can
    >> be set for, then when you're satisfied it works, change the constant in the
    >> BS2 program for 968 baud.
    >>
    >> http://www.lennard.net.nz/electronics/serial.html#sipobasic
    >>
    >> Jim H
    >>
    >> To UNSUBSCRIBE, just send mail to:
    >> basicstamps-unsubscribe@yahoogroups.com
    >> from the same email address that you subscribed. Text in the Subject and
    > Body of the message will be ignored.
    >>
    >>
    >> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and
    > Body of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2003-11-28 01:04
    Is there a simple IC approach to converting serial signals to parallel?

    >From: Newzed@a...
    >Reply-To: basicstamps@yahoogroups.com
    >To: basicstamps@yahoogroups.com
    >Subject: Re: [noparse][[/noparse]basicstamps] Averaging numbers...
    >Date: Thu, 27 Nov 2003 16:57:41 EST
    >
    >In a message dated 11/27/2003 4:44:23 PM Eastern Standard Time,
    >fuel@b... writes:
    >
    >
    > > That is such a stupidly simple answer, that I am embarrassed I asked the
    > > question... Its 5:40 AM here, I shouldnt have gotten up so early.
    > >
    >No problem, Chris. Anything for a cobber.
    >
    >Sid
    >
    >
    >[noparse][[/noparse]Non-text portions of this message have been removed]
    >
    >
    >To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    >from the same email address that you subscribed. Text in the Subject and
    >Body of the message will be ignored.
    >
    >
    >Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >

    _________________________________________________________________
    online games and music with a high-speed Internet connection! Prices start
    at less than $1 a day average. https://broadband.msn.com (Prices may vary
    by service area.)
  • ArchiverArchiver Posts: 46,084
    edited 2003-11-28 02:42
    It easy, just use a standard shift register, and clock the data in
    serially.

    Chris

    --- In basicstamps@yahoogroups.com, "Christian Wentz" <cwentz86@h...>
    wrote:
    >
    > Is there a simple IC approach to converting serial signals to
    parallel?
    >
    > >From: Newzed@a...
    > >Reply-To: basicstamps@yahoogroups.com
    > >To: basicstamps@yahoogroups.com
    > >Subject: Re: [noparse][[/noparse]basicstamps] Averaging numbers...
    > >Date: Thu, 27 Nov 2003 16:57:41 EST
    > >
    > >In a message dated 11/27/2003 4:44:23 PM Eastern Standard Time,
    > >fuel@b... writes:
    > >
    > >
    > > > That is such a stupidly simple answer, that I am embarrassed I
    asked the
    > > > question... Its 5:40 AM here, I shouldnt have gotten up so
    early.
    > > >
    > >No problem, Chris. Anything for a cobber.
    > >
    > >Sid
    > >
    > >
    > >[noparse][[/noparse]Non-text portions of this message have been removed]
    > >
    > >
    > >To UNSUBSCRIBE, just send mail to:
    > > basicstamps-unsubscribe@yahoogroups.com
    > >from the same email address that you subscribed. Text in the
    Subject and
    > >Body of the message will be ignored.
    > >
    > >
    > >Your use of Yahoo! Groups is subject to
    http://docs.yahoo.com/info/terms/
    > >
    > >
    >
    > _________________________________________________________________
    > online games and music with a high-speed Internet connection!
    Prices start
    > at less than $1 a day average. https://broadband.msn.com (Prices
    may vary
    > by service area.)
Sign In or Register to comment.