Posted on

Manual of install OAK module

OAK Module hardware installation

Insert the OAK 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 OAK module installation is done, let us move to software installation.

OAK Module software installation

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

Use our firmware

Go to the SwitchPi official website download the switchpi OAK firmware – switchpi-with-gui-1.0.1.imag.zip  in here . The switchpi-oak firmware currently version is 1.0.1, 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@oak:~/pitdm# unzip switchpi-with-gui-1.0.1.img.zip
root@oak:~/pitdm# dd if=switchpi-with-gui-1.0.1.img of=/dev/sdb bs=4M

Compile driver by yourself

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

Power Up

Remove the SD card from Linux PC and insert it to your Raspberry Pi 2/3 board, plug the 9V 1A power supply which is with your OAK module together when you received your order as below shows

IMG_7919

Please pay attention in here, as our OAK module feeds your Raspberry Pi power as well, thus you DO NOT require to insert the Raspberry Pi USB DC power supply anymore !!!

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 OAK module, for the details, check it out in here.

IMG_7916