CFSound-IV Compact FLASH Digital Audio System Revision 1.0 Tuesday, June 27, 2017 6233 E. Sawgrass Rd Sarasota, FL. 34240 (941)377-5775 FAX(941)378-4226 www.acscontrol.com Copyright(c)1992-2014 by ACS, Sarasota, FL ALL RIGHTS RESERVED...
Table of Contents Overview ............................1 Features ..............................1 Connections ............................. 2 Main Connector ..........................2 Power Supply Connection ......................2 Built-in Contacts Connection ....................2 Speaker Connection ........................3 Serial Connector ..........................4 DB-9P Signals ........................... 4 JB1 Serial Configuration Jumpers ..................4 RS-232 Connection to PC ......................
Page 3
Network Support .......................... 18 MAC Address ............................18 IP Address .............................. 19 IP Mask ..............................20 Router IP Address ..........................20 FTP Server Port ............................. 21 VNC Server Port ............................ 22 HTTP Server Port ..........................24 TCP/IP Raw Port ........................... 24 NTP Server ............................
SD Flash Card, they are renamed. This process instructs the Compact FLASH IV Digital Audio System to associate sounds with contacts and control how and when they are played. See the Quick Start section below to try out your CFSound-IV immediately. Features The Compact FLASH IV Digital Audio System incorporates the following features: ...
25 & 26 Contacts Main Connector Most of the connections to the CFSound-IV are supplied to the unit with a ten pin, 2-piece pluggable terminal block style connector at Main. Power Supply Connection The CFSound-IV requires a regulated or unregulated voltage of 10V to 18V DC.
to an internal 12VDC power supply, with a 680 ohm current limiting resistor in series. The output transistor of the optocouplers have 10K pull-up resistors on their collectors, with the emitters connected to ground and are buffered by an inverting gate. The following diagram is representative of the Contact #25 input and is similar for Contact #26: +12v Contact #25...
Serial Connector The CFSound-IV can function as either a RS-232 DTE (Data Terminal Equipment) or RS-232 DCE (Data Communications Equipment) device. There is a jumper block site on the board labeled JB1 that can be used to reverse the pins of the signals pairs TxD, RxD and RTS, CTS on the SERIAL connector to accomplish this change.
RS-232 CFSound (JB1 jumpered as DCE) to PC (DTE) The CFSound-IV can be connected with a one-to-one cable between the CFSound and host PC when JB1 is configured for DCE (default configuration in copper traces on bottom of the board beneath JB1):...
RS-232 CFSound (JB1 jumpered as DTE) to PC (DTE) The CFSound-IV can be connected with a null modem cable (or one-to-one cable with null modem adaptor) between the CFSound and host PC when JB1 is configured for DTE: Female Female...
CFSound-IV can be configured to function as either a USB flash drive or USB serial device. When configured as a flash drive (the default) the CFSound-IV SD card appears as a USB drive on the host PC and supports file transfers. When configured as a serial device the CFSound-IV sends and receives serial data as if connected to the RS-232 port.
Remote Volume Connector The sound volume level is controlled by two pushbuttons on the front of the CFSound-IV: one for Up and one for Down. A momentary button press of the Up button raises the volume level, a button press of the Down button lowers the volume level.
Connect the transformer, speakers and a normally open momentary pushbutton switch to the Main terminal block. See Main Connector section above for more information. Apply power to the CFSound-IV. With no SD card inserted, the Green LED should flash fast then slow. See Diagnostic LED Codes section below for more information.
Page 14
Format a SD Flash card using either FAT16 (FAT) or FAT32:...
Page 15
Extract the test sounds onto the formatted SD Flash card. Browse to the SD drive: Carefully insert the SD card into the CFSound-IV. The Green LED should flash fast then go on steady and the background sounds should start playing then repeating.
No sound, no Green or Red LED(s) flashing The CFSound-IV doesn’t have correct power. Verify the power supplied to the MAIN connector for the correct polarity and level using a voltmeter if available. If this is correct, verify that none of the wiring to the unit is shorted causing the internal resettable fuse to be tripped.
SanDisk card was tested, since they manufacture 90% of the retail cards on the market. Secure Digital FLASH Cards are available in many local electronics or camera stores or can be ordered directly from ACS. The Secure Digital FLASH Card is programmed by inserting it into a SD Card FLASH adapter connected to your computer’s USB port.
Some digital cameras and cellphones incorrectly format their SD cards. The maximum supported partition size is 32G. The CFSound-IV will attempt to locate a valid, active partition on the formatted card in order to be able to access the files. SD cards that have been previously used in some digital cameras may not be correctly formatted, or may not have valid partitions defined.
= end of configuration items placeholder NV Status Byte = NV status byte (default = 227) The configuration settings may be changed in two ways; a VNC connection to the CFSound-IV’s IP address with the DEFAULT jumper installed or via an ACS Basic program.
Page 20
The USB connection is ‘connected’ when the cable is plugged into a host PC where the driver has been installed and the CFSound-IV is configured for USB Mode: SERIAL. The ETHERNET connection is ‘connected’ when the CFSound-IV has been connected to the network and a TCP/IP raw sockets link has been established.
Without flow control it is possible to overrun the CFSound input buffer at baud rates above 9600 baud. Symptoms of input buffer overflow include missing or incorrectly displayed data or commands. The following configuration settings determine the CFSound-IV’s serial port operation: Setting...
MAC addresses may be assigned universally across all manufactured devices or locally by the device users. The CFSound-IV supports locally administered MAC addresses – the address is assigned to the display by the user or network administrator, replacing the configured default address.
MAC address; maybe a configurable list of accepted MAC addresses. This type of transmission is called Multicast addressing. The CFSound-IV currently only supports Unicast addressing. The default MAC address is 02:01:23:45:67:89 – which configures a Unicast, Locally Administrated MAC address.
The CFSound-IV can utilize a static, user-configured IP address/mask or a dynamic NAT assigned IP address/mask (DHCP client). IP Mask A sub-network or subnet is a logically visible subdivision of an IP network. All computers that belong to the subnet are addressed with a common, identical, most-significant bit-group in their IP Address. This results in the logical division of an IP Address into two fields;...
The CFSound FTP Server responds to these requests over the control port with three-digit status codes and text in ASCII. The CFSound-IV FTP Server only supports Passive mode and the data port that is used is always one less than the control port. The server only supports anonymous logins with no password support.
The CFSound-IV implements a ‘virtual display’ – screens can be displayed and interacted with by VNC connection only. In CFSound Mode the configuration screen is displayed. In Basic mode graphic commands can be used to display on and interact with this virtual screen which can only be observed via a VNC connection.
HTTP Server Port The ACS CFSound-IV has the ability to serve HTML pages from the SD card. If the configured HTTP Server Port is non-zero then HTTP GET requests for SD card resident files will retrieve the file contents. The server only responds to HTTP GET requests. The file path should immediately follow the IP...
If the configured NTP Client Port is non-zero and the NTP Server address is correctly addressing an IP Address hosting a NTP Server the CFSound-IV will attempt to sync its Real Time Clock to the time server after reset or power-up. No direct indication of successful synchronization is provided, however the RTC defaults to Tuesday, January 1, 2013, 12:00AM after reset or power-up.
Upon power-up, reset or whenever a Secure Digital Flash card is inserted or removed, the unit determines its operating mode as follows; As the CFSound-IV scans for a SD card, and then files on the card, the Green LED flashes 3 times per second: If a SD card is not present, the unit runs in Basic Mode by starting the ACS Basic interpreter and accepting/executing a subset of Basic commands that don’t require file I/O via the serial port.
LED error codes. CFSound Mode In CFSound Mode, the operation of the CFSound-IV is controlled by the names of the sound files on the SD card. Sounds are associated with contacts by the leading numeric portion of the filename, and the controlling state of the contact is specified by additional trailing non-numeric character attributes.
Page 32
For example, a sound file associated with optional contact input #1 would be named “01.WAV,” a sound file for input #10 would be named “0A.WAV,” a file for input #16 would be “10.WAV” and a file for input #36 would be “24.WAV”. There is no input #0 and so “00.WAV” is reserved and should not be used. There is a maximum of 254 sounds so “FF.WAV”...
This file would play once, when triggered by contact input #25 on the MAIN connector on the back of the CFSound-IV closing. When the sound starts, DMX channel #25 would fade-up to values at a rate determined by entries in the CFSOUND.INI file.
indicated by a repeating sequence of flashes on the red LED indicator (see the Diagnostic LED Codes section below for more information). The card may be removed at any time. In that case, both the green and red LED indicators should turn off, then the Basic mode is started.
SD card along with the sound files. When a card is inserted and after all sound files have been loaded, the CFSound-IV unit looks for a file with this name, and reads initialization parameter entries from it. Parameter entries are organized into sections with a section name in brackets followed by one or more PARAMETER=VALUE lines.
Page 36
[Section] / Parameter Description QuestionTimeout=dd Sets the delay in seconds between the end of the quiz question while waiting for a answer. Default=30. AnswerWithoutQuestionSound=xx Sets the hexadecimal sound number xx to play if an answer contact is activated before a question contact. Default=0 (no sound).
Page 37
[Section] / Parameter Description affect Sequence or Quiz mode. Default=0 (no offset amount) AutoplayEntireSequence=TRUE/FALSE Setting AutoplayEntireSequence to TRUE causes the entire sequence of sounds to be played once whenever the SequenceContactNumber activates one time. Default=FALSE (no autoplay) LineInputEnableContactNumber=dd Sets the number of the contact that will stop any sound currently playing and enable the Line level Input to the decimal value dd.
SequenceContactNumber=25 FirstSoundNumber=1 LastSoundNumber=8 AutoplayEntireSequence=FALSE Only a single sequence triggered from a single contact input is supported in CFSound mode using the CFSOUND.INI file – for multiple sequences controlled by multiple contacts the unit operation must be scripted in ACS Basic.
Quiz / Kiosk Mode The CFSound-IV may be configured to operate in a Quiz or Kiosk mode. This mode is enabled by including the requisite [Quiz] section entries in a CFSOUND.INI file on the card with the QuizMode=TRUE parameter. In Quiz mode, Question contacts trigger the Question sounds, then Answer contacts trigger the Answer sounds related to the question that was activated.
Page 40
There are two additional, optional sounds that may be played in Quiz mode. The AwaitAnswerSound=xx parameter, if xx is non-zero, causes sound file xx.WAV to be played after the question sound while awaiting an Answer contact activation. In the preceding example, this would play sound file 7F.WAV.
Sequential Sound Play-out The CFSound-IV may be configured to allow a single contact closure (or opening) to play several sounds in sequence; one each time it is closed (or opened). This mode is enabled by including the requisite [Contacts] section entries in a CFSOUND.INI file on the card with the SequenceContactNumber=dd parameter set to a non-zero, valid contact number from 1 to 8 (1 to 24 with Contact Sense 24 module) or 25 and 26 (rear of unit contact inputs).
RS-232 Serial Port Protocol Sound play-out may also be controlled via commands received via the serial port. The data format is the current baud rate (default is 2400 baud), 8 data bits, 1 stop bit and no flow control. Sounds may be started, queued and stopped using a simple ASCII protocol. The SOH/ETX protocol starts each command with a single ASCII Start of Header control character = 01 or CTRL-A, represented herein as <SOH>...
Sound volume may also be controlled via commands received via the serial port. The volume is essentially decibel linear in sixty-four, 1db increments from -66db (value of 0) → 0db (value of 63). The current volume level is ‘remembered’ in non-volatile memory on the CFSound-IV and is restored to the last setting upon power-up.
where: <SOH> ASCII Start of Header character 01 (Ctrl-A) ASCII lower case letter ‘v’ ASCII equals character ‘=’ to set and remember the volume to the absolute value XX {+/-} ASCII plus character ‘+’ to increase the volume by XX, minus character ‘-‘...
Page 45
<SOH> l {+/-} <ETX> where: <SOH> ASCII Start of Header character 01 (Ctrl-A) ASCII lower case letter ‘l’ (el not one) ASCII plus character ‘+’ to enable the line input, minus {+/-} character ‘-‘ to disable the line input <ETX> ASCII End of Text character 03 (Ctrl-C) Examples:...
DMX Device (Slave) The CFSound-IV becomes a DMX device (Slave) when it finds no files on the SD card with the DMX Scene or Fade filename attributes, OR, when it reads the CFSOUND.INI file and finds a [DMX] section with...
Page 47
Using the ArtNet™ protocol and external Ethernet to DMX device the CFSound monitors the received ArtNet data packets for DMX channel values. The CFSound-IV monitors a group of three channels, starting at the channel selected by the SlaveBaseChannel parameter of the CFSOUND.INI file for changes in value. Sounds may be stopped,...
Page 48
No Operation Command Sound Number Volume The SlaveBaseChannel+2 continually updates the CFSound-IV volume as DMX frames are received – this channel’s value can be tied to a potentiometer or slider on the DMX master’s console to adjust the volume. To stop all sounds that have been queued and are playing:...
Basic Mode In Basic Mode, the operation of the CFSound-IV is controlled by the interpreted execution of a user written program that is written in the ACS Basic language. BASIC is the acronym for Beginners’ All- purpose Symbolic Instruction Code – an easy to learn programming language developed by Kemeny & Kurtz at Dartmouth in 1964.
• or stops playing. No valid “*.WAV” files of a CFSound Mode Filename Format found on the SD Card – starting ACS Basic. This code will continue until a Basic RUN command is issued. • No valid FAT or FAT32 file system found on the SD Card, execution stops.
Power Requirements The idle current of a CFSound-IV unit, no expansion modules with a 4GB SanDisk SD card installed is ~80mA @ 12VDC input. With a background sound playing at a moderate level, the current consumption averages ~200mA @ 12VDC.
Page 52
contact is opened the recording will stop, the Red LED will go out and the file will be renamed to associate it with the contact closure. Problems during or after the recording are indicated by a flashing Red LED error code. Pressing the contact again should play back the recorded sound. Repeat this process for any other sounds you wish to record and associate with contact closures.
I/O and audio power amplifier capability. Up to two modules may be installed along the front and back of the unit. CFSound-IV Contact Sense 8 Module This module provides eight contact inputs. The contacts on the rear module are numbered 1 through 8 and are associated with sound files named 01x.WAV through 08x.WAV.
Page 54
GROUND GROUND The CFSound-IV Contact I/O 8 Module provides eight normally open (N.O.) relay contact outputs. Outputs 3, 4, 7 and 8 also provide the normally closed (N.C.) relay contact outputs. Each relay contact is rated at 1A @ 30VDC or 0.5A @ 125VAC.
CFSound-IV Contact Sense 24 Module This module provides twenty four contact inputs. The contacts on the rear module are numbered 1 through 24 and are associated with sound files named 01x.WAV through 18x.WAV. The contacts on the front module are numbered 33 through 56 and are associated with sound files named 21x.WAV through 38x.WAV.
Switches that are Normally Closed have an electrical connection between the switch terminals unless the switch is activated open. The CFSound-IV Contact Modules can work with either form of switch by using the appropriate filename letter token in the filename. A sound can be played when a Normally Open switch closes by placing the ‘C’...
Connecting a Motion Sensor The CFSound-IV can be connected to a motion sensor similar to those used with wired security systems. Normal Sized Motion Sensor The photos below show the CFSound-IV wired to the GE AP100 Motion Sensor on contact input #25.
Small Sized Motion Sensor The photos below show the CFSound-IV wired to the SPY4RTE-B Motion Sensor on contact input #25. ACS sells this sensor online as the "Small Size Motion Sensor". Pins 1-4 Speakers Pin 5 Contact Input #25 Ground to motion sensor...
Connecting Multiple Speakers The CFSound-IV can play different audio clips to different speakers, one at a time. This requires monaural audio clips and one or two Contact I/O 8 modules. The sound files have the ‘S’ attribute in the filename to activate the associated output contact. One speaker output is then directed to the desired speaker by connecting it through the output contact.
Controlling Eight LEDs with a Sound Sequence The CFSound-IV can play a sequence of sounds, one for every button push, turning on a LED associated with each sound. This requires a Contact I/O 8 module. The LEDs, button and speakers are wired as shown. Select the series resistor for the LED to set the...
Light LED while Sound is Playing The CFSound-IV has a PTT (Push-to-Talk) relay that can be optionally activated while a sound is playing. The PTT relay contacts are available on the MAIN connector and can be thought of as a switch that can be closed when a sound is playing.
The CFSound main board has a single PTT(Push To Talk) Relay for an output and two contact inputs that appears as Contact #25 & #26 for inputs. Additional Inputs and outputs are added by adding I/O Modules. The CFSound-IV revision 2 can accept one I/O module, the CFSound-IV revision 3 can accept two I/O modules.
Page 63
?: Yes, the CFSound-IV can function as you described. A triggered message that is playing could be 'stopped' by activating another short silent message associated with another contact input. Alternatively a short Acs Basic program can be utilized.
Page 64
If you need individual lights that illuminate when the associated input is active, you would need the Contact I/O 8 module in the CFSound-IV. If you only need a single light that is illuminated whenever any sound is playing then you can use the PTT relay that is installed on the main unit and use a Contact Sense 8 or Contact Sense 24 module.
Page 65
The Contact I/O 8 has 8 contact sense inputs and 8 contact outputs. The Contact Sense 8 has 8 contact sense inputs and the Contact Sense 24 has 24 contact sense inputs. The CFSound-IV revision 2 can accept one I/O module, the CFSound-IV revision 3 can accept two I/O modules.
Sample Messages The following sample messages were captured from the CFSound-IV serial port using Windows HyperTerminal. The default connection serial format is 2400 baud, 8 data bits, one stop bit. Sample Power Up Message, no SD card CFSound-IV #0 v0.1 on May...
Sample Power Up Message, Basic Mode CFSound-IV #0 v0.1 on May 7 2014 15:14:46 DMX I/O via Art-Net Scanning card directory for .WAV files... ACS Basic v3.0 May 7 2014 15:14:44 Ready...
Firmware Revisions Please see the CFSound_IV_Updating_Firmware_Manual for the latest information about firmware revisions and detailed instructions for updating the CFSound-IV firmware.
1) Obtain the Renesas Flash Development Toolkit (FDT) and install it on the host PC that you will be using to update the firmware. A version of this tool is available in the Software section of the ACS CFSound website.
Page 71
8) Use a USB A to Micro B cable to connect the CFSound-IV to the host PC: 9) Start the programming by pushing the FDT Program Flash button. 10) Select the USB device to be programmed – the VID should be 045B and the PID 0025:...
Page 72
12) When programming is complete a block locking dialog may appear. Select Do Nothing then click 13) If there have been no errors, then programming is complete. Disconnect the CFSound-IV from the host PC and move the BOOT jumper back to the storage position.
ACS warrants that the specified product shall function in accordance with the features of the design for a period of one (1) year from the date of purchase. This warranty does not cover any ACS product which has been subjected to any abuse, misuse, accident, act of God, alteration or modification not authorized by ACS in writing.
Need help?
Do you have a question about the CFSound-IV and is the answer not in the manual?
Questions and answers