Raspberry Pi 3 Model B/ 2 Model B / Model B+ Expansion Board (X300)

Raspberry Pi 3 Model B/ 2 Model B / Model B+ Expansion Board (X300)
Raspberry Pi 3 Model B/ 2 Model B / Model B+ Expansion Board (X300) thumbnail 1Raspberry Pi 3 Model B/ 2 Model B / Model B+ Expansion Board (X300) thumbnail 2Raspberry Pi 3 Model B/ 2 Model B / Model B+ Expansion Board (X300) thumbnail 3Raspberry Pi 3 Model B/ 2 Model B / Model B+ Expansion Board (X300) thumbnail 4Raspberry Pi 3 Model B/ 2 Model B / Model B+ Expansion Board (X300) thumbnail 5Raspberry Pi 3 Model B/ 2 Model B / Model B+ Expansion Board (X300) thumbnail 6
รหัสสินค้า BR00068
หมวดหมู่ Expansion Board / GPIO
ราคา 1,850.00 บาท
แก้ไขล่าสุด 1 เม.ย. 2561
ความพึงพอใจ ยังไม่มีความคิดเห็น
ขออภัย สินค้าหมดค่ะ
Scan this!

Raspberry Pi 3 Model B/ 2 Model B /  Model B+ Expansion Board (X300)

PACKING LIST

 
 
  • 1 x X300 expansion board
  • 1 x USB adapter
  • 1 x 2.4GHz WIFI antenna
  • 4 x nylon spacers (M3 x 20mm)
  • 8 x nylon screws  (M3 x 6mm)
 
    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. 
Audio input and output interface
  F. 
Setting RTC time
  G. 
Setting up the IR remote
  H. 
SATA port
   
I. Bluetooth serial communication
 

 
   A. FITTING 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
  • RTC time is configured
  • IR remote is configured
  • WringPi is included

Download the Image


The 884 MB image can be downloaded from this link 2014-06-20-wheezy-raspbian-X300_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.

Set RTC Time


 Get the right time set on the Pi ,
  
pi@raspberrypi ~ $ sudo date mmddhhmmyyyy.ss 
 (mm= Month, dd= Date, hh= Hour, mm= Minute, yyyy= Year, ss= Second ) 
 example: 2013 Jan 4 , 11:39:00 , sudo date 010411392013.00

 Write the system time to the RTC ,
 
pi@raspberrypi ~ $   sudo hwclock -w
                                        
 Verify the time ,
 
pi@raspberrypi ~ $   sudo hwclock -r

IF THE PRE-BUILT IMAGED IS USED, ALAMIXER, RTC AND IR REMOTE ARE NOT REQUIRED TO CONFIGURE AGAIN.
  
 
   C. POWER SUPPLY  
 
Xseries expansion board supplies the RPi with a regulated +5V through the GPIO header using a 2A poly-resettable (PTC) fuse. With the wide voltage input range (6~21vdc), 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  
 
  There is an issue with the Pi’s USB that meant it could become overwhelmed with data which causes popping and bubbling noises to be included in your recordings, and sometimes, no output whatsoever. This can be fixed with an update of the Pi’s firmware: 
 
pi@raspberrypi ~ $ sudo apt-get update 
pi@raspberrypi ~ $ sudo apt-get upgrade 
pi@raspberrypi ~ $ sudo apt-get install rpi-update
pi@raspberrypi ~ $ sudo rpi-update 
     
 After the update is complete, Reboot your Raspberry Pi, 
 
pi@raspberrypi ~ $   sudo shutdown -r now

 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   

 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"). 

 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: 


  
 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. 



 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). 

  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.... 

 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. 

 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
       }
                  


 
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. 

 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. 

 Playback the recording with aplay: 
 
pi@raspberrypi ~ $   aplay rectest.wav
 
   E. AUDIO INPUT AND OUTPUT INTERFACE  
 
 
   F. SETTING RTC TIME  
      
 Add the RTC kernel module to the /etc/modules list, so its loaded when the machine boots.  
   
pi@raspberrypi ~ $   sudo nano /etc/modules
   
And add: 
i2c-bcm2708 
rtc-ds1307
   


 Save your changes by pressing Ctrl-x then Y

 Create the DS1307 device creation at boot, edit /etc/rc.local by running 
   
pi@raspberrypi ~ $   sudo nano /etc/rc.local
                                              
And add: 
echo ds1307 0x68 > /sys/class/i2c-adapter/i2c-1/new_device
sudo hwclock -s



 Save your changes by pressing Ctrl-x then Y

 Reboot your Raspberry Pi 
 
pi@raspberrypi ~ $   sudo reboot
  
 
Get the right time set on the Pi ,
  
