Shop OBEX P1 Docs P2 Docs Learn Events
HELP! BS@ will not identify! what to do?!? — Parallax Forums

HELP! BS@ will not identify! what to do?!?

troikatroika Posts: 14
edited 2006-09-08 14:30 in BASIC Stamp
Hi, have a pc laptop running xp, have BS2, have breadboard and serial cable connected to pins 1 thru 4 with correct connections Rx, Tx, Dtr, Gnd and Dsr + Rts shorted. I have tried 5v Reg going into VDD and 6 and 7.5v going through VIN.

The Identify say loop back YES and Echo YES, but no device type. When i unplug it and identify i get Loop YES and echo NO.

Whats happening. whats wrong here?
please help

Comments

  • Bruce BatesBruce Bates Posts: 3,045
    edited 2006-09-07 13:23
    troika -

    Have you checked your source of power for the proper voltage?

    Regards,

    Bruce Bates

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    <!--StartFragment -->
  • troikatroika Posts: 14
    edited 2006-09-07 13:27
    yes is have, as i said i have tried using the stamp to regulate and also an external regulator, both have been checked with a multimeter
  • allanlane5allanlane5 Posts: 3,815
    edited 2006-09-07 13:43
    Is GND connected to Vss? Are you sure the BS2 is not upside down?
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-09-07 13:58
    Since you have a laptop then it could be one of two likely possibilities...One is that you need to disable the FIFO buffers if you're using an on-board serial port.· The other is that it sounds like you have made your own cable (and possibly board), so do you have another cable and/or board to test everything on?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
  • troikatroika Posts: 14
    edited 2006-09-07 14:43
    I have made my own cable, and re-made it.
    im very sure its ok,

    the board is just a standard breadboard and the stamp sits in a little adapter (purely to save the pins, no electronic gubbins are installed)

    What are FIFO buffers and how do i disable them?
    is there a way of checking if the stamp is f*&%ed?

    thanks

    troika
  • allanlane5allanlane5 Posts: 3,815
    edited 2006-09-07 14:55
    I'm sorry, but "I made my own cable, and I'm sure it's OK" is insufficient detail for us to verify if it IS ok. A better sentence would be "Yes, my cable is a straight through cable, pin 1 through 5 to pin 1 through 5, with DSR tied to RTS at the PC end".

    And the FIFO buffers is a property of your serial port on your PC. Click Control Panel, System, Hardware Tab, Device Manager button, Ports. You should have a serial port (my laptop does not). Set any "FIFO" buffer size to zero, or click a box that disables FIFO buffering.

    If you're using a USB adapter -- well, there's lots of USB adapters that don't properly implement the "handshake" signals. The FTDI one sold by Parallax works well, as does the Keyspan one. Belkin's have been known not to work, and most adapters marked "PDA" will NOT work.
  • troikatroika Posts: 14
    edited 2006-09-07 15:34
    Sorry for my innacuracies,

    thanks

    below is the link from the stamp to serial pins:
    pin 1 = rx
    pin 2 = tx
    pin 3 = dtr
    pin 4 = GND (both the ground pin on the serial plug AND the GND of the chassis of the serial plug

    dsr and rts are paired , i am not using usb

    I have disabled FIFO buffers and this has not helped
  • Bruce BatesBruce Bates Posts: 3,045
    edited 2006-09-07 16:10
    troika -

    Now we have the Stamp to DB-9 connector wiring. How is the serial cable wired (pin 1 on one side to pin ? on the other side, etc) and are you using a USB-to-Serial converter, or do you have a serial port on your PC?

    Regards,

    Bruce Bates

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    <!--StartFragment -->
  • troikatroika Posts: 14
    edited 2006-09-07 16:14
    as stated i am not using usb.
    whats db-9?

    below are the pin no.s
    serial to stamp
    2 - 1
    3 - 2
    4 - 3
    5 - 4
  • Beau SchwabeBeau Schwabe Posts: 6,559
    edited 2006-09-07 17:01
    Do you have pins 6 and 7 connected together on the DB9 connector?

    DB9 is the name of the 9-pin connector you are using... along with using pins 2,3,4,5, you also need to connect pins 6 and 7 together.

    See link below:
    www.parallax.com/dl/docs/prod/stamps/BS2pDemoCschem.pdf

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Beau Schwabe

    IC Layout Engineer
    Parallax, Inc.
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-09-07 19:43
    What is the voltage on pin 3 of the Stamp Module?· I wonder if your DTR line is being held high, since you don't mention having the capacitors we use in our boards.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
  • troikatroika Posts: 14
    edited 2006-09-08 11:42
    power out on pin 3 is 5v
  • troikatroika Posts: 14
    edited 2006-09-08 12:22
    wrong, sorry, power out at pin 3 on stamp bs2 is -8.45v this is when i have the multimeter black node on the unreg 7.5v input GND and the RED on pin 3.

    The reverse reads positive.

    Post Edited (troika) : 9/8/2006 12:26:03 PM GMT
  • troikatroika Posts: 14
    edited 2006-09-08 12:32
    I have now switched to a mac running osX, and am using a brand new stamp, and the usb to serial adaptor.

    I seem to still have the same problem,
    i get the message:

    Basic stamp 2 detected but not responding. Check Power.
    Which i have done

    Post Edited (troika) : 9/8/2006 12:44:58 PM GMT
  • Bruce BatesBruce Bates Posts: 3,045
    edited 2006-09-08 13:13
    troika -

    Is you home-made serial cable still being used in this configuration? If so, that's what I'd suspect first. Second I'd spend my time examining the power supply closer.

    Are you feeding power to the Stamp using the VIN pin, or the VDD pin?

    Here are the limits for each of those Stamp pins:

    VDD - REGULATED input voltage 4.5 => 5.5 VDC

    VIN - Regulated or unregulated input voltage 5.5 => 12 VDC (7.5 VDC typical)

    Regards,

    Bruce Bates

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    <!--StartFragment -->
  • troikatroika Posts: 14
    edited 2006-09-08 14:26
    IT WORKS!!!!!!

    dodgy breadboard and therefore dodgy power.

    tyhankyou so much for all you help everyone
    youre great
    now i enter the world of stamps!!
    look at that LED go!!!!
  • Bruce BatesBruce Bates Posts: 3,045
    edited 2006-09-08 14:30
    troika -

    OH how I love it when our respective crystal balls work and predict correctly smile.gif

    Regards,

    Bruce Bates

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    <!--StartFragment -->
Sign In or Register to comment.