BS2 running the Cowlacious ISD2560 player board
gchrt
Posts: 33
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
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
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
Thanks for the lead on the sound board, and the EFX page.
glenn
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/
·
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
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
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
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