Shop OBEX P1 Docs P2 Docs Learn Events
Basic stamp programing — Parallax Forums

Basic stamp programing

ArchiverArchiver Posts: 46,084
edited 2003-08-18 17:07 in General Discussion
Hi, I'm making an automatic paper cutter and will be using a basic
stamp to control it. I was wondering if I could save $50 by just
putting a serial port on the paper cutter to program it instead of
getting the $50 programming board? Or does the programming board
have special circuits required to program it?

Thanks

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-08-11 19:36
    You could program a Basic Stamp if it was glued to flypaper. All you need is
    power to the Stamp and a serial cable.


    Sid Weaver
    W4EKQ
    Port Richey, FL


    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2003-08-11 20:12
    There's nothing magic about the "programming" boards we sell ... except
    that there are a couple of caps in the serial connection and two the
    pins are tied together so the editor can do a loopback test. We have
    schematics for our various demo boards; any will give the correct
    connections to build your own serial interface.

    -- Jon Williams
    -- Parallax


    Original Message
    From: ch2surf [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=aJILJY8_t-gbSEL3CWmY4sV8gSGmw2NbVixhtaoTAFwVBx-oxFK8bTpvm4ouz8Ntpeabb2wb-C4z7xmW6ha8Fd7p2fI]sachacrompton@v...[/url
    Sent: Monday, August 11, 2003 1:12 PM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] Basic stamp programing


    Hi, I'm making an automatic paper cutter and will be using a basic
    stamp to control it. I was wondering if I could save $50 by just
    putting a serial port on the paper cutter to program it instead of
    getting the $50 programming board? Or does the programming board
    have special circuits required to program it?

    Thanks



    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/




    This message has been scanned by WebShield. Please report SPAM to
    abuse@p....
  • ArchiverArchiver Posts: 46,084
    edited 2003-08-12 01:01
    You might also want to consider the OEM Basic Stamp 2, which has the DB9
    serial connector and a serious 5V regulator built onto the board along with
    the core BS2 components. It costs about the same as the standard BS2-IC,
    and the components are all through-hole which makes it easier form many of
    us to repair it or integrate it into other equipment.

    Randy

    www.glitchbuster.com


    > Hi, I'm making an automatic paper cutter and will be using a basic
    > stamp to control it. I was wondering if I could save $50 by just
    > putting a serial port on the paper cutter to program it instead of
    > getting the $50 programming board? Or does the programming board
    > have special circuits required to program it?
    >
    > Thanks
  • ArchiverArchiver Posts: 46,084
    edited 2003-08-12 01:15
    I am getting the BASIC Stamp 2p40, the others dont have enough I/O
    pins for what I need.

    --- In basicstamps@yahoogroups.com, "Randy Jones" <randyjones@w...>
    wrote:
    > You might also want to consider the OEM Basic Stamp 2, which has
    the DB9
    > serial connector and a serious 5V regulator built onto the board
    along with
    > the core BS2 components. It costs about the same as the standard
    BS2-IC,
    > and the components are all through-hole which makes it easier form
    many of
    > us to repair it or integrate it into other equipment.
    >
    > Randy
    >
    > www.glitchbuster.com
  • ArchiverArchiver Posts: 46,084
    edited 2003-08-12 02:59
    In a message dated 8/11/2003 5:16:13 PM Pacific Daylight Time,
    sachacrompton@v... writes:

    > I am getting the BASIC Stamp 2p40, the others dont have enough I/O
    > pins for what I need.

    More pins are indeed nice but not mandantory........If timing is not
    critical, using three stamp pins you can have those 3 pins control 8, 16, 24,
    32, 40
    or more output pins.

    There is s shiftout command and a 7hHC595 serial shift register, and there is
    stamp code already written on the web sight. You can do the same with a
    74ls299 which can be used to expand input AND output ports.......use shift in
    and
    shift out..


    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2003-08-12 14:14
    I have a programming board, but most of my programming is done in-circuit.
    I always include a 4 pin header aligned with pins 1-4, on all my boards, this
    makes changes much easier.
    For details see:

    http://www.qsl.net/kf4haz/cables/stamps/

    From: "ch2surf" <sachacrompton@

    > Hi, I'm making an automatic paper cutter and will be using a basic
    > stamp to control it. I was wondering if I could save $50 by just
    > putting a serial port on the paper cutter to program it instead of
    > getting the $50 programming board? Or does the programming board
    > have special circuits required to program it?
    >
    > Thanks
  • ArchiverArchiver Posts: 46,084
    edited 2003-08-12 15:43
    an alternative is to use a board which has a serial port, a programming
    port, 8 high current outputs to control valves, motors, etc. and 7
    additional inputs for sensors, switches, etc. along with LED's to show the
    status of the outputs to make programming and troubleshooting easier. Check
    out http://www.geocities.com/jimforkin2003/
    jim

    Original Message
    From: ch2surf [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=m2j77xs3SsyY_9LojIIMCQ3zzLSmyUUXIp57dq4X_5CLDcidBzMunrdFd-aHYMxzRomicCgLvOSi1VgkFJdsjg]sachacrompton@v...[/url
    Sent: Monday, August 11, 2003 2:12 PM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] Basic stamp programing


    Hi, I'm making an automatic paper cutter and will be using a basic
    stamp to control it. I was wondering if I could save $50 by just
    putting a serial port on the paper cutter to program it instead of
    getting the $50 programming board? Or does the programming board
    have special circuits required to program it?

    Thanks



    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-08-12 17:16
    If I/O pins are the only reason you need a p40, consider 74HC595's to expand
    I/O. Much cheaper. If you need the speed of a p40, that is a different
    matter.

    Jonathan

    www.madlabs.info

    Original Message
    From: "ch2surf" <sachacrompton@v...>
    To: <basicstamps@yahoogroups.com>
    Sent: Monday, August 11, 2003 5:15 PM
    Subject: [noparse][[/noparse]basicstamps] Re: Basic stamp programing


    > I am getting the BASIC Stamp 2p40, the others dont have enough I/O
    > pins for what I need.
    >
    > --- In basicstamps@yahoogroups.com, "Randy Jones" <randyjones@w...>
    > wrote:
    > > You might also want to consider the OEM Basic Stamp 2, which has
    > the DB9
    > > serial connector and a serious 5V regulator built onto the board
    > along with
    > > the core BS2 components. It costs about the same as the standard
    > BS2-IC,
    > > and the components are all through-hole which makes it easier form
    > many of
    > > us to repair it or integrate it into other equipment.
    > >
    > > Randy
    > >
    > > www.glitchbuster.com
    >
    >
    >
    > 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-08-16 16:01
    Note that the two capacitors go to the 'ATN' pin,
    (one in series, one in parallel -- see the
    parallax schematics)
    which is used to reset the BS2 so it can be
    programmed. You can omit them, as long as you
    have control of the 'DTR' line (this is the
    232 pin 4, which goes to the 'ATN' pin.)

    Then in your circuit you'll only need to
    add the 4 pins mentioned earlier
    (GND, TX, RX, DTR) AND a 'loopback'
    wire on the DB-9 adapter, to program the
    BS2 in-circuit.

    If you are using the Microsoft COMM control,
    set DTREnable to FALSE so it won't hold the BS2
    in 'reset'.

    --- In basicstamps@yahoogroups.com, "ch2surf" <sachacrompton@v...>
    wrote:
    > Hi, I'm making an automatic paper cutter and will be using a basic
    > stamp to control it. I was wondering if I could save $50 by just
    > putting a serial port on the paper cutter to program it instead of
    > getting the $50 programming board? Or does the programming board
    > have special circuits required to program it?
    >
    > Thanks
  • ArchiverArchiver Posts: 46,084
    edited 2003-08-18 16:41
    What exactly does each of the two caps do on ATN pin?
    I know they've been described by several as "for communicating with
    PC". But what exactly do the 2 caps do? And what happens if the
    series cap is shorted or parallel cap is opened?



    --- In basicstamps@yahoogroups.com, "Allan Lane" <allan.lane@h...>
    wrote:
    > Note that the two capacitors go to the 'ATN' pin,
    > (one in series, one in parallel -- see the
    > parallax schematics)
    > which is used to reset the BS2 so it can be
    > programmed. You can omit them, as long as you
    > have control of the 'DTR' line (this is the
    > 232 pin 4, which goes to the 'ATN' pin.)
    >
    > Then in your circuit you'll only need to
    > add the 4 pins mentioned earlier
    > (GND, TX, RX, DTR) AND a 'loopback'
    > wire on the DB-9 adapter, to program the
    > BS2 in-circuit.
    >
    > If you are using the Microsoft COMM control,
    > set DTREnable to FALSE so it won't hold the BS2
    > in 'reset'.
    >
    > --- In basicstamps@yahoogroups.com, "ch2surf" <sachacrompton@v...>
    > wrote:
    > > Hi, I'm making an automatic paper cutter and will be using a
    basic
    > > stamp to control it. I was wondering if I could save $50 by just
    > > putting a serial port on the paper cutter to program it instead
    of
    > > getting the $50 programming board? Or does the programming board
    > > have special circuits required to program it?
    > >
    > > Thanks
  • ArchiverArchiver Posts: 46,084
    edited 2003-08-18 16:47
    In a message dated 8/18/2003 11:44:10 AM Eastern Standard Time,
    yellowniter@y... writes:


    > What exactly does each of the two caps do on ATN pin?
    > I know they've been described by several as "for communicating with
    > PC". But what exactly do the 2 caps do? And what happens if the
    > series cap is shorted or parallel cap is opened?
    >
    >

    One is a coupling capacitor, the other a bypass cap. If the coupling cap is
    bad, no serial comm. If the bypass is bad you might get erratic operation due
    to noise.

    Sid


    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2003-08-18 17:07
    The purpose of those caps is to allow the Stamp to run regardless of the
    level on that line (a series cap will block DC, but allow a transition
    to pass -- this is how the Editor resets the Stamp for reprogramming).

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


    Original Message
    From: yellowniter [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=MoALq4Sn9fAFPVqX3yd6oOTgdXpZA-DShqYq18RIWGg-KXYM61D4cWx_cnh38lLpagi89hTvK_G5miKHhuPa3g]yellowniter@y...[/url
    Sent: Monday, August 18, 2003 10:41 AM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] Re: Basic stamp programing


    What exactly does each of the two caps do on ATN pin?
    I know they've been described by several as "for communicating with
    PC". But what exactly do the 2 caps do? And what happens if the
    series cap is shorted or parallel cap is opened?



    --- In basicstamps@yahoogroups.com, "Allan Lane" <allan.lane@h...>
    wrote:
    > Note that the two capacitors go to the 'ATN' pin,
    > (one in series, one in parallel -- see the
    > parallax schematics)
    > which is used to reset the BS2 so it can be
    > programmed. You can omit them, as long as you
    > have control of the 'DTR' line (this is the
    > 232 pin 4, which goes to the 'ATN' pin.)
    >
    > Then in your circuit you'll only need to
    > add the 4 pins mentioned earlier
    > (GND, TX, RX, DTR) AND a 'loopback'
    > wire on the DB-9 adapter, to program the
    > BS2 in-circuit.
    >
    > If you are using the Microsoft COMM control,
    > set DTREnable to FALSE so it won't hold the BS2
    > in 'reset'.
    >
    > --- In basicstamps@yahoogroups.com, "ch2surf" <sachacrompton@v...>
    > wrote:
    > > Hi, I'm making an automatic paper cutter and will be using a
    basic
    > > stamp to control it. I was wondering if I could save $50 by just
    > > putting a serial port on the paper cutter to program it instead
    of
    > > getting the $50 programming board? Or does the programming board
    > > have special circuits required to program it?
    > >
    > > Thanks


    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/




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