pi@raspberrypi ~ $ sudo date MMDDHHMMYYYY.SS 
 (MM= Month, DD= Date, HH= Hour, MM= Minute, YYYY= Year, SS= Second ) 
 example: 2013 Jan 4 , 11:39:00 , sudo date 010411392013.00 

 Write the system time to the RTC ,
 
pi@raspberrypi ~ $   sudo hwclock -w
                                        
 Verify the time ,
  
pi@raspberrypi ~ $   sudo hwclock -r
  
    
 
   G. SETTING UP THE IR REMOTE  
   
 
Installing LIRC 
 
pi@raspberrypi ~ $   sudo apt-get install lirc

 Add the two lines below to /etc/modules . This will start the modules up on boot. Pin 8 bellow will be used to take the output from the IR sensor. 
 
pi@raspberrypi ~ $   sudo nano /etc/modules
     
lirc_dev
lirc_rpi gpio_in_pin=8



 Save your changes by pressing Ctrl-x then Y

 Edit /etc/lirc/hardware.conf and have it appear exactly as shown below. 
 
pi@raspberrypi ~ $   sudo nano /etc/lirc/hardware.conf

      
# /etc/lirc/hardware.conf # # Arguments which will be used when launching lircd LIRCD_ARGS="--uinput# Don't start lircmd even if there seems to be a good config file # START_LIRCMD=false # Don't start irexec, even if a good config file seems to exist. # START_IREXEC=false # Try to load appropriate kernel modules LOAD_MODULES=true # Run "lircd --driver=help" for a list of supported drivers. DRIVER="default# usually /dev/lirc0 is the correct setting for systems using udev DEVICE="/dev/lirc0"MODULES="lirc_rpi# Default configuration files for your hardware if any LIRCD_CONF="" LIRCMD_CONF="" 



The highlighted text are the parts that will need changing, though it’s worth checking the rest of the text incase you have a different initial configuration.

 Save your changes by pressing Ctrl-x then Y

 
Download the lircd.conf  (For the remote supplied by SupTronics) file and save to /home/pi  
 

 
Replace the existing conf file (which is most likely empty) with the you just downloaded. 
  
pi@raspberrypi ~ $   sudo cp lircd.conf /etc/lirc/lircd.conf

 
Reboot
 
pi@raspberrypi ~ $   sudo reboot

 
Test your remote,
 
pi@raspberrypi ~ $   irw

Your commands will appear in the console when you press buttons on your remote. Press Ctrl-c to exit this.

 
 
   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).
    
 
   I. BLUETOOTH SERIAL COMMUNICATION  
 

Required additional hardware

A computer or device with a Bluetooth terminal software

To establish a communication with the Raspberry Pi over Bluetooth you need another device that can speak Bluetooth. If your computer has a Bluetooth adapter then you just need to find a terminal software that you can use to send and receive data, like HyperTerminal on Windows, or screen on OS X and Linux. A computer is not the only choice, though. For example, I will use my Android cell phone with the free BlueTerm app installed.  
 

Raspberry Pi configuration


I'm going to assume you are running a recent release of Raspbian on your Raspberry Pi. If you are running another OS then you will need to find out how the changes below are done in your system.

By default the Raspberry Pi is configured to write boot time messages to the serial port, and also to start a login console on it. Unfortunately, the default baud rate that the RPi uses for its serial port is 115200 bps, while the Bluetooth module comes preconfigured to 9600 bps.  There are two config files that need to be updated.


File 
/boot/cmdline.txt contains the kernel options that are used to boot the system. In my Raspbian based system this file contains the following options:
 
pi@raspberrypi ~ $   sudo nano /boot/cmdline.txt
              
dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait

Change to
  
 
dwc_otg.lpm_enable=0 console=ttyAMA0,9600 kgdboc=ttyAMA0,9600 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
  
The second configuration file is /etc/inittab. Inside this file you have to locate the following line:
 
pi@raspberrypi ~ $   sudo nano /etc/inittab
                           
T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100
Change to 
 
T0:23:respawn:/sbin/getty -L ttyAMA0 9600 vt100
With those changes made the RPi is configured to talk to the Bluetooth module. If you now power up your Raspberry Pi you will notice that the LED in the Bluetooth module blinks rapidly. This is the sign that the Bluetooth module is ready and waiting to be paired with another device.

Connecting from a Bluetooth terminal

 

Now leave the RPi running with the Bluetooth module in its blinking state and go to the Bluetooth enabled computer or smartphone that you will connect to it. Your device should now find the Bluetooth module with the name BC04-B when you set it to discover devices.

