Shop OBEX P1 Docs P2 Docs Learn Events
BS1 connections — Parallax Forums

BS1 connections

Steve2381Steve2381 Posts: 94
edited 2009-08-12 13:49 in BASIC Stamp
Having never actually used a BS1 stamp before.... I started on the BS2.... I assume I can still program it using the parallel port (pin 25-GND, pin 11-busy, pin 2-data)?
I know there is a serial converter, but I don't have one of those.

Thanks
Steve

Comments

  • dandreaedandreae Posts: 1,375
    edited 2009-08-11 20:44
    The parallel port is for older computers that have straight DOS, meaning Windows 98 and below.· I highly recommend the adapter for $4.99 to make it easier or we have a circuit diagram showing you how to make the connection at this link:· http://www.parallax.com/tabid/391/Default.aspx

    Dave





    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Dave Andreae

    Parallax Tech Support·
  • Steve2381Steve2381 Posts: 94
    edited 2009-08-12 12:27
    Ok. Made a serial connector.

    I have never used the SERIN/SEROUT command before. I am intending to send 7 bits of information, via pin 7 through a 418mhz linK.

    What would be the commands?

    I have started with:

    SEROUT 7,N2400,("abc",c1,c2,c3,c4,c5,c6,c7)

    SERIN 7,N2400, ("abc"),#c1,#c2,#c3,#c4,#c5,#c6,#c7

    Have I missed out anything? Well, I must have... it doesn't work! I was under the impression the "abc" would act as a 'synch' with the SERIN waiting for that to arrive before continuing.
    Do I need the # symbols on the SERIN?

    Thanks
    Steve

    Post Edited (Steve2381) : 8/12/2009 1:27:02 PM GMT
  • dandreaedandreae Posts: 1,375
    edited 2009-08-12 13:36
    Have you tried debugging the variables to see if they are coming in?· Can you attach your code as .bs file?

    Dave

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Dave Andreae

    Parallax Tech Support·
  • Steve2381Steve2381 Posts: 94
    edited 2009-08-12 13:49
    Ok. Got the link working. Not very reliable at the moment (doesn't need the #). Let me tweak around and if I get any more problems, I will post the code.
    Thanks Dave
Sign In or Register to comment.