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

parallel-to-serial conveter

ArchiverArchiver Posts: 46,084
edited 2004-04-13 19:06 in General Discussion
I am using the Basic stamp Basic Stamp 2p40 module. I have 8 bit
parallel and would like to convert them to serial (CE, CLK, DATA) to
drive the LED display, how could I do that?

Thanks,

Lee

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2004-04-13 15:36
    SHIFTOUT will handle the clock and [noparse][[/noparse]sychronous] data pin; you can use
    HIGH and LOW to handle CE.

    -- Jon Williams
    -- Applications Engineer, Parallax
    -- Dallas Office


    Original Message
    From: huy_le123 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=vnEwYidVU95REhVfxtrISP_BstAtNQtX1T36ai-A-9PXPlmyMDXbFqzCMrzqYdWpbBcxTr_6qmsdcrHs3Q]huy_le123@y...[/url
    Sent: Tuesday, April 13, 2004 2:07 AM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] parallel-to-serial conveter



    I am using the Basic stamp Basic Stamp 2p40 module. I have 8 bit
    parallel and would like to convert them to serial (CE, CLK, DATA) to
    drive the LED display, how could I do that?

    Thanks,

    Lee
  • ArchiverArchiver Posts: 46,084
    edited 2004-04-13 18:36
    Can the basic stamp Bs40 generate the clock upto 500Khz? If so, how can i do
    that using the SHIFTOUT?

    Thanks for the helps,

    Lee

    --- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...> wrote:
    > SHIFTOUT will handle the clock and [noparse][[/noparse]sychronous] data pin; you can use
    > HIGH and LOW to handle CE.
    >
    > -- Jon Williams
    > -- Applications Engineer, Parallax
    > -- Dallas Office
    >
    >
    >
    Original Message
    > From: huy_le123 [noparse][[/noparse]mailto:huy_le123@y...]
    > Sent: Tuesday, April 13, 2004 2:07 AM
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] parallel-to-serial conveter
    >
    >
    >
    > I am using the Basic stamp Basic Stamp 2p40 module. I have 8 bit
    > parallel and would like to convert them to serial (CE, CLK, DATA) to
    > drive the LED display, how could I do that?
    >
    > Thanks,
    >
    > Lee
  • ArchiverArchiver Posts: 46,084
    edited 2004-04-13 19:06
    No, you cannot generate a 500 kHz signal with a BS2p. And SHIFTOUT on
    the BS2p runs at about 42 kbits/second. If you really need to send a
    synchonous stream at 500 kHz, I think you're going to have to do it with
    assembly language on a very fast micro (like the SX [noparse][[/noparse]NOT the BS2sx]).

    -- Jon Williams
    -- Applications Engineer, Parallax
    -- Dallas Office


    Original Message
    From: huy_le123 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=B5Y_gbqBIGLFInqmmCnaz338Gld-cmCm4aKUhmBTL2TTF3kPCu2NQQtm_7PzyfHUxxnAQOO2YIVEbA]huy_le123@y...[/url
    Sent: Tuesday, April 13, 2004 12:37 PM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] Re: parallel-to-serial conveter



    Can the basic stamp Bs40 generate the clock upto 500Khz? If so, how can
    i do that using the SHIFTOUT?

    Thanks for the helps,

    Lee

    --- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
    wrote:
    > SHIFTOUT will handle the clock and [noparse][[/noparse]sychronous] data pin; you can use
    > HIGH and LOW to handle CE.
    >
    > -- Jon Williams
    > -- Applications Engineer, Parallax
    > -- Dallas Office
    >
    >
    >
    Original Message
    > From: huy_le123 [noparse][[/noparse]mailto:huy_le123@y...]
    > Sent: Tuesday, April 13, 2004 2:07 AM
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] parallel-to-serial conveter
    >
    >
    >
    > I am using the Basic stamp Basic Stamp 2p40 module. I have 8 bit
    > parallel and would like to convert them to serial (CE, CLK, DATA) to
    > drive the LED display, how could I do that?
    >
    > Thanks,
    >
    > Lee



    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.

    Yahoo! Groups Links







    This message has been scanned by WebShield. Please report SPAM to
    abuse@p....
Sign In or Register to comment.