Shop OBEX P1 Docs P2 Docs Learn Events
USB progress — Parallax Forums

USB progress

ArchiverArchiver Posts: 46,084
edited 2002-10-02 21:56 in General Discussion
Hi All,

For those interested in implementing USB on a stamp, I have had success,
finally, in creating a GUI app that talks to an FTDI chip connected to a
Stamp.

The solution was very simple in the end.

Being a Mac user, the sample on my website is for the Mac. However, I'm
sure that the same principles apply to Visual Basic (Virtual Com ports,
etc).

The Program was written in RealBasic which is basically the Mac equivalent
of Visual Basic.

This is so cool! It now means that I can write supporting Applications for
the Mac (and Windows as RealBasic complies for either platform), for my
stamp based USB projects (EG - USB based datalogger...).

url: http://www.lennard.net.nz/ click on circuit ideas and then USB (under
buses).

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

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.

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2002-09-27 11:36
    Or, the other project I plan to start - sometime... an mp3 player with USB
    connection for downloading music... and using the STA013 or VT1001 mp3
    decoders...

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

    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: Ben <ben@l...>
    > Reply-To: basicstamps@yahoogroups.com
    > Date: Fri, 27 Sep 2002 22:28:25 +1200
    > To: Stamps <basicstamps@yahoogroups.com>
    > Subject: [noparse][[/noparse]basicstamps] USB progress
    >
    > Hi All,
    >
    > For those interested in implementing USB on a stamp, I have had success,
    > finally, in creating a GUI app that talks to an FTDI chip connected to a
    > Stamp.
    >
    > The solution was very simple in the end.
    >
    > Being a Mac user, the sample on my website is for the Mac. However, I'm
    > sure that the same principles apply to Visual Basic (Virtual Com ports,
    > etc).
    >
    > The Program was written in RealBasic which is basically the Mac equivalent
    > of Visual Basic.
    >
    > This is so cool! It now means that I can write supporting Applications for
    > the Mac (and Windows as RealBasic complies for either platform), for my
    > stamp based USB projects (EG - USB based datalogger...).
    >
    > url: http://www.lennard.net.nz/ click on circuit ideas and then USB (under
    > buses).
    >
    > --
    > http://www.lennard.net.nz/
    > Ben Lennard, NCEE, Dip EE
    >
    > 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.
    >
    >
    >
    >
    >
    > 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-09-28 01:09
    Hi Ben,
    This sounds very interesting. I've been looking for a way of communicating
    with a desktop that is faster than RS232. I see your using the serial
    command, but could you possibly use this usb chip with the Stamp to achieve
    faster baud rates, perhaps in a bit banging routine?
    Nick

    on 27/9/02 6:28 AM, Ben at ben@l... wrote:

    > Hi All,
    >
    > For those interested in implementing USB on a stamp, I have had success,
    > finally, in creating a GUI app that talks to an FTDI chip connected to a
    > Stamp.
    >
    > The solution was very simple in the end.
    >
    > Being a Mac user, the sample on my website is for the Mac. However, I'm
    > sure that the same principles apply to Visual Basic (Virtual Com ports,
    > etc).
    >
    > The Program was written in RealBasic which is basically the Mac equivalent
    > of Visual Basic.
    >
    > This is so cool! It now means that I can write supporting Applications for
    > the Mac (and Windows as RealBasic complies for either platform), for my
    > stamp based USB projects (EG - USB based datalogger...).
    >
    > url: http://www.lennard.net.nz/ click on circuit ideas and then USB (under
    > buses).
  • ArchiverArchiver Posts: 46,084
    edited 2002-09-28 01:36
    Hi Nick,

    The FTDI chip and the Extension actually ignore the baudrate settings of the
    serial comms tool in RealBasic or the Clarisworks Data Terminal.

    The Chip works at it's fastest rate by default, which is at least 1MByte/s.

    cheers,

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

    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: Nick Stedman <nickstedman@s...>
    > Reply-To: basicstamps@yahoogroups.com
    > Date: Fri, 27 Sep 2002 20:09:50 -0400
    > To: <basicstamps@yahoogroups.com>
    > Subject: Re: [noparse][[/noparse]basicstamps] USB progress
    >
    > Hi Ben,
    > This sounds very interesting. I've been looking for a way of communicating
    > with a desktop that is faster than RS232. I see your using the serial
    > command, but could you possibly use this usb chip with the Stamp to achieve
    > faster baud rates, perhaps in a bit banging routine?
    > Nick
    >
    > on 27/9/02 6:28 AM, Ben at ben@l... wrote:
    >
    >> Hi All,
    >>
    >> For those interested in implementing USB on a stamp, I have had success,
    >> finally, in creating a GUI app that talks to an FTDI chip connected to a
    >> Stamp.
    >>
    >> The solution was very simple in the end.
    >>
    >> Being a Mac user, the sample on my website is for the Mac. However, I'm
    >> sure that the same principles apply to Visual Basic (Virtual Com ports,
    >> etc).
    >>
    >> The Program was written in RealBasic which is basically the Mac equivalent
    >> of Visual Basic.
    >>
    >> This is so cool! It now means that I can write supporting Applications for
    >> the Mac (and Windows as RealBasic complies for either platform), for my
    >> stamp based USB projects (EG - USB based datalogger...).
    >>
    >> url: http://www.lennard.net.nz/ click on circuit ideas and then USB (under
    >> buses).
    >
    >
    > 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-10-02 21:56
    It would probably be cheaper to do what I did ; buy one of the many
    $100-$200 set top boxes which are based on AMD architecture and have
    integral USB, audio, etc. A stamp plus a an MP3 decoder and a USB driver
    is probably going to top that cost. (I just picked up a surplus set top
    box with a 6G hard drive, remote , serial, usb, vga, s-video and RCA
    outputs and a remote control + wireless keyboard for $99.)

    On Fri, 27 Sep 2002, Ben wrote:

    > Or, the other project I plan to start - sometime... an mp3 player with USB
    > connection for downloading music... and using the STA013 or VT1001 mp3
    > decoders...
    >
    > --
    > http://www.lennard.net.nz/
    > Ben Lennard, NCEE, Dip EE
    >
    > 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: Ben <ben@l...>
    > > Reply-To: basicstamps@yahoogroups.com
    > > Date: Fri, 27 Sep 2002 22:28:25 +1200
    > > To: Stamps <basicstamps@yahoogroups.com>
    > > Subject: [noparse][[/noparse]basicstamps] USB progress
    > >
    > > Hi All,
    > >
    > > For those interested in implementing USB on a stamp, I have had success,
    > > finally, in creating a GUI app that talks to an FTDI chip connected to a
    > > Stamp.
    > >
    > > The solution was very simple in the end.
    > >
    > > Being a Mac user, the sample on my website is for the Mac. However, I'm
    > > sure that the same principles apply to Visual Basic (Virtual Com ports,
    > > etc).
    > >
    > > The Program was written in RealBasic which is basically the Mac equivalent
    > > of Visual Basic.
    > >
    > > This is so cool! It now means that I can write supporting Applications for
    > > the Mac (and Windows as RealBasic complies for either platform), for my
    > > stamp based USB projects (EG - USB based datalogger...).
    > >
    > > url: http://www.lennard.net.nz/ click on circuit ideas and then USB (under
    > > buses).
    > >
    > > --
    > > http://www.lennard.net.nz/
    > > Ben Lennard, NCEE, Dip EE
    > >
    > > 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.
    > >
    > >
    > >
    > >
    > >
    > > 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/
    >
    >
    >

    Sean T. Lamont, CTO / Chief NetNerd, Abstract Software, Inc. (ServNet)
    Seattle - Bellingham - Vancouver - Portland - Everett - Tacoma - Bremerton
    email: lamont@a... WWW: http://www.serv.net
    "Do not fear mistakes, There Are None" - Miles Davis
Sign In or Register to comment.