background image

a stop input and AUX08.WAV will not play in manual mode.

AUX01.WAV

Corresponds to manual input on IN1

AUX08.WAV

Corresponds to manual input on IN8 (when EN option is off)

AP-16+ Audio Files - Serial Control Mode

When using an external controller like the Prop-1, Prop-2, or Prop-SX, the AP-16+ can play any number of
files that are stored on the SD card.  The only requirement is that the files are named using DOS 8.3 naming
convention, that is, the name of the file is eight characters or less, followed the the “.WAV” extension.

File naming examples:

BELL.WAV

Good file name

TELEPHONE.WAV

Bad file name – too many characters in name (9)

WOLF.MP3

Bad file name – extension is incorrect; format probably incorrect as well

Manual Control

An SFXnn.WAV file can be started by:

Using a normally-open push-button/switch across the SWITCH INPUT terminals (E)

Applying a 12- to 24-volt DC voltage to the 12-24V INPUT terminals (F)

Connecting a PIR or compatible sensor to the PIR input header (G)

Pressing the START button (H)

Manual control of an SFXnn.WAV file has two modes: 1) standard, and 2) random.  The mode is controlled by
the position of the Random (?) option switch.   When the random option switch is set to OFF the file to be
played is set by the AUDIO SELECT switch.

When   the   the   Random   (?)   option   switch   is   set   to   ON   the  AP-16+   will   randomly   select   a   file   between
SFX00.WAV and the file set by the AUDIO SELECT switch.  For example, if the Random option switch is set
to   ON   and   the  AUDIO   SELECT   switch   is   set   to   7,   the  AP-16+   will   play   one   of   the   files   in   the   range
SFX00.WAV through SFX07.WAV.  Note that the Random option uses internal logic so that all files within the
selected range are played before any is repeated, and the same file will not play back-to-back.

An SFXnn.WAV file will play until finished, even it another trigger input (dry contract, DC, sensor, or START
button) is detected.  To stop an SFXnn.WAV file in progress:

With the EN (autio stop enable) option switch on, press a button connected between 3V3 and IN8

Send an “X” command through the TTL serial link

Start an AUXnn.WAV file using one of the INx inputs

An  AUXnn.WAV   file   can   be   started   by   connecting   a   normally-open   push-button/switch   between   the   3V3
terminal  and  an  INx  (IN1..IN8)  terminal.   Note  that  the auxiliary inputs  will  override the  current file  if  the
selection differs from the file presently playing, and are not subject to pre- and post-play delays (see below).
For example, if AUX01.WAV is playing and a button connected to IN2 is pressed, the AP-16+ will immediately
stop AUX01.WAV and start AUX02.WAV.  If, while AUX02.WAV is playing, another input on IN2 is detected,
this input will be ignored.  When the audio stop enable (EN) option switch is ON, IN8 serves as an audio stop;
AUX08.WAV – even if present – will not play under manual control

Pre-Play and Post-Play Delays

For stand-alone projects the AP-16+ includes potentiometers for setting pre- and post-play delays applied to

4

EFX-TEK  

  www.efx-tek.com  

  [email protected]

Summary of Contents for AP-16+

Page 1: ...l scale industrial control FEATURES BENEFITS Plays stereo WAV files 16 bit PCM up to 44 1kHz Files stored on standard SD card FAT or FAT32 format 24 stand alone files under manual control Optional aut...

Page 2: ...trol for speaker output D SD card socket N Speaker output 4 8 E Start input dry contact O Line level output F Start input 12 to 24 VDC P Pre play delay potentiometer G Start input PIR Q Post play dela...

Page 3: ...e g MP3 up sampling is not recommended as it can lead to audio artifacts in the form of clicks pops and noise in the up sampled file It is best to maintain or even lower the sample rate when from com...

Page 4: ...switch For example if the Random option switch is set to ON and the AUDIO SELECT switch is set to 7 the AP 16 will play one of the files in the range SFX00 WAV through SFX07 WAV Note that the Random...

Page 5: ...table below describes the function of each switch BR Sets the baud rate for serial control see below When OFF the baud rate is 2400 Prop 1 when ON the baud rate is 38400 Prop 2 Prop SX A1 Controls th...

Page 6: ...00 baud e g Prop 1 when the BR option is set to ON the AP 16 uses 38 4k baud e g Prop 2 Prop SX The following section details the serial commands for the AP 16 X Reset Syntax AP16 address X Reply None...

Page 7: ...lay or reset command use zero 0 as the loops parameter Prop 1 Example SEROUT Sio OT2400 AP16 00 PS 1 1 In this example the AP 16 at address 00 will play SFX01 WAV one time If the ambient Loop switch i...

Page 8: ...med WAV file command is used to play a WAV file by name which must conform to the DOS 8 3 file naming convention When using the PW command the WAV file extension is optional but the file name must be...

Page 9: ...k speed 50 to 200 Note that the maximum sample rate is 44 1kHz so a 44 1kHz file cannot be made to play faster Prop 1 Example SEROUT Sio OT2400 AP16 00 S 75 In this example the AP 16 at address 00 wil...

Page 10: ...is the major version number and YY is the minor version number If you have a Parallax Prop Plug and the Propeller Tool Software you may load this file and download it into the AP 16 the programming c...

Page 11: ...n Unit Min Typical Max Supply Voltage VIN 12 18 VDC Supply Current IIN 150 mA Output Power 18VDC 4 PO 18 20 W Output Power 18VDC 8 PO 10 12 W Output Power 12VDC 4 PO 13 W Output Power 12VDC 8 PO 8 W O...

Reviews: