HOME   PRODUCTS    ACCESSOIRES     SHOP   SUPPORT   CONTACT                                                                    中文
  X505 EXPANSION BOARD  

 
       
 
    KEY FEATURES  
 
For Use With - RASPBERRY PI 3 MODEL B / PI 2 MODEL B / PI 1 MODEL B+ / PI 1 MODEL A+  / RASPBERRY PI ZERO
Operating System   - Raspbian Jessie...etc
Input Voltage  - 6V to 12Vdc converted to 5V, 4A via step-down DC/DC converter to power the Raspberry Pi 
Ethernet  - 1x 10/100mb Ethernet RJ45 Jack
   (Based on the SMSC LAN9512 as on the RPi Model B)
SATA  - Allowing you to connect SATA devices to your Raspberry Pi   
Audio  - 3.5mm MIC in jack
 - 3.5mm stereo audio jack
USB Storage  - Self-powered USB hub with 8 downstream ports 
 - 1 upstream port to connect to your Raspberry Pi
Misc  - Power output socket
 - Jumper to select power supply for Raspberry Pi
 - Suitable for Raspberry Pi model A+ and Compute Module
Dimensions  - 75.5 x 59.5mm

 
    PACKING LIST  
  • 1 x X505 expansion board
  • 1 x USB 2.0 A-Male to B-Male Cable
  • 4 x nylon spacers (M3 x 8mm)
  • 4 x nylon screws  (M3 x 8mm)
    QUICK START GUIDE  
 

 
  A. Fitting the expansion board
  B. Download and install the pre-built image - Optional
  C.
Power supply
  D.
Microphone input and audio output
  E.
SATA port
 

 
   A. FITTING THE EXPANSION BOARD  
Warning: do not connect a +5V supply through the Raspberry Pi micro-USB connector when powered by the expansion board.




   B. DOWNLOAD AND INSTALL THE PRE-BUILT IMAGE - OPTIONAL  
 
SupTronics has produced a publicly available SD image of Raspbian that is bootable on Raspberry Pi hardware and Xseries expansion board.

Image Notes

  • Based on RASPBIAN (Release date: 2014-06-20)
  • Rpi-update is included
  • Updated to the latest Raspberry Pi firmware and kernel as of July 5th  2014
  • Alsamixer is included and configured

Download the Image


The 884 MB image can be downloaded from this link 2014-06-20-wheezy-raspbian-X505_V01.zip 

Image Install


To install the image file, you will need to unzip it and write it to a suitable 4G or larger SD card using the UNIX tool dd. Windows users should use Win32DiskImager. Do not try to drag and drop or otherwise copy over the image without using dd or Win32DiskImager – it won’t work. If you’re still not clear on what to do, the community on the Raspberry Pi Wiki has written a guide for beginners on how to set up your SD card.

IF THE PRE-BUILT IMAGED IS USED, ALAMIXER IS NOT REQUIRED TO CONFIGURE AGAIN.
 

 
   C. POWER SUPPLY  
 
Xseries expansion board supplies the RPi model with a regulated +5V through the USB port using a 2A poly-resettable (PTC) fuse. With the wide voltage input range (6~12vdc), the RPi can be powered from a wide variety of external sources such as batteries, 12V power adapters, solar battery sources, etc.

Recommended Power Adapter : 110~240VAC input, 12VDC 2A output  
Dimension of input plug (Unit: mm)

Warning: do not connect a +5V supply through the Raspberry Pi micro-USB connector when used with this expansion board.
 
 
   D. MICROPHONE INPUT AND AUDIO OUTPUT  

 <1> Update your Raspberry Pi to ensure all the latest packages are installed:
 
pi@raspberrypi ~ $   sudo apt-get update   
pi@raspberrypi ~ $   sudo apt-get upgrade  
pi@raspberrypi ~ $   sudo apt-get dist-upgrade
    
<2> After the update is complete, Reboot your Raspberry Pi,
 
pi@raspberrypi ~ $   sudo shutdown -r now

<3> This will install a package of ALSA utilities if you don't already have them (ALSA stands for Advances Linux Sound Architecture).
 
pi@raspberrypi ~ $   sudo apt-get install alsa-utils   

