Shop OBEX P1 Docs P2 Docs Learn Events
BS2 running the Cowlacious ISD2560 player board — Parallax Forums

BS2 running the Cowlacious ISD2560 player board

gchrtgchrt Posts: 33
edited 2007-09-21 15:15 in BASIC Stamp
Hi,

I am just getting started in working with the stamp.
Any tips or documentation in assisting me with interfacing and running the Cowlacious player board with the ISD2560 in a Basic Stamp 2 setup?
Also how does one deal with having too few pins to control all these components - IR detection, led's, stepper motor control, now a sound chip board.

I have the Nuts and Volts articles nv65, nv66, nv74 and nv75.

thanks

Comments

  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-05-26 12:58
    There should be a trigger input on the board -- one side of that will be ground (Vss), the other will be the pulled-up trigger.· What you want to have happen is the for the trigger input to be pulled low.· Unless you have a lot of experience, I wouldn't suggest connecting the BASIC Stamp directly to the ISD board; use a 1K resistor in between:

    Px ·>
    [noparse][[/noparse] 1K ]
    > Trigger
    Vss >
    > Ground

    And this code should get you going:

    Trigger_ISD:
    · LOW Trigger
    · PAUSE 250
    · INPUT Trigger
    · RETURN

    As far as expanding inputs and outputs, there are things that you can more -- the 74HC595 will let you take three pins and get eight outputs (and they can be daisy-chained for more), and its compliment, the 74HC165) will let you get eight inputs from three Stamp pins.

    BTW ... Parallax has a new group called Parallax EFX that is designing products for prop and FX builders.· See us at www.parallaxefx.com.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
  • gchrtgchrt Posts: 33
    edited 2005-05-26 17:32
    Jon,

    Thanks for the lead on the sound board, and the EFX page.

    glenn
  • Kenny GardnerKenny Gardner Posts: 169
    edited 2005-05-26 21:19
    I'm making a Dog Monitor to keep the puppies from going into certain parts of the house. It uses an IR beam and when broken, it activates a Cowlacious ISD that tells the dogs they are bad and to go outside.

    I had to "unhook" the EOM pin and a couple of other pins from ground so that the BS2 can tell when the message is finished playing (I might want to change the message so don't want to hardcode the playing time).

    It would be nice if these control pins were available for interfacing without having to muck up the circuit board.

    Kenny



    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    --

    Kenny Gardner
    GAP Development Company
    http://www.gapdev.com/
    ·
  • gchrtgchrt Posts: 33
    edited 2007-09-12 18:21
    In my setup as recommended by Jon everything works fine except every time I re-power the setup the ISD board gets a start signal and out comes my audio.
    How might I change my coding to prevent hearing the startup every time the system is restarted? This setup will be turned on and off pretty much every day.

    In my init the SoundTrigger in on PIN 8.
    In my main program the first call within the main loop is to set the SoundTrigger to HIGH.
    At the appropriate time the sub routine RunSound is called and works fine.

    thanks
  • gchrtgchrt Posts: 33
    edited 2007-09-20 01:20
    It seems the Cowlacious player board will trigger when power is applied if the trigger pins are jumpered. Support at Cowlacious thinks the Basic Stamp at power up takes all its pins to LOW thus creating the jumper for its trigger but once the program starts and I set the pin to HIGH the board is inactive waiting for its trigger signal from my program.
    If this is true is there a way to keep the stamp from setting this pin to LOW at power up?

    Post Edited (gchrt) : 9/20/2007 1:36:56 AM GMT
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2007-09-21 14:42
    Hello,

    At reset all BASIC Stamp I/O pins are inputs (Hi-Z). The will not become outputs and be HIGH/LOW until your program tells them to do so. The only exception is if there are pull-up or pull-down resistors on the line. They will cause the lines to be at those levels until set to the opposite level by the program. Take care.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
  • gchrtgchrt Posts: 33
    edited 2007-09-21 15:15
    Chris, thanks for the reply.

    Any ideas on how the Cowlacious board's trigger pins could be kept from creating a jumper on startup.
    Trigger pins are connected to PIN 8 with a 1K resistor and VSS. Power is supplied from VIN and VSS.

    thanks
Sign In or Register to comment.