Arducam KingKong¶
Introduction¶
Welcome to Arducam KingKong, a smart AI Camera Kit with Raspberry Pi CM4, OAK SOM BW1099, and AR0234 camera for Arducam’s debut in the Pivistation Family introduces a smart AI camera seamlessly uniting Raspberry Pi CM4(4GB RAM Lite 2.4/5.0GHz Wi-Fi&Bluetooth 5.0 CM4104000) and OAK SOM BW1099, unlocking limitless AI potential.
This fusion establishes a dynamic platform for cutting-edge vision applications, catering to AI enthusiasts and professionals alike.
Precision imaging is attained through a global shutter camera. The AR0234 color global shutter camera, equipped with an M12 lens, guarantees distortion-free and accurate imaging, featuring external trigger functionality.
![]() |
![]() |
Product¶
| Product Image | SKU | Resolution | Sensor | Interface | Features | Shutter Type | Focus Type | Field of View(DxHxV) | IR Sensitivity |
|---|---|---|---|---|---|---|---|---|---|
![]() |
B0507 | 2.3MP | AR0234 | HDMI/USB/Ethernet | AI Vision Kit | Global Shutter | Manual | 120°(D)×90°(H)×75°(V) | Integral IR-cut Filter |
Preparation¶
Notes Before Starting:
- The built-in SD card of this product already contains all the required environments.
Equipment you may need:
Host: laptop or desktop with Ethernet interface.
Optional: Monitor, HDMI cable, mouse, keyboard, USB Hub
Please don't run the commands sudo apt-get update and sudo apt-get upgrade on the teminal. It will make the Raspberry Pi unable to detect the camera. If you have already run the commands, please refer to the following part to recovery it:
"I have done the `sudo apt-get update/upgrade`, how can I roll back to the available version of camera kits?"
-- Please refer to the following doc to download the entire image:
Arducam KingKong CM4 All-in-one kit.imageQuick Start Guide¶
Help Center
There are two options you can choose to access Arducam KingKong. Connect KingKong to the host via an Ethernet cable or connect KingKong to the router via an Ethernet cable:
Option 1. Connect the host with Ethernet Cable¶
Hardware Connection
¶
- Step1.
Connect the power supply and Ethernet cable to Kingkong
- Step2.
Connect the Ethernet cable to Host
Software Operation
¶
The KingKong Ethernet interface owns a fixed IP address by default. (10.254.10.1)
- Step1. Find the Device IP address:
After connecting the host and KingKong using a network cable, open the host network settings:
- Step2. Set the host ipv4 to the following format:
- Step3. Open a web page on the host and input
http://10.254.10.1:8081to enter the main network service interface.
Homepage
Network service page:
Display the camera status, including format, resolution, frame rate,etc.:
Displays the endpoint status, which only exists when using the camera-streamer service and can be accessed directly through the displayed link.
Tip
The modes contains push streaming modes of various protocols.
Among them, rstp needs streaming software, such as vlc. The rest can be used in web pages.
Settings
Network Setting:
List all network ports. You can switch between static IP and dynamic IP for a single network port.
- Wired network connection
switch the current IP address to a static or dynamic address:**
- Wireless network connection
It will list all the Wi-Fi accessible networks in the dialog box.

Double-click the desired Wi-Fi network, enter password and click Connect.

The currently connected Wi-Fi network will be indicated with an asterisk (*) in the first column.