<4> This will run the AlsaMixer application in a LXTerminal window:
 
pi@raspberrypi ~ $   alsamixer



This shows the on-board audio device's playback control (note that the chip is called "Broadcom Mixer").

<5> Press "F6" and you should see a small pop-up "window" with all the available sound cards listed. The item "0 bcm2835 ALSA" is the on-board audio device, and the item "1 C-Media USB Audio Device" is the USB audio device. Use the arrow keys to select the "1 C-Media USB Audio Device" item and press Enter:


 
<6> This shows the playback controls for the USB audio device. Use the right and left arrow keys to select the control you wish to adjust and then use the up and down arrow keys to adjust the level. With "Speaker" selected, pressing "m" key on your keyboard will toggle the mute function on the audio output (when muted, "MM" appears instead of "OO" at the bottom of the control). Likewise, the "Mic" control  (which actually refers to the level of microphone input fed back through to the audio output) can be muted, and is shown so in the above screenshot (note the "MM" at the bottom of the control). The "Auto Gain Control" item can not be adjusted with the arrow keys, but can be turned on and off by pressing the "m" key.



<7> Press "F4" the display will change to show the audio capture control for the USB audio device:



This control is used to adjust the level of audio input from the audio device to the Raspberry Pi, and may be muted by pressing the space bar on your keyboard (but this will not mute the audio fed back through to the audio output).

<8>  Press "F5" you will be able to see and adjust the playback and capture controls together in the same window:



The above screenshot shows the "Speaker" playback control set to 80%, the "Mic" playback control is muted (and also reduced to zero), the "Mic" capture control set to 50% and the "Auto Gain Control" is turned on.

The following final section of this post is optional....

<9> There is a "proper" graphical user interface available for the AlsaMixer application. To download and install it type the following at the command line prompt and press Enter:
 
pi@raspberrypi ~ $   sudo apt-get install alsamixergui

Once installed, you will find the "Alsamixergui" application under the "Sound & Vision" submenu of the "Start Menu" in the LXDE GUI.


This application works in a similar way to the AlsaMixer application (although note that in the above screenshot the "Mic" controls have been swapped over). In practice I actually found the basic AlsaMixer application (when run in a LXTerminal window) easier to use than the AlsaMixerGUI version, not least of all because the GUI version does not allow you to choose which audio device you want to control - you can only control the "default" ALSA audio device.

<10> To make the USB audio device the default ALSA audio device, you need to create a file called ".asoundrc" in the "/home/pi" folder containing the following text:
 
pi@raspberrypi ~ $   sudo nano .asoundrc
              
pcm.!default {
       type hw
       card 1
       }
ctl.!default {
       type hw
       card 1
       }
                 


<11>
Save your changes by pressing Ctrl-x then Y. Y
ou should be able to control the USB audio device using the AlsaMixerGUI application. The above procedure assumes that the on-board audio device is designated "card 0" and that the Xseries expansion board audio device is designated "card 1", but this should be the case as long as you do not have any other audio devices connected to your Raspberry Pi.

<12> Let's record the sound now.
 
pi@raspberrypi ~ $   arecord -D plughw:1 --duration=10 -f cd -vv rectest.wav

The -vv option displays extra information on the screen as well as a volume meter, this should be peaking at around 95% on the loudest sounds, if it is at 100% all a lot of the time then you are probably recording distortion.

<13> Playback the recording with aplay:
 
pi@raspberrypi ~ $   aplay rectest.wav

   H. SATA PORT  
 
The SATA port allows you to connect SATA devices to your Raspberry Pi, a very useful tool for data transfer, backup and cloning. It supports most  SATA devices such as CD ROM, DVD ROM, CD drive, 2.5 inch hard disk and 3.5 inch hard disk.

Installation for SATA drives:

1. Connect you SATA drive to the SATA port with a SATA cable.
2. Connect SATA Power Cable to a power adapter which is used to power hard disk OR to the power connector on X300 (Output voltage of power adapter used must be 12Vdc).
    

 
     
 
TECHNICAL SUPPORT  
sales@suptronics.com
SALES AND AGENT  
sales@suptronics.com
SUPTRONICS LIMITED
All Rights Reserved
.