Shop OBEX P1 Docs P2 Docs Learn Events
Spin Stamp Module with INEX-1000? — Parallax Forums

Spin Stamp Module with INEX-1000?

RaymanRayman Posts: 14,162
edited 2008-01-10 20:14 in Propeller 1
I just tried putting a Spin Stamp Module in my old INEX-1000 and connecting with a USBto232 device...

But, it seems that it doesn't work...· Anybody got the Spin Stamp Module to work with INEX-1000?

I can't find any wiring diagrams for the INEX-1000...· But, I guess I could take it apart and figure out what's wrong...
1152 x 864 - 557K

Comments

  • Peter VerkaikPeter Verkaik Posts: 3,956
    edited 2008-01-10 18:36
    You can use the spin stamp in an INEX1000 board, but to program the spin stamp
    you need to connect a prop clip to the 4 pads on the side of the spin stamp.

    regards peter
  • deSilvadeSilva Posts: 2,967
    edited 2008-01-10 18:38
    The INEX-1000 will most likely need 5V interfacing, and will not run with the Propeller's 3V ...
  • Peter VerkaikPeter Verkaik Posts: 3,956
    edited 2008-01-10 18:43
    The spin stamp either takes a high voltage (6-12V) on pin 24 or 5V on pin 21.
    In that respect it behaves like a basic stamp.
    Series protecting resistors of·1k on all I/O pins is necessary because of the
    5V logic devices on the INEX board.

    regards peter
    ·
  • RaymanRayman Posts: 14,162
    edited 2008-01-10 19:09
    Thanks.· Ok, I got it now...· Don't have a Prop Clip, but soldered on a header and the Prop Plug works with it...

    Loaded deSilva's pin toggling code and it makes a LED blink right...

    Too bad they didn't hook up a serial interface...· Looks like they thought about it...
    1152 x 864 - 514K
  • deSilvadeSilva Posts: 2,967
    edited 2008-01-10 19:16
    Rayman said...
    Too bad they didn't hook up a serial interface...
    It depends what you mean by "serial interface".


    BTW: Have you noticed that my "pin toggling" allows you to insert a LED between any two pins!! Think about it!
    Depending on the clock you can even omit a resistor (when it toggles < 1 sec)
  • Peter VerkaikPeter Verkaik Posts: 3,956
    edited 2008-01-10 19:16
    It is quite possible the SIN and SOUT pins work (although not guaranteed) via the serial connector,
    just not for programming. Here are the propeller pin assignments:

    CON
    ·
    · 'clock settings for spin stamp
    · _clkmode = xtal1+pll8x
    · _xinfreq = 10_000_000
    ·
    · debugPort = 2 '0=none, 1=propeller TX/RX, 2=spin stamp SOUT/SIN/ATN
    ·
    · '//Spin stamp debug pin assignments
    · stampSOUT = 16 'serial out (pin 1 of spin stamp)
    · stampSIN· = 17 'serial in· (pin 2 of spin stamp)
    · stampATN· = 18 'digital in (pin 3 of spin stamp, when activated, do reboot)

    · '//Propeller system pin assignments
    · propSCL = 28 'external eeprom SCL
    · propSDA = 29 'external eeprom SDA
    · propTX· = 30 'programming output
    · propRX· = 31 'programming input

    VAR
    · long atnStack[noparse][[/noparse]10]······· 'stack for monitoring ATN pin
    ·
    PUB main
    · 'monitor ATN pin (optional)
    · if debugPort == 2
    ··· cognew(atnReset,@atnStack)

    PUB atnReset
    · repeat 'loop endlessly
    ··· if (debugPort == 2) AND (INA[noparse][[/noparse]stampATN] == 1)
    ····· reboot

    If you monitor the ATN pin, then if you toggle DTR of the serial port ON and OFF,
    the spin stamp reboots, just like a basic stamp.

    regards peter
  • deSilvadeSilva Posts: 2,967
    edited 2008-01-10 19:19
    This may not be "guaranteed", but it is in the datasheet of the SpinStamp smile.gif
  • Peter VerkaikPeter Verkaik Posts: 3,956
    edited 2008-01-10 19:24
    True, but it works for me on my serial port (desktop system).
    Actually, the spin stamp datasheet says: do not connect for these pins, but the transistors
    that do the level shifting are present on the spin stamp.

    regards peter
  • deSilvadeSilva Posts: 2,967
    edited 2008-01-10 19:51
    Peter, I am SUPPORTING your opinion; I was not referring to what the datasheet SAYS, but to what it SHOWS smile.gif

    Post Edited (deSilva) : 1/10/2008 7:56:19 PM GMT
  • RaymanRayman Posts: 14,162
    edited 2008-01-10 20:04
    Wait... Does it have a 10MHz crystal? Oh, this might explain why my other code didn't work but deSilva's did... (You can tell I'm not one to read manuals...)

    What a pain... I wish they'd have put in a 5 MHz crystal...
  • Paul BakerPaul Baker Posts: 6,351
    edited 2008-01-10 20:14
    There are no 5 MHz crystals in existance which can fit the form factor of the Spin Stamp, our choice of the 10MHz crystal was not arbitrary.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Paul Baker
    Propeller Applications Engineer

    Parallax, Inc.
Sign In or Register to comment.