USER’S MANUAL AXIS P8221 Network I/O Audio Module
AXIS P8221 User’s Manual Notices This manual is intended for administrators and users of the AXIS P8221 Network I/O Audio Module, and is applicable for firmware release 5.10 and later. It includes instructions for using and managing the product on your network. Previous experience of networking will be of use when using this product. Some knowledge of UNIX or Linux-based systems may also be beneficial, for developing shell scripts and applications.
AXIS P8221 - Table of contents Contents Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Key features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Hardware overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
AXIS P8221 - Overview Overview This manual applies to the AXIS P8221 Network I/O Audio Module. Key features • • • • • • Eight configurable digital I/O ports AXIS P8221 enables remote control of I/O devices. The eight configurable input/output (I/O) ports allow devices such as sensors and relays to be integrated into a network video system. Superb audio quality AXIS P8221 provides high-quality audio in simplex, half and full duplex.
AXIS P8221 - Overview Hardware overview Mounting hole LED indicators for: microphone power, power, status, network, microphone level Mounting hole Gain control Audio 1: Audio in/out Control button Audio 2: terminal connector RS-232/485/422 terminal connector Network connector (PoE) I/O terminal connectors A & B Power connector For descriptions of the connectors, please refer to Unit connectors, on page 32.
AXIS P8221 - Accessing the product Accessing the product To install the AXIS P8221 Network I/O Audio Module, refer to the Installation Guide supplied with your product. AXIS P8221 can be used with most operating systems and browsers. The recommended browsers are Internet Explorer with Windows, Safari with Mac OSX and Firefox with other operating systems. See Technical Specifications, on page 39.
AXIS P8221 - Accessing the product Setting the root password To gain access to the product, you must set the password for the default administrator user - ‘root’. This is done in the ‘Configure Root Password’ dialog, which appears when AXIS P8221 is accessed for the first time. To prevent network eavesdropping the root password can be set via an encrypted HTTPS connection, which requires an HTTPS certificate.
AXIS P8221 - Accessing the product The Live View page The Live View page of AXIS P8221 can be used to: • • • • • Display the status of input ports Control devices connected to output ports Access two-way audio (listen and talk) via AXIS Media Control (Internet Explorer only) View an external video source via AXIS Media Control (Internet Explorer only), see View an external video source, on page 20 Play audio clips If your device has been customized to meet specific requirements the buttons and other item
AXIS P8221 - Accessing the product AMC Audio controls AMC audio buttons control the speakers and microphone connected to the client computer. Speaker button – Click to switch the sound on or off. Microphone button – Click to switch the sound on or off. In Simplex - Network I/O Audio Module speaker only mode, click this button to stop sending audio to the device. Use the sliders to control the volume of the speakers and the microphone.
AXIS P8221 - Audio Streams Audio Streams AXIS P8221 provides several audio stream formats. Your requirements and the properties of your network will determine the type you use. The Live View page provides access to audio streams. Other applications and clients can access audio streams directly, without going via the Live View page. AXIS Media Control (AMC) AXIS Media Control (AMC) in Internet Explorer in Windows is the recommended method of accessing audio from the product.
AXIS P8221 - Audio Streams Alternative methods of accessing audio QuickTime and Windows Media Player Simplex audio can be accessed via QuickTime and Windows Media Player by using the paths below. QuickTime supports G.711 and AAC audio encoding. • • Windows Media Player. This requires AXIS Media Control to be installed. The paths that can be used are listed below in the order of preference: • Unicast via RTP: axrtpu:///axis-media/media.amp • Unicast via RTSP: axrtsp:///axis-media/media.
AXIS P8221 - Setup Tools Setup Tools AXIS P8221 can be configured by users with administrator or operator rights: • • Administrators have unrestricted access to all settings. Operators have access to Audio, Live View Config and Events. To configure the product, click Setup in the top right-hand corner of the Live View page. Click that explains the setup tools.
AXIS P8221 - Audio Audio Audio equipment AXIS P8221 has two connectors, Audio 1 and Audio 2, for external audio equipment. See table below for examples of supported audio equipment. The Audio 2 terminal connector can power microphones requiring 48 V phantom power and has a built-in amplifier enabling direct connection of passive speakers. The Audio 1 connector can power small electret microphones. Please see Unit connectors, on page 32, for wiring information.
AXIS P8221 - Audio Audio Settings The audio settings are configured under Setup > Audio > Audio Settings. Audio Channels Audio mode - The available audio modes are • Full duplex. Simultaneous two-way audio allowing you to transmit and receive audio (talk and listen) at the same time. • • • Note: There is no echo cancellation; if feedback loops appear, try moving the microphone or the speaker. Half duplex.
AXIS P8221 - Audio Select the desired audio Encoding format, G711 μ-law, G726 or AAC. Select the required Sample rate (number of times per second the sound is sampled). The higher the sample rate, the better the audio quality and the greater the bandwidth required. Changing the Bit rate changes the audio compression level and hence audio quality. A higher bit rate can improve audio quality but requires more bandwidth.
AXIS P8221 - Audio Audio Clips An audio clip is a sound file that can be played when an event occurs or manually from the Live View page. Audio clips can be recorded by a microphone connected to AXIS P8221 or uploaded to the device. Add a new audio clip To add an audio clip, go to Setup > Audio > Audio Clips and click Add... The dialog expands with two choices Record and Upload. Record To record a clip using the microphone: 1. 2. 3. 4. 5. Select the Record radio button. Enter a descriptive Name.
AXIS P8221 - Ports & Devices Ports & Devices I/O Ports AXIS P8221 has eight configurable input and output ports for connection of external devices. • • Output ports - For connecting external devices such as relays and switches. Devices connected to an output port can for example be used to remotely control devices such as lights and doors.
AXIS P8221 - Ports & Devices Output ports Devices connected to output ports can be controlled by output buttons on the Live View page, by events and by the VAPIX® Application Programming Interface.
AXIS P8221 - Live View Config Live View Config Go to Setup > Live View Config > Layout to customize the appearance of the Live View page. Layout Viewer Settings The administrator can disable the installation of the AAC decoder included with AXIS Media Control. This is used to prevent the installation of unlicensed copies. Further decoder licenses can be purchased from your Axis dealer. Check Enable recording button to enable recording from the Live View page.
AXIS P8221 - Live View Config Input Ports Check the boxes to display input ports and their status on the Live View page. Output Buttons The output buttons are used to manually activate and inactivate the output port, for example, to switch a light on and off.
AXIS P8221 - Events Events An event or Event Type in AXIS P8221 triggers certain actions when activated. The event is a set of parameters that defines these actions. A common event type is an alarm that causes AXIS P8221 to activate output ports. A triggered event is an event that is started by a signal, for example from a device connected to the input ports. A scheduled event runs at pre-programmed times.
AXIS P8221 - Events How to set up a triggered event To set up a triggered event, follow these steps: 1. 2. 3. 4. 5. 6. 7. 8. Go to Setup > Events > Event Types. Click Add triggered... The Triggered Event Type Setup window appears. Enter a descriptive Name for the event. Set the Priority - High, Normal or Low. Set the Respond to Trigger... parameters to define when the event is active, for example, after office hours. Select the desired trigger from the Triggered by... drop-down list.
AXIS P8221 - System Options System Options Security Users User access control is enabled by default. An administrator can set up other users, by giving them user names and passwords. It is also possible to allow anonymous viewer login, which means that anybody may access the Live View page, as described below: The user list displays the authorized users and user groups (levels): Viewer Operator Administrator Provides the lowest level of access, which only allows access to the Live View page.
AXIS P8221 - System Options Clients and servers in an IEEE 802.1X network may need to authenticate each other by some means. In Axis implementation this is done with the help of digital certificates provided by a Certification Authority. These are then validated by a third-party entity, such as a RADIUS server, examples of which are Free Radius and Microsoft Internet Authentication Service. To perform the authentication, the RADIUS server uses various EAP methods/protocols, of which there are many.
AXIS P8221 - System Options Network Basic TCP/IP Settings AXIS P8221 supports both IP version 4 and IP version 6. Both versions may be enabled simultaneously, and at least one version must always be enabled. When using IPv4, the IP address can be set automatically via DHCP, or a static IP address can be set manually. If IPv6 is enabled, the device receives an IP address according to the configuration in the network router. There is also the option of using AXIS Internet Dynamic DNS Service.
AXIS P8221 - System Options Advanced TCP/IP Settings DNS Configuration DNS (Domain Name Service) provides the translation of host names to IP addresses on your network. Obtain DNS server address via DHCP - Automatically use the DNS server settings provided by the DHCP server. Click the View button to see the current settings. Use the following DNS server address - Enter the desired DNS server by specifying the following: • Domain name - Enter the domain(s) to search for the host name used by the device.
AXIS P8221 - System Options Notes: • For NAT traversal to work, this must be supported by the broadband router. The router must also support UPnPTM. • The broadband router has many different names: “NAT router”, “Network router“, Internet Gateway”, “Broadband sharing device” or “Home firewall” but the essential purpose of the device is the same. Enable/Disable – When enabled, the device attempts to configure port mapping in a NAT router on your network, using UPnP™.
AXIS P8221 - System Options QoS Settings - For each type of network traffic supported by your Axis network video product, enter a DSCP (Differentiated Services Codepoint) value. This value is used to mark the traffic’s IP header. When the marked traffic reaches a network router or switch, the DSCP value in the IP header tells the router or switch the type of treatment to apply to this type of traffic, for example, how much bandwidth to reserve for it.
AXIS P8221 - System Options RTP/Audio These settings are the port range, IP address, port number, and Time-To-Live value to use for multicast audio stream(s). Only certain IP addresses and port numbers should be used for multicast streams. For more information please see the online help. Bonjour AXIS P8221 includes support for Bonjour. When enabled, the device is automatically detected by operating systems and clients that support this protocol.
AXIS P8221 - About Information The Server Report and Parameter List may prove useful when troubleshooting a problem or when contacting the Axis support. • • • • • • System Log - Provides information about system events. Access Log - By default, the Access Log lists all failed attempts to access the device but can be configured to list all connections to the device, whether successful or not. Go to Support > Logs & Reports > Configuration and select the desired level of information from the list.
AXIS P8221 - Resetting to Factory Default Settings Resetting to Factory Default Settings To reset the unit to the original factory default settings, go to the System Options > Maintenance web page (as described in Maintenance, on page 29) or use the Control button on the side of the unit (see page 5) as described below: Using the Control Button This will reset all parameters, including the IP address, to the factory default settings: 1. 2. 3. 4. Disconnect power from the device.
AXIS P8221 - Unit connectors Unit connectors RS-232/485/422 connector - 5-pin terminal block for the RS-232/485/422 serial interface used to control auxiliary equipment.
AXIS P8221 - Unit connectors Power connector - 3-pin terminal block used for power input. DC power input 8-34 V DC, max 8.2 W AC power input 20-24 V AC, max 13.7 VA I/O terminal connectors A and B - Used in applications for e.g. event triggering and alarm notifications. In addition to an auxiliary power and a GND pin, each I/O terminal connector has 4 pins that can be configured as either input or output.
AXIS P8221 - Unit connectors Connection diagram The following connection diagram gives an example of how to connect an auxiliary device to the I/O terminal connectors. AXIS P8221 1 E.g. push button 2 3.3 V max 250 mA 3.
AXIS P8221 - Troubleshooting Troubleshooting Checking the firmware Firmware is software that determines the functionality of network devices. One of your first actions when troubleshooting a problem should be to check the current firmware version. The latest version may contain a correction that fixes your particular problem. The current firmware version in your product is displayed on the page Setup > About.
AXIS P8221 - Troubleshooting Axis Support If you contact Axis support, please help us resolve your problem expediently by providing a Server Report and a detailed description of the problem. The Server Report contains important information about the product and its software, as well as a list of the current parameters. The Access Log is also included in the Server Report. Go to Setup > System Options > Support > Support Overview to generate a Server Report.
AXIS P8221 - Troubleshooting Symptoms, possible causes, and remedial action Problems setting the IP address When using ARP/Ping Try the installation again. The IP address must be set within two minutes after power has been applied. Ensure the Ping length is set to 408. See the Installation Guide. AXIS P8221 is located on a different subnet If the IP address intended for the unit and the IP address of your computer are located on different subnets, you will not be able to set the IP address.
AXIS P8221 - Troubleshooting Distorted audio (Audio 2) Adjust the input gain, see page 13. Echo Feedback loops might appear in full-duplex mode. Try moving the microphone or the speaker, or use half-duplex mode instead. The Power indicator is not constantly lit Faulty power supply Check that you are using the same indoor power supply that came with the product. The Status and Network indicator LEDs are flashing red rapidly Hardware failure Contact your Axis reseller.
AXIS P8221 - Technical Specifications Technical Specifications Function/group Item Specification Digital I/O I/O Interface • 8 configurable I/O ports • Input ports: min -40 V DC, max 40 V DC • Output ports: Open-drain, max load 100 mA, max voltage 40 V DC I/O Functionality Audio Network System Integration Audio streaming Input trigger, output toggle/pulse Two-way, full and half duplex Audio encoding • AAC-LC 8 kHz 32 kbit/s, 16 kHz 64 kbit/s, 32 kHz 128 kbit/s • G.711 PCM 8 kHz 64 kbit/s • G.
AXIS P8221 - Technical Specifications Function/group Item General Casing Specification Metal casing. Standalone or wall mount. Processors, memory ARTPEC-3, 64 MB RAM, 128 MB Flash Battery backed-up real-time clock Power • 8 - 34 V DC max 8.2 W • 20 - 24 V AC, max 13.7 VA • Power over Ethernet IEEE 802.
AXIS P8221 - Index Index NTP Server 24 O A Output 33 Output Buttons 20 Output port 17 Active/Inactive 18, 20 Administrator 12, 23 Alarm 33 AMC 6 ARP/Ping 25 Audio input 14 Audio output 15 Audio Settings 14 AXIS Media Control 7, 14 AXIS Media Control toolbar 8 P Pulse 18, 20 Q QoS (Quality of Service) 27 R Recovery 35 Restore 29 RS-232/485/422 connector 32 B Bonjour 6 C S CGI link 19 Control Button 31 Security 23 Serial port 32 Server Time 24 SNMP 28 Support 29 System Options 23 D Date & Time