Shop OBEX P1 Docs P2 Docs Learn Events
bs2 USB-datalogger — Parallax Forums

bs2 USB-datalogger

ArchiverArchiver Posts: 46,084
edited 2003-05-16 13:36 in General Discussion
Hi,

Working on a project to make a datalogger from a BS2 i'am reading a
lot of messages on this group. So far i spend a lot of time in
finding out how the stamp works and also the DS1302(clock) and (extra)
eeprom, ADC's, etc,etc.... also programming in VB and find out that
there are some difficulties (is this good English?) with the serial
protocol (i.e. i read data exchange with visual basic from Jon
Williams). But i do have some questions i hope somebody wil answer :-)

-Is it possible to program VB6 to communicate true USB with the BS2?
-Is there a example programm off how to program the BS2 to be a
(simple) datalogger or at least, a start how to..?

thanks in advance

Willem

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-05-13 14:56
    I'm not sure what you mean by 'true USB'. The BS2 does
    not do USB -- it does serial. The KeySpan 19W
    USB to 232 adapter works really well under the VB6
    'COMM' control (232 control). This would let you
    connect a BS2 to the USB channel on your PC, using
    232 protocols.

    For your second question, I'm sure the Parallax
    'Nuts and Volts' area has something on datalogging.


    --- In basicstamps@yahoogroups.com, "wrep" <basic@P...> wrote:
    > Hi,
    >
    > Working on a project to make a datalogger from a BS2 i'am reading a
    > lot of messages on this group. So far i spend a lot of time in
    > finding out how the stamp works and also the DS1302(clock) and
    (extra)
    > eeprom, ADC's, etc,etc.... also programming in VB and find out that
    > there are some difficulties (is this good English?) with the serial
    > protocol (i.e. i read data exchange with visual basic from Jon
    > Williams). But i do have some questions i hope somebody wil
    answer :-)
    >
    > -Is it possible to program VB6 to communicate true USB with the BS2?
    > -Is there a example programm off how to program the BS2 to be a
    > (simple) datalogger or at least, a start how to..?
    >
    > thanks in advance
    >
    > Willem
  • ArchiverArchiver Posts: 46,084
    edited 2003-05-13 17:10
    >-Is there a example programm off how to program the BS2 to be a
    >(simple) datalogger or at least, a start how to..?

    Scott Edwards still has the manual for the DCPB (Data Collection
    Proto Board) on line for download:
    http://www.seetron.com/pdf/dcpb_mnl.pdf

    It is an excellent reference to get you started.

    -- Tracy
  • ArchiverArchiver Posts: 46,084
    edited 2003-05-16 13:36
    Hi There,

    USB can be implemented with a stamp easily.
    Also, datalogging is easy as well.

    My site has some pointers that will help get you started:

    http://www.lennard.net.nz/lennardelectronics/index.html

    Click on circuit ideas, and then go to the USB and datalogging
    sections.

    Implementing "True USB" will be impossible, due to the
    complexity of the protocol, etc. This is easily overcome by using
    a chip from FTDI (details are on my website).

    cheers,

    Ben,
    Wellington, New Zealand.

    --- In basicstamps@yahoogroups.com, "wrep" <basic@P...>
    wrote:
    > Hi,
    >
    > Working on a project to make a datalogger from a BS2 i'am
    reading a
    > lot of messages on this group. So far i spend a lot of time in
    > finding out how the stamp works and also the DS1302(clock)
    and (extra)
    > eeprom, ADC's, etc,etc.... also programming in VB and find out
    that
    > there are some difficulties (is this good English?) with the
    serial
    > protocol (i.e. i read data exchange with visual basic from Jon
    > Williams). But i do have some questions i hope somebody wil
    answer :-)
    >
    > -Is it possible to program VB6 to communicate true USB with
    the BS2?
    > -Is there a example programm off how to program the BS2 to
    be a
    > (simple) datalogger or at least, a start how to..?
    >
    > thanks in advance
    >
    > Willem
Sign In or Register to comment.