Posted on 1 Comment

Manual of install OAKR2 module

OAKR2 Module hardware installation

Insert the OAKR2 module to a Raspberry Pi 2 or 3 board like below picture shows

oak2_1

We provide 4 plastic screws, use them to fix the OAK board to Raspberry Pi board such as below shows

IMG_7122

The finally looks like below

IMG_7117

Until now, the OAKR2 module installation is done, let us move to software installation.

OAKR2 Module software installation

There are two ways to install the OAKR2 module software, one uses our firmware to get a quick try, another is you can compile whole things by yourself as the OAKR2 module is open source designed.

Use our firmware

Go to the SwitchPi official website download the Switchpi OAKR2 firmware – switchpi-with-gui-r2-1.0.1.imag.zip  from here . The switchpi-oakr2 firmware currently version is 1.0.0, built-in Asterisk-13.20 and Dahdi-2.11.1.

Put the downloaded firmware to a Linux distro PC, then following below steps to clone it to an 8G SD card (we strongly suggested to use a class 10 HC SD card such as below SanDisk one), insert micro SD card to your PC with a USB SD card adaptor, the Linux will recognized it like /dev/sda or /dev/sdb which depends on your OS how many drives, you can check it out with command “dmesg”, we are using the /dev/sdb in here.

SD
root@oakr2:~/pitdm# unzip switchpi-with-gui-r2-1.0.0.img.zip
root@oakr2:~/pitdm# dd if=switchpi-with-gui-r2-1.0.0.img of=/dev/sdb bs=4M

Compile driver by yourself

Please follow the OAKR2 module README.md to compile the driver, https://github.com/lixinswitchpi/oakr2 

Power Up

Remove the SD card from Linux PC and insert it to your Raspberry Pi 2/3 board, plug the Raspberry Pi 5V 2A power supply as below shows

The default IP address is 192.168.4.99, you can ssh log into it with username “pi”, password “raspberry”.

Now you can use your web browser to log into the GUI of SwitchPi to configure your OAKR2 module, the GUI default username and password are admin and admin, for the details of GUI configurations, check it out in here.

Posted on

OAKR2 module specifications

The OAKR2 analogue module is an improved version of OAK, it supports one(1) low power (5V) SwitchPi Stone FXS module, and one (1) built-in FXO.

The modular nature of the cards allows you to mix and match between line (FXO) and station (FXS) interfaces, giving you the exact port configuration you need.

The OAK module is compatibles with all versions of Asterisk using the DAHDI driver framework. Asterisk and DAHDI are available for free from the Asterisk.org website.

The OAK module supports Raspberry Pi 3 B+, Pi 3, Pi 2

Specifications:

  1. One (1) FXO plus one (1) low power SwitchPi Stone FXS or FXO analogue port
  2. Raspberry Pi I2S, SPI bus architectures
  3. Combine line (FXO) and station (FXS) modules
  4. Loop Start or Kewl Start Signaling
  5. Temperature: 0° to 50° C

Firmware:

  1. Asterisk 13.20.0
  2. Dahdi 2.11.1
  3. The OAKR2 module fully supports the SwitchPi own GUI.
  4. The OAK is fully open hardware and software designed, get started in https://github.com/lixinswitchpi/oakr2

Pictures: