Shop OBEX P1 Docs P2 Docs Learn Events
Help starting with Basic Stamp Rev D — Parallax Forums

Help starting with Basic Stamp Rev D

ArchiverArchiver Posts: 46,084
edited 2001-10-04 20:32 in General Discussion
Your connections are incorrect as described. The Rev D connects to
the programming cable via three pins adjacent to the 8-pin DIP 93LC56
chip (EEPROM). The pins have the symbol >> at what I will refer to as
their left side. From the left, connect GND (parallel pin 25), then
BUSY (11) in the middle, then DATA (2) on the right.

I'd suggest the following as a first program to see if all the gears
are meshing, clutch is engaged, etc.:

DEBUG "ABC123"
here:
GOTO here

Also, FWIW, the HIGH instruction make the pin an output as well as a
high logic level, so the OUTPUT instruction is not needed as used in
your program. In case it's not evident to you, the battery must be
connected when downloading the program.

Regards,

Steve

On 4 Oct 01 at 18:39, saeok@h... wrote:

>
> Help! I've dug out an old Stamp Rev D a friend gave me some time
> ago. I have no doccumentation or software for it! I have made a
> cable using this information:
>
> Parallel Stamp
> Port
>
> Term 25 (GRD) Term 2 (GRD)
> Term 11 (BUSY) Term 3 (PCO)
> Term 2 (Data_0) Term 4 (PCI)
>
> and downloaded the DOS stamp editor from Parallax. I've written a
> basic program to turn on an LED thereby testing the output.
>
> OUTPUT 0
> HIGH 0
> ...

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2001-10-04 19:39
    Help! I've dug out an old Stamp Rev D a friend gave me some time
    ago. I have no doccumentation or software for it! I have made a
    cable using this information:

    Parallel Stamp
    Port

    Term 25 (GRD) Term 2 (GRD)
    Term 11 (BUSY) Term 3 (PCO)
    Term 2 (Data_0) Term 4 (PCI)

    and downloaded the DOS stamp editor from Parallax. I've written a
    basic program to turn on an LED thereby testing the output.

    OUTPUT 0
    HIGH 0

    with the led going to a 470 Ohm resistor to ground.

    I hit ALT-R in the editor and it says it cant' find the hardware.
    When I connect the battery it appears to download to the controller.
    However my LED does not light up. I am sure the LED is working and
    oriented properly.

    Testing with a probe there is no current comming from the PIC16C56.
    I'm guessing either I've missed something simple in my procedure, or
    my stamp doesn't work. Any ideas would be appreciated.

    Regards,

    John Glenn
  • ArchiverArchiver Posts: 46,084
    edited 2001-10-04 20:21
    If you have no loop, the Stamp does what you asked it to, hits the end of
    the code, then goes to sleep. The LED is probably coming on, but its so fast
    you can't see it. Try this:

    LOW 0

    Loop:

    TOGGLE 0

    PAUSE 500

    GOTO Loop

    This should turn the LED off / on about every 1/2 second

    Original Message

    > Help! I've dug out an old Stamp Rev D a friend gave me some time
    > ago. I have no doccumentation or software for it! I have made a
    > cable using this information:

    > Testing with a probe there is no current comming from the PIC16C56.
    > I'm guessing either I've missed something simple in my procedure, or
    > my stamp doesn't work. Any ideas would be appreciated.
  • ArchiverArchiver Posts: 46,084
    edited 2001-10-04 20:32
    John,

    You've gotten the documentation from
    http://www.parallaxinc.com/html_files/downloads/download_documentation.htm?

    To your problem, you don't want your program to just trail off like that.
    Consider the commands END, NAP, SLEEP, or PAUSE.

    Or just an infinite loop, as in,

    OUTPUT 0
    HIGH 0
    loop:
    goto loop


    Regards,
    Daniel

    >
    Original Message
    > From: saeok@h... [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=ZWMEQdF5L5Ef8qpZ3Y1vNB4YjnMhtARd-2tx5mnuq6AqIzyb7o6lQggfezVlJ3aze4PO6cS8RPlJASc]saeok@h...[/url
    > Sent: Thursday, 04 October 2001 14:40
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] Help starting with Basic Stamp Rev D
    >
    >
    >
    > Help! I've dug out an old Stamp Rev D a friend gave me some time
    > ago. I have no doccumentation or software for it! I have made a
    > cable using this information:
    >
    > Parallel Stamp
    > Port
    >
    > Term 25 (GRD) Term 2 (GRD)
    > Term 11 (BUSY) Term 3 (PCO)
    > Term 2 (Data_0) Term 4 (PCI)
    >
    > and downloaded the DOS stamp editor from Parallax. I've written a
    > basic program to turn on an LED thereby testing the output.
    >
    > OUTPUT 0
    > HIGH 0
    >
    > with the led going to a 470 Ohm resistor to ground.
    >
    > I hit ALT-R in the editor and it says it cant' find the hardware.
    > When I connect the battery it appears to download to the controller.
    > However my LED does not light up. I am sure the LED is working and
    > oriented properly.
    >
    > Testing with a probe there is no current comming from the PIC16C56.
    > I'm guessing either I've missed something simple in my procedure, or
    > my stamp doesn't work. Any ideas would be appreciated.
    >
    > Regards,
    >
    > John Glenn
    >
    >
    > 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/
    >


    _________________________________________________________
    Do You Yahoo!?
    Get your free @yahoo.com address at http://mail.yahoo.com
Sign In or Register to comment.