Shop OBEX P1 Docs P2 Docs Learn Events
Basic Stamp 1 Problem — Parallax Forums

Basic Stamp 1 Problem

thanasis_leothanasis_leo Posts: 23
edited 2009-01-13 15:04 in BASIC Stamp
I have bought a Basic Stamp 1 Starter Kit.

1.I connected the Basic Stamp to the Motherboard that it came with.
2.I installed the Basic Stamp Editor to the computer
3.I connected the motherboard with serial port to the computer.
4.I connected the motherboard with a 9 Volt battery.
5.I selected Run->Identify
6.Deselected the "Ignore BS1 Modules unless download BS1 source code"
7.The port that it was selected it was the correct port.

And the result is that in Device Type there is nothing written, in loopback it says Yes and in Echo it says No.

I tried to connect only the BS1 module with it's serial adapter but I had the same results.

The same results I had when I tried it to another computer.

Do you know what's wrong?

I think the BS1 module is defective.

Post Edited (thanasis_leo) : 12/10/2008 5:23:03 PM GMT
844 x 558 - 64K
1024 x 768 - 116K
1024 x 768 - 114K
1024 x 768 - 106K
«1

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2008-12-10 16:19
    First make sure that you have both the Stamp 1 module and the serial adapter plugged in correctly. The end of the BS1 module with the yellow capacitor should be plugged into the end of the socket with Vin/Vss marked.. Similarly, there's a mark on the serial adapter and the pins on the motherboard (">>"). Make sure those match up.

    You might try another serial cable. "Echo" should be Yes if the serial connection to the serial adapter is intact.
  • ercoerco Posts: 20,256
    edited 2008-12-10 16:22
    That's not necessarily a problem. I'm using the Stamp 1 Project board with PBasic Editor v2.2.5 and a serial cable connection. When I use the editor's ID function, I get no loopback and no echo. Yet it programs like a champ, no problems at all. Screenshot attached. Have you actually·tried to program·yours yet?


    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ·"If you build it, they will come."

    Post Edited (erco) : 12/10/2008 4:51:52 PM GMT
    750 x 350 - 53K
  • thanasis_leothanasis_leo Posts: 23
    edited 2008-12-10 17:16
    Yes but here what do I get :
    844 x 558 - 64K
  • thanasis_leothanasis_leo Posts: 23
    edited 2008-12-10 17:19
    All the connection with the PC I have mentioned before ,they have been made with the serial port of the development board.

    When I use it with the serial adapter and the customized cable ,here is what I get:
    888 x 548 - 64K
    1024 x 768 - 100K
  • thanasis_leothanasis_leo Posts: 23
    edited 2008-12-10 17:22
    Should I use a serial to USB adapter ?
  • Mike GreenMike Green Posts: 23,101
    edited 2008-12-10 17:27
    I notice that you are using what seems to be a homemade serial cable. Make sure the connections are correct.
    The two most common causes of "failure to find a Stamp" are:

    1) Lack of power or inadequate power to the Stamp
    2) Lack of correct serial connection to the Stamp.
    ....When you use a USB to serial adapter, you have to have the correct driver.
  • thanasis_leothanasis_leo Posts: 23
    edited 2008-12-10 17:42
    As you can see from my first post I use a 9 VDC regulator .
    Shouldn't it have worked with the Development board's serial adapter ?

    Post Edited (thanasis_leo) : 12/10/2008 5:49:22 PM GMT
  • Mike GreenMike Green Posts: 23,101
    edited 2008-12-10 17:51
    There are all sorts of 9V regulators. Some of them will only supply 30 or 40mA which should be enough, but an LED can take 10mA.

    The Development Board's BS1 Serial Adapter should work fine. I was commenting about the serial cable attached to it. Make sure that's correct.
  • ercoerco Posts: 20,256
    edited 2008-12-10 18:35
    Are you getting the same results whether you use the mobo's serial connector or the discrete serial adapter with the 3-pin header? If so, I agree with Mike, suspect your homemade cable. Stick with the stock serial cable that came in your starter kit.

    Eliminate as many variables as you can: use a 9 volt battery, stock serial cable, direct connection to serial connector, and try to run a simple program.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ·"If you build it, they will come."
  • thanasis_leothanasis_leo Posts: 23
    edited 2008-12-10 21:07
    Well, let's put things in order.

    The starter kit came with a BS1 module , a BS Super Carrier, a serial cable and BS1 Serial adapter.

    In my first post ,you can see that I am trying to connect the BS1 to the computer with the Super Carrier and the serial cable that it came with the package(is this an ordinary serial cable or it is a custom made for BS1 serial Adapter?)
    I tryed to connected to another computer with a different cable but I had the same results.

    After, I tried to connect the BS1 module with the Serial adapter and a Customized cable . The only result was Yes in Echo. Nothing else.

    I tried to connect the BS1 module with the Serial adapter in the Super Carrier and the Serial cable that it came with and the result is No both on Loopback and Echo.
  • Mike GreenMike Green Posts: 23,101
    edited 2008-12-10 21:18
    The serial cable that comes with the kit is a standard serial cable.

    The DB9 connector that is part of the Super Carrier Board is not used for the BS1. It is for use with the BS2 series modules only. It's not connected to the BS1 socket.

    Unless there is a problem with the 9V AC adapter, I don't see any particular reason why your setup should not work.

    I suggest you call or e-mail directly to Parallax's Technical Support department. They may have some other suggestions for you to try or may just replace your kit.
  • ercoerco Posts: 20,256
    edited 2008-12-10 21:20
    What happens when you try to run a program on it? Tiny sample program attached. Open in your editor and click on the RUN icon to see if it loads & runs.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ·"If you build it, they will come."
  • thanasis_leothanasis_leo Posts: 23
    edited 2008-12-11 00:52
    Mike Green said...


    The DB9 connector that is part of the Super Carrier Board is not used for the BS1. It is for use with the BS2 series modules only. It's not connected to the BS1 socket.


    I dont think you are right.
    Because as you can see from the picture , th PCO,PCI and VDD are connected with the serial port.So the serial port is connected with the BS1 socket.

    Ok, let's say that you are right. For which reason does the super carrier come with the BS1 module ?


    Can anybody here please show me how to do the correct connection with the cables on the wire?
    For example ," The No1 cable you should replace it with No2,The no3 cable you should replace it with No6 etc."

    I will check tomorrow the custom cable to see if I have made any mistake.Now I have to go to sleep because here is GMT +2 .
    1024 x 768 - 118K
    1024 x 768 - 55K
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2008-12-11 02:41
    You cannot program a BS_1 using the Super Carrier J2 9-pin connector.· You have to use a BS_1 serial·adapter on J3.· The cable between your PC and the SCB/serial adapter·should be a serial extension cable (see below.)

    [noparse][[/noparse] Schematic for Super Carrier Board ]

    supcarint.jpg
  • MovieMakerMovieMaker Posts: 502
    edited 2008-12-11 02:59
    P.J.,

    Two things I noticed on your pictures. I don't have a BS1, but I always have a Jumper on my VIN, Yours is J3. Could this be your problem. Also, your voltage should be DC regulated going in. You might put a fresh battery and see if this helps. I may be all wet, but I have a desire to help you.

    smile.gif
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2008-12-11 03:07
    MovieMaker,

    It ain't·me, man --·a) that's Parallax's schematic [noparse][[/noparse]a section of it]·and b) thansis_leo is the one having the trouble.
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2008-12-11 16:27
    It looks like in the second picture he has the BS1 Serial Adapter right next to the cable.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Engineering
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2008-12-11 17:26
    I saw that, but the cable looks home-made, as somebody else noted.· Perhaps it's not pinned properly as T_L enquired, "Can anybody here please show me how to do the correct connection with the cables on the wire?
    For example, The No1 cable you should replace it with No2,The no3 cable you should replace it with No6 etc."
    Also, in his last post, T_L brought up the "serial port".
  • thanasis_leothanasis_leo Posts: 23
    edited 2008-12-11 19:43
    Well yes, can please somebody tell me how to made the custom cable ?
    " The No1 cable you should replace it with No2,The no3 cable you should replace it with No6 etc."
    This will really help me.
  • Mike GreenMike Green Posts: 23,101
    edited 2008-12-11 19:50
    The cable wiring is shown in PJ Allen's previous message with the diagram from Parallax. It's the box labelled "D-sub 9-pin cable". It's a standard "straight through" cable.
  • thanasis_leothanasis_leo Posts: 23
    edited 2008-12-11 21:56
    but in the page 27 of the book "Basic Stamp Syntax and Reference Manual" it says that in order to connect the BS1 serial adapter to the PC you have to made a modification.


    Here is my cable. Is it correct ?
    1024 x 768 - 87K
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2008-12-12 00:25
    You make that cable, Figure 1.23,·(on page 27) if you are going to program a BS2 without a Super Carrier Board or the one in Figure 1.22 if you are going to program a BS_1 with the old IDE/ without a BS_1 serial adapter.1

    To program a BS_1 with the serial adapter on the Super Carrier Board (as you are!)·your cable should be like the one I noted in my post with the schematic and which Mike Green called your attention.

    Post Edit -- 1 Basic Stamp Programming Manual, Version 2.0c, "page 27"

    Post Edited (PJ Allen) : 12/12/2008 12:31:21 AM GMT
    214 x 185 - 11K
  • thanasis_leothanasis_leo Posts: 23
    edited 2008-12-12 00:32
    On page 27 of this book BASIC Stamp Manual v2.2 is shows a schematic .

    Shouldn't I do this modification ?
    761 x 273 - 28K
  • thanasis_leothanasis_leo Posts: 23
    edited 2008-12-12 00:34
    PJ Allen said...
    You make that cable, Figure 1.23, (on page 27) if you are going to program a BS2 without a Super Carrier Board or the one in Figure 1.22 if you are going to program a BS_1 with the old IDE/ without a BS_1 serial adapter.1

    To program a BS_1 with the serial adapter on the Super Carrier Board (as you are!) your cable should be like the one I noted in my post with the schematic and which Mike Green called your attention.

    Post Edit -- 1 Basic Stamp Programming Manual, Version 2.0c, "page 27"


    In your schematic ,this is an ordinary serial cable, isn't it?
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2008-12-12 00:38
    Yes, it's an ordinary serial cable.

    Does the cable In your pic IMG_4335 have a male on one end and a female connector on the other?
  • thanasis_leothanasis_leo Posts: 23
    edited 2008-12-12 00:41
    PJ Allen said...
    Yes, it's an ordinary serial cable.

    Does the cable In your pic IMG_4335 have a male on one end and a female connector on the other?

    Yes, in the female port I have connected as you can see the BS1 Serial Adapter.

    The male port I connect it to the PC Serial Port.
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2008-12-12 00:44
    Then your pins are wrong, it is miswired.
    1024 x 768 - 89K
    223 x 273 - 10K
  • thanasis_leothanasis_leo Posts: 23
    edited 2008-12-12 01:07
    Now even the echo is No...


    OOOOOOO

    I dont know what to do....

    It's 3 o' clock .I am going to bed.

    See you tomorrow .

    Post Edited (thanasis_leo) : 12/12/2008 1:18:54 AM GMT
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2008-12-12 02:25
    My previous·DB9.jpg didn't call out each of the pins, it is a reference.· The attached picture calls out all pins, with the BasicStamp specific pins circled.
    229 x 377 - 17K
    DB9.JPG 17.3K
  • thanasis_leothanasis_leo Posts: 23
    edited 2008-12-12 16:31
    Ok, now can you show me which number on the female port should be connected with the respective number on the male port ?

    This will help me a lot.
Sign In or Register to comment.