If you are using an Android device with BlueTerm then start the app and from the app menu select "Connect device". Android does the baud selection automatically so you don't have to configure it. From a terminal software running in a computer it is likely that you will need to configure the speed, number of data bits per character, parity, and number of stop bits per character. The values you need to use are:
   
  • Speed: 9600 bps
  • Data bits: 8 bits
  • Parity: None
  • Stop bits: 1 bit

The Bluetooth module comes preconfigured with a PIN number. To complete the connection your computer or smartphone will ask you to enter this PIN. The factory default PIN is 1234.

The LED in the Bluetooth module will now stop blinking and remain lit, indicating that it has made a connection.

And here comes the fun part. You need to reboot the Raspberry Pi so that the new serial port settings take effect. To reboot the RPi run the following command in a local or network shell:

$ sudo reboot
Now watch the Bluetooth terminal on your PC or smartphone while the Pi reboots. Boot messages should be appearing on your terminal, and as soon as the RPi is up you should get a login prompt there as well.

You can now login from your Bluetooth terminal and use the command line prompt as you normally would over a local or network shell.  
    
 

Configuring the Bluetooth module

  
Firstly you will need to install 
minicom into your RPi using the following command: 
 
$ sudo apt-get install minicom
The Bluetooth module comes preconfigured from the factory with a set of defaults, which are:
   
  • Baud rate: 9600
  • Bluetooth ID: BC04-B
  • PIN: 1234
But these values can be changed by sending special commands through the communication channel. Now that the Raspberry Pi is connected to the module we can try this.
  
These special commands that configure the Bluetooth module can be sent from a connected remote device, or they can be sent from the local system, in this case the Raspberry Pi. Since the Raspberry Pi is the star of the article I'm going to also use it to do the configuration.
  

Here is a quick summary of the most useful configuration commands:

Command Description
AT Test the communication with the Bluetooth module.
AT+VERSION Report the module's version number
AT+NAMEname Change the Bluetooth ID to name (maximum 20 characters).
AT+PINnnnn Change the PIN to nnnn, which must be a four digit number.
AT+BAUDn Change the baud rate. Use one of the following values for n:
2: 2400bps
3: 4800bps
4: 9600bps
5: 19200bps
6: 38400bps
7: 57600bps
8: 115200bps
      
One tricky aspect of sending these commands is that the Bluetooth module has a very short timeout, so all the characters in a command must be entered really quickly. The safest way to get the entire command in time is to type it in a text editor window and then use copy/paste to send it really fast.
    
To send the commands we can use 
minicom. So let's fire it up one more time:
  
$ minicom -b 9600-o -D /dev/ttyAMA0

Note that it isn't necessary to have a connection to do this, so you can do this while the Bluetooth module is in its blinking state.

You now need to use any method to get the string AT into the clipboard, and then hit paste inside the minicom window to send the command to the module.

When you send AT the module should respond with this in the minicom window:

OK

If you get this response then you know that everything is all right. If you don't get a response then for some reason the Raspberry Pi is unable to communicate with the Bluetooth module.

When I send AT+VERSION to the module I get the following response:

OKlinvorV1.5
To change the baud rate to the fastest rate of 115200 we need to issue the command AT+BAUD8, and the module will respond with:
 
OK115200

Because the baud rate was changed now the communication will break, and we will need to exit and restart minicom with the updated speed:

$ minicom -b 115200-o -D /dev/ttyAMA0

To change the name of the module to MyBT we must issue the command AT+NAMEMyBT, and the module will respond with:

OKsetname

And to change the PIN to 4321 the command is AT+PIN4321 and the response from the Bluetooth module will be:

OKsetPIN

Note that when the name and/or the PIN change the module requires a power cycle for the changes to take effect.

Also don't forget that if you change the baud rate and later want to reestablish the serial console you will need to change the two config files to reflect the new baud rate you have selected in the Bluetooth module.

สินค้านี้ยังไม่มีคนรีวิว
คำถาม
รายละเอียด
ชื่อผู้ถาม
ข้อมูลสำหรับการติดต่อกลับ (ไม่เปิดเผย เห็นเฉพาะเจ้าของร้าน)
อีเมล
เบอร์มือถือ
  • ถาม
สินค้านี้ยังไม่มีคนถามคำถาม

ชำระเงินค่าสินค้าโดยการโอนเงินเข้าบัญชีธนาคาร KBANK, SCB, BBL,TMB

กรุณาเก็บหลักฐานการโอนเงินของท่านไว้เพื่อแจ้งการชำระเงินด้วยค่ะ

 

ท่านสามารถแจ้งการชำระเงินผ่านระบบอัตโนมัติได้โดย Click Link ข้างล่างค่ะ

https://www.arduitronics.com/informpayment

 

