November 22, 2024, 02:46:19 AM

News:

You can now use Vixen to program your Prop-1 and Prop-2 controllers!  Get started quickly and easily, without having to learn PBASIC.  Details in the Library forum.


triggering ap 8 with simple n/o contact

Started by fish68, September 28, 2007, 10:12:01 AM

Previous topic - Next topic

fish68

Hi John

I have set up an ap8 to trigger with a N/O contact but only get one play. Then I  have to power down the ap8 to trigger it again. Is there a dip switch setting I am missing?


Thank you
Todd
Bates Motel

JonnyMac

September 28, 2007, 10:28:54 AM #1 Last Edit: September 28, 2007, 10:34:14 AM by JonnyMac
Tohdd,

No.  What may have happened is that audio was recorded past the end of the ISD chip.  There is a weird glitch in the chip that can cause this to happen -- it never tells the processor that it's finished (no EOM signal).  If you have really long audio, let me suggest that you re-record it and make sure that you don't try to stuff more than 58 seconds into the chip -- this will leave you plenty of safety margin to deal with that ISD chip "feature."

If it's a Rev D board we introduced an undocumented feature in the firmware that will fix this problem -- the F (fix) command; but you need to hook the AP-8 to one of our prop controllers to use this.

' Fix AP-8 (Handles ISD EOM "feature")
' -- works with Rev D board only

' {$STAMP BS1}
' {$PBASIC 1.0}


' -----[ I/O Definitions ]-------------------------------------------------

SYMBOL  Sio             = 7                     ' SETUP = out; no ULN


' -----[ Program Code ]----------------------------------------------------

Main:
  PAUSE 100
  SEROUT Sio, OT2400, ("!AP8", %00, "F")
  END
Jon McPhalen
EFX-TEK Hollywood Office