Toggle and switch service plugins:
1. libcamera-net
Based on the http push service implemented by libcamera, you can choose different post-processing methods and push the processed images to the front-end page for preview.
2. discovery_server
Used to discover other devices and control all devices to take photos.
Note
AfMode control does not have camera support. The remaining functions can be controlled by sliding the slider.
Option 2. Connect the router with Ethernet cable¶
Hardware Connection
¶
Connect Arducam KingKong to the router using an Ethernet cable. And connect the monitor to KingKong using an HDMI cable.
You can choose a keyboard as a peripheral.
- Step1.
Connect the power supply and Ethernet cable to Kingkong
- Step2.
Connect the Ethernet cable to router
- Step3.
Connect the monitor with HDMI Cable
- Step4.
Connect peripherals (keyboard or mouse). You can also connect more peripherals through the USB hub.
Software Operation
¶
- Step1. Find the Device IP address:
After the connection is completed, you can log in to the system and use the command to view the IP.
Enter the terminal, and then use the following command to view:
ifconfig
Example:
- Step2. Enter
http://<ip address>:8081on the host web page to enter the network service interface
Homepage
Network service page:
Display the camera status, including format, resolution, frame rate,etc.:
Displays the endpoint status, which only exists when using the camera-streamer service and can be accessed directly through the displayed link.
Tip
The modes contains push streaming modes of various protocols.
Among them, rstp needs streaming software, such as vlc. The rest can be used in web pages.
Settings
Network Setting:
List all network ports. You can switch between static IP and dynamic IP for a single network port.
For example: switch the current IP address to a static or dynamic address:
Toggle and switch service plugins:
1. libcamera-net
Based on the http push service implemented by libcamera, you can choose different post-processing methods and push the processed images to the front-end page for preview.
2. discovery_server
Used to discover other devices and control all devices to take photos.
Note
AfMode control does not have camera support. The remaining functions can be controlled by sliding the slider.
Run the AI Demos¶
Note
You will need an HDMI cable to connect a monitor to display the demos.
1. Turn off the Push Streaming service (it is enabled by default).
In Settings, turn off all the areas selected by the red box below. If you need network streaming later, please come back here to restart it.
2. Run the demo
cd picamera2_oak_demo
python demo.py
External Trigger¶
External Trigger Connection¶
Please use the connecting cable (M8-8A) in the picture below to connect the device to the trigger. The connection port has been marked in the picture. (Both ends can be connected)
Pin Definition¶
Circular Connector Pin out:
Corresponding signal definition:
| PIN | Signal | I/O | Description | Characteristics | Wire color | ||
|---|---|---|---|---|---|---|---|
| Min | Type | Max | |||||
| 1 | VCC | POWER | Reserved signal | / | / | / | White |
| 2 | STROBE_OUT | O | Strobe output signal for cameras (Open Collector) | / | / | 24V | Brown |
| 3 | TRIGGER_IN | I | Exposure synchronization input signal for cameras | 3.3V | / | 24V | Green |
| 4 | Isolated GND | GND | Isolated ground for STROBE/TRIGGER | / | / | / | Yellow |
| 5 | GND | GND | Ground | / | / | / | Gray |
| 6 | GPIO19 | I/O | CM4_BCM GPIO19 | 2.0V | 3.3V | 3.3V | Pink |
| 7 | GPIO13 | I/O | CM4_BCM GPIO13 | 2.0V | 3.3V | 3.3V | Blue |
| 8 | GPIO6 | I/O | CM4_BCM GPIO6 | 2.0V | 3.3V | 3.3V | Red |
Trigger signal requirements:
Pulse level 3.3V, recommended duration 500us-1ms
Enter external trigger mode¶
- Step1. Find IP address
You can select the corresponding Tutorial on obtaining IP address according to your Ethernet cable connection option below:
IP address acquisition - Option 1. Connect the host with Ethernet Cable
IP address acquisition - Option 2. Connect the router with Ethernet cable
- Step2. Connect the Device
According to the previous step, we got the device IP address and can now log in remotely to access the AI function.
#Default username and password
user:pi
passwd: raspberrypi
Open the terminal and input the following commands (supported by both Windows and Linux systems)
ssh pi@<ip_address>
example:
ssh pi@192.168.0.101
- Step3. Enter external trigger mode
After connecting the device, please execute the following command on the terminal to enter the external trigger mode:
v4l2-ctl -c trigger_mode=1 -d /dev/v4l-subdev0
If we use v4l2-ctl -l -d /dev/v4l-subdev0 and find that the value of the trigger_mode part in the User Controls is 1, it means that the external trigger mode has been correctly entered.

























