Shop OBEX P1 Docs P2 Docs Learn Events
Spin Stamp — Parallax Forums

Spin Stamp

mwalimumwalimu Posts: 44
edited 2009-09-04 10:53 in Propeller 1
I just bought a Spin Stamp. I noticed that there is virtually nothing written about it. I have a couple of questions. Let's start with this.

According to the documentation it says that pins 1, 2 and 3 should not be connected. These are the pins that would normally be connected to the serial port on a Basic Stamp. According to the schematic SO and SI go to pins 16 and 17 through a transistor and ATTN goes to pin 18 through a 4.7K resistor. Are they unusable, or is it that they are not to be used as intended for A Basic Stamp (that would be the programming port)?

Comments

  • LeonLeon Posts: 7,620
    edited 2009-09-04 03:06
    It's a very confusing document, I'd email Parallax for clarification. It does looks as though you can't use those pins, though. You need to buy a PropClip as well, of course. for programming it.

    Leon

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Amateur radio callsign: G1HSM
    Suzuki SV1000S motorcycle
  • Mike GreenMike Green Posts: 23,101
    edited 2009-09-04 05:03
    Pins 1,2, and 3 are "sort of" usable. There is a SpinStamp schematic which shows the circuit used. I think pin 3 is ATN and it's just a Propeller I/O pin connected through a 4.7K resistor. This can be used for all sorts of inputs and some outputs as long as you figure in the resistor. Pins 1 and 2 are Sin and Sout. As you can see from the schematic, Sout switches between +3.3V and the idle voltage on Sin. Sin inverts its signal, but otherwise will respond to a variety of voltages. You could connect these 3 pins to a DB-9 connector and a PC serial port, but the +3.3V on Sout may not be high enough to work reliably. That's why Parallax doesn't support the use of these pins. If you happen to need an additional I/O pin or an additional serial port and the voltages these provide will work, then use it. It's just that most serial ports won't work with it.

    Other than this, the SpinStamp is a nice package for use of the Propeller in a mostly Stamp compatible way. DongleBasic and BoeBotBasic work very well with it as long as you adjust _CLKFREQ and _CLKMODE to match (10_000_000 and XTAL1+PLL8X). You can use a PropClip or solder a male header in those holes to use a PropPlug for programming.
  • Peter VerkaikPeter Verkaik Posts: 3,956
    edited 2009-09-04 06:31
    I have no trouble using SIN/SOUT/ATN on my onboard pc comport.
    RS232 is supposed to work with +3/+12 to -3/-12 volt signals.

    I use the attached setup to implement the ATN function.

    regards peter
  • RaymanRayman Posts: 14,849
    edited 2009-09-04 10:53
    I'm about to try a Spin Stamp in my Boe Bot... It's not really clear to me what's going on with those pins either... I could have sworn a Parallax person (I won't name names) told me that those pins were physically disconnected due to compatibility issues...· I was very tired then though, maybe I didn't hear it right...

    But, I'll find out soon enough...

    Also, there is a typo, I believe, in the schematic that shows two 3.3 V regulators, when one of them is a 5 V regulator...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm

    Post Edited (Rayman) : 9/4/2009 12:09:36 PM GMT
Sign In or Register to comment.