OAKR2 Module hardware installation
Insert the OAKR2 module to a Raspberry Pi 2 or 3 board like below picture shows
We provide 4 plastic screws, use them to fix the OAK board to Raspberry Pi board such as below shows
The finally looks like below
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.
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.