ธ.กสิกรไทย สาขาโลตัส รัตนาธิเบศร์ ออมทรัพย์
ธ.ไทยพาณิชย์ สาขาโลตัส รัตนาธิเบศร์ ออมทรัพย์
ธ.กรุงเทพ สาขาเซ็นทรัล พระราม 3(2) ออมทรัพย์
ธ.ทหารไทย สาขาศูนย์การค้าวรรัตน์ ออมทรัพย์
  • ค่าธรรมเนียม 3.9% + 11 THB
  • การชำระผ่าน PayPal คุณไม่จำเป็นต้องแจ้งชำระเงิน เนื่องจากระบบจะจัดการให้คุณทันที ที่คุณชำระเงินเสร็จสมบูรณ์
เพื่อความเข้าใจตรงกันระหว่างผู้ซื้อและผู้ขายและมิตรภาพที่ดีต่อกัน กรุณาทำความเข้าใจเงื่อนไข

BEST SELLER

รหัสสินค้า BA00001
270.00 บาท
  • สั่งซื้อ
รหัสสินค้า SG00001
50.00 บาท
  • สั่งซื้อ
รหัสสินค้า BA00002
440.00 บาท
  • สั่งซื้อ
รหัสสินค้า AG00014
98.00 บาท
  • สั่งซื้อ
รหัสสินค้า AG00023
44.50 บาท
  • สั่งซื้อ
รหัสสินค้า BA00021
210.00 บาท
  • สั่งซื้อ
รหัสสินค้า AG00006
68.00 บาท
  • สั่งซื้อ
รหัสสินค้า SG00086
80.00 บาท
  • สั่งซื้อ
รหัสสินค้า SG00207
75.00 บาท
  • สั่งซื้อ

SALE

รหัสสินค้า BR00034
60.00 บาท
120.00 บาท
  • สั่งซื้อ
รหัสสินค้า
150.00 บาท
300.00 บาท
  • สั่งซื้อ
รหัสสินค้า AS00075
420.00 บาท
700.00 บาท
  • สั่งซื้อ
รหัสสินค้า BR00007
50.00 บาท
80.00 บาท
สินค้าหมด
รหัสสินค้า BR00028
120.00 บาท
190.00 บาท
สินค้าหมด
รหัสสินค้า
375.00 บาท
590.00 บาท
  • สั่งซื้อ
รหัสสินค้า BR00059
600.00 บาท
920.00 บาท
  • สั่งซื้อ
รหัสสินค้า BR00079
190.00 บาท
290.00 บาท
สินค้าหมด
รหัสสินค้า AG00028
100.00 บาท
150.00 บาท
  • สั่งซื้อ
เพิ่มเพื่อน

CATEGORY

Sensors / Modules [656]

CONTACT US

มือถือ0887823467 แฟกซ์02-0153201

SALE

รหัสสินค้า BR00034
60.00 บาท
120.00 บาท
  • สั่งซื้อ
รหัสสินค้า
150.00 บาท
300.00 บาท
  • สั่งซื้อ
รหัสสินค้า AS00075
420.00 บาท
700.00 บาท
  • สั่งซื้อ
รหัสสินค้า BR00007
50.00 บาท
80.00 บาท
สินค้าหมด

NEW PRODUCTS

รหัสสินค้า SG00318
75.00 บาท
  • สั่งซื้อ
รหัสสินค้า SG00317
295.00 บาท
  • สั่งซื้อ
รหัสสินค้า BA20002
695.00 บาท
  • สั่งซื้อ
รหัสสินค้า BA20001
485.00 บาท
  • สั่งซื้อ
รหัสสินค้า SG00316
185.00 บาท
  • สั่งซื้อ
รหัสสินค้า AG00334
40.00 บาท
  • สั่งซื้อ
รหัสสินค้า AG10041
75.00 บาท
  • สั่งซื้อ

เข้าร่วมร้านค้า

ร้านArduitronics
ร้านArduitronics
/www.arduitronics.com/
สมัครสมาชิกร้านนี้ เพื่อรับสิทธิพิเศษ

STATISTICS

หน้าที่เข้าชม6,977,683 ครั้ง
ผู้ชมทั้งหมด2,178,242 ครั้ง
เปิดร้าน21 พ.ค. 2556
ร้านค้าอัพเดท17 ส.ค. 2561

MEMBER

เข้าสู่ระบบด้วย
เข้าสู่ระบบ
สมัครสมาชิก

ยังไม่มีบัญชีเทพ สร้างบัญชีใหม่ ไม่เกิน 5 นาที
สมัครสมาชิก (ฟรี)
Go to Top
พูดคุย-สอบถาม คลิก