Quantity Available: 97
The USB to Audio Adapter provides stereo sound capability to the PhidgetSBC. The device plugs into the SBC's USB 2.0 port and does not require any external power.
The SBC will automatically recognize the Audio Adapter when it is plugged in because the software drivers are already included on the most recent SD card image for the SBC.
NOTE: For best performance, make sure you plug this adapter into one of the USB 2.0 ports, not a USB-On-The-Go port. For more information, see the User Guide tab.
Plug the adapter into a USB port on the Phidget SBC4. This audio adapter is compatible with the following Phidget SBCs:
|Image||Part Number||Price||Core||CPU Speed||SDRAM Size||Number of VINT Ports|
|SBC3003_0||$120.00||Dual-Core ARM Cortex-A7||**Up to 960 MHz||512 MiB||6|
|Go to this device's product page|
The SBC4204 USB Audio adapter provides sound capabilities to the PhidgetSBC4. The audio adapter offers two integrated channels - one for speakers or headphones, and one for a microphone. Using this product requires a working knowledge of Linux. To begin, make sure that you plug it into one of the SBC4's USB 2.0 ports, not the USB on-the-go port:
Once you've plugged it in, you can type
dmesg | tail -n 10 into the terminal.
Somewhere in the output, you should see a line that says
usbcore: registered new interface driver snd-usb-audio
This indicates that the device has been recognized by your system.
In order to test that the adapter is working properly, you'll need a program that can play sound. We recommend installing mpg123:
apt-get install mpg123
If the test performed in the later section produces choppy audio, you can try using mpg321 or vlc instead.
Enter the following command into the terminal:
By default, you will probably see the following output:
This means our USB sound card index is set to 1, which means most audio programs will fail when they try to access index 0 which doesn't exist. In order to change the sound card index, navigate to
/etc/modprobe.d/ and create a new file there named
alsa-base.conf with the following contents:
options snd-usb-audio index=0
This single line is all that is needed. Once you've created this file, you must reset the SBC for the changes to take effect. You can reset through the web interface or by cycling power. When it boots back up, you can try the
cat /proc/asound/modules command again to see if the index has successfully changed to 0.
You can either test using an audio file (.wav or .mp3) on a USB stick, or you can enter the URL of an internet radio station.
At this point, you should be able to hear audio coming from the speaker or headphones that you have plugged into the USB adapter!
|I/O Communication Protocol||USB 2.0|
|Connector Type||USB Type-A (Male)|
|Headphone Jack Size||3.5 mm|
|Microphone Jack Size||3.5 mm|
|Canadian HS Export Code||8473.30.00|
|American HTS Import Code||8473.30.51.00|
|Country of Origin||CN (China)|