View Full Version : BS2 running the Cowlacious ISD2560 player board
05-26-2005, 03:42 PM
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.
05-26-2005, 08:58 PM
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 ·>-----[ 1K ]-----> Trigger
Vss >----------------> Ground
And this code should get you going:
· LOW Trigger
· PAUSE 250
· INPUT Trigger
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 (http://www.parallaxefx.com).
Applications Engineer, Parallax
05-27-2005, 01:32 AM
Thanks for the lead on the sound board, and the EFX page.
05-27-2005, 05:19 AM
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.
GAP Development Company
09-13-2007, 02:21 AM
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.
09-20-2007, 09:20 AM
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
09-21-2007, 10:42 PM
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.
Parallax Tech Support
09-21-2007, 11:15 PM
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.