yahboom
HomeLearn
Solution
Blog
Online Store
About Us
EN/中文
RDK X5 Board📖
1.Introduction to RDK X5 board
  • 1.Introduction to RDK X5 board
  • 2.Write system file
  • 3.Hardware interface description
  • 4.Install case and other accessories
  • 5.Use 7-inch display
2.Basic settings course
  • 1.Network configuration
  • 2.Remote login
  • 3.Update system
  • 4.srpi-config user guide
  • 5.config. txt configuration file
  • 6.Self-startup setting
  • 7.RDK exclusive command usage
  • 8.Linux command usage
  • 9.GPIO readwrite operation
  • 10.Image classification algorithm
  • 11.Use USB camera
  • 12.Use MIPI camera
  • 13.Binocular camera depth algorithm
3.Basic development course
C language
  • 1.Camera image display
  • 2.Local save camera images
  • 3.Camera image encoding
  • 4.Video file decoding
  • 5.RTSP streaming decoding
  • 6.VPS scaling example
  • 7.Target detection algorithm-fcos
  • 8.Target detection algorithm-YOLOv5s
  • 9.Using CAN
Python
  • 0.ReadMe
  • 1.Using GPIO
  • 2.Using PWM
  • 3.Using Serial port
  • 4.Using I2C
  • 5.Using SPI
4.ROS expansion board
Python basic control
  • 0.Bind PCB port devices
  • 1.Install the Rosmaster driver library
  • 2.Buzzer whistle
  • 3.Control PWM servo
  • 4.RGB colorful light bar special effects display
  • 5.Control the forward and reverse rotation of the motor
  • 6.Control the movement of the robot
  • 7.Control Serial Servo
  • 8.Update firmware of expansion board
  • 9.Drive OLED
ROS2 robot control
  • 1.Function package usage process
  • 2.Robot information release
  • 3.Robot keyboard control
  • 4.Robot state estimation
  • 5.Robot calibration
  • 6.URDF model
5.T-MINI PLUS Lidar
  • 0.Preparation before use(Must read)
  • 1.Environment setup
  • 2.T-MINI PLUS LiDAR drive
  • 3.Handheld LiDAR mapping
6.AI VIEW Depth camera
AI VIEW Depth camera use
  • 1.AI VIEW Depth camera use
  • 2.Camera internal parameter calibration
  • 3.Color tracking
  • 4.KCF object tracking
Mediapipe functions
  • 1.Hand detection
  • 2.Attitude detection
  • 3.Overall inspection
  • 4.Facial detection
  • 5.Facial recognition
OpenCV series courses
  • 1.ROS+opencv application
  • 2.QR code creation and recognition
  • 3.AR vision
7.Offline AI model course
Offline-LLM-Text-Interaction
  • 0.AI-Large-Model-Image-Description
  • 1.AI-Large-Model-Environment-Deployment
  • 2.LLM-Conversation-Platform-Installation
  • 3.Meta-AI-Llama3.2-Model
  • 4.Alibaba-Cloud-Qwen3-Model
  • 5.Microsoft-Phi-4-mini-Model
  • 6.DeepSeek-DeepSeek-R1-Model
  • 7.Alibaba-Cloud-Qwen2.5vl-Vision-Multimodal-Model
  • 8.Google-Gemma3-Vision-Multimodal-Model
  • 9.Llava-Vision-Multimodal-Model
  • 10.MiniCPM-V-Vision-Multimodal-Model
  • 11.Multimodal-Text-to-Image-Application
  • 12.Multimodal-Video-Analysis-Application
  • 13.Multimodal-Visual-Understanding-Application
  • 14.Multimodal-Visual-Localization-Application
  • 15.Multimodal-Table-Scanning-Application
  • 16.Multimodal-Autonomous-Agent-Application
Offline-LLM-Voice-Interaction
  • 0.Voice-Interaction-Hardware-Connection-Must-Read
  • 1.Offline-Speech-to-Text-ASR
  • 2.Offline-Text-to-Speech-TTS
  • 3.AI-Large-Model-Voice-Interaction
  • 4.Multimodal-Visual-Understanding-Voice-Interaction
  • 5.Multimodal-Text-to-Image-Application
  • 6.Multimodal-Video-Analysis-Application
  • 7.Multimodal-Visual-Localization-Application
  • 8.Multimodal-Table-Scanning-Application
  • 9.Multimodal-Autonomous-Agent-Application
  • 10.AI-Large-Model-Offline-Voice-Assistant
8.Online AI model course
Online-LLM-Text-Interaction
  • 1.OpenRouter-Large-Model-API-Aggregation-Platform
  • 2.Multimodal-Visual-Understanding-Application
  • 3.Multimodal-Visual-Localization-Application
  • 4.Multimodal-Table-Scanning-Application
  • 5.Multimodal-Autonomous-Agent-Application
Online-LLM-Voice-Interaction
  • 0.Voice-Interaction-Hardware-Connection-Must-Read
  • 1.Online-Speech-to-Text-ASR
  • 2.Online-Text-to-Speech-TTS
  • 3.AI-Large-Model-Voice-Interaction
  • 4.Multimodal-Visual-Voice-Interaction
  • 5.Multimodal-Visual-Localization-Application
  • 6.Multimodal-Table-Scanning-Application
  • 7.Multimodal-Autonomous-Agent-Application
  • 8.AI-Large-Model-Online-Voice-Assistant
9.YOLO26 tutorials
  • 01.YOLO environment construction
  • 02.CLI use
  • 03.Object detection
  • 04.Instance segmentation
  • 05.Pose estimation
  • 06.Image classification
  • 07.Oriented bounding box object detection
  • 08.Model conversion
  • 09.Dataset annotation
  • 10.Model training conversion
  • 11.Model prediction
10.OpenClaw Deployment and Basic Usagenew
  • 01.OpenClaw Quick Start
  • 02.OpenClaw Deployment
  • 03.OpenClaw WhatsApp Plugin Application
  • 04.OpenClaw WebChat Interaction
  • 05.OpenClaw TUI Interaction
  • 06.OpenClaw Tools Introduction
  • 07.OpenClawGate Gateway User Manual
  • 08.OpenClaw Features Overview
  • 09.OpenClawClawHub Introduction (Skill Installation)
  • 10.OpenClaw Application - File Management
  • 11.OpenClaw Application - Camera
  • 12.OpenClaw Application - Browser Control
  • 13.OpenClaw Application - Script Execution
  • 14.OpenClaw Application - AI Programming (Peripheral & GPIO Control)
  • 15.OpenClaw Application - Dedicated AI Assistant
  • 16.OpenClaw Web Search Capability Configuration
11.OpenClaw Advanced Developmentnew
1.Preparation Before Use
  • 01. Peripheral Hardware Configuration
  • 02. OpenClaw API-KEY Configuration
  • 03. OpenClaw Model Switching
  • 04. OpenClaw Prompts
  • 05. AI Voice Interaction Configuration
  • 06. Three Dialogue Configuration Tests
2.OpenClaw AI Programming Peripheral Control
  • 1. Servo Control
  • 2. RGB Strip
  • 3. OLED Display
  • 4. Temperature and Humidity Sensor
  • 5. Camera Application
  • 6. AI Script Peripheral Control
3.OpenClaw Peripheral Integration Applications
  • 1. Plant Care Assistant
  • 2. AI Calorie Estimation
  • 3. AI Rock Paper Scissors Game
  • 4. AI Pet
  • 5. AI Weather Station
  • 6. Temperature and Humidity Dashboard
  • 7. Scheduled Tasks
12.ROS2 basic course
  • 1.Introduction to ROS2
  • 2.ROS2 install Humble
  • 3.ROS2 development environment
  • 4.ROS2 workspace
  • 5.ROS2 function package
  • 6.ROS2 node
  • 7.ROS2 topic communication
  • 8.ROS2 service communication
  • 9.ROS2 action communication
  • 10.ROS2 custom interface message
  • 11.ROS2 parameter service case
  • 12.ROS2 meta-function package
  • 13.ROS2 distributed communication
  • 14.ROS2 DDS
  • 15.ROS2 time related API
  • 16.ROS2 common command tools
  • 17.ROS2 rviz2 use
  • 18.ROS2 rqt toolbox
  • 19.ROS2 Launch startup file configuration
  • 20.ROS2 recording and playback tool
  • 21.ROS2 URDF model
  • 22.ROS2 Gazebo simulation platform
  • 23.ROS2 TF2 coordinate transformation
Download
  • System_File
  • Code
  • Tools
Download ZIP

Welcome to RDK X5 Board repository

02.OpenClaw Deployment

02.OpenClaw Deployment

1. OpenClaw Deployment

=============================【NOTE】================================

This section provides the complete installation and deployment tutorial for OpenClaw, which involves many steps. If you want to quickly use OpenClaw, please

follow the tutorial in the first section of this chapter 【01.OpenClaw Quick Start】

====================================================================

1. OpenClaw Deployment1.1 OpenClaw Installation1.1.1 Install OpenClaw1.1.2 Use QuickStart Installation1.1.3 Open OpenClaw Control UI on PC (Windows)1.2 Configure Models (Must Read)1.2.1 Why Configure Models1.2.2 How to Configure Models1. OpenRouter (OpenClaw Built-in Service Provider)2. Bailian (Third-party Service Provider API Example)

This chapter will cover two parts:

  • OpenClaw Installation
  • Configure Models (OpenRouter / Bailian / Ollama)

1.1 OpenClaw Installation

OpenClaw Official Website: https://openclaw.ai/

Open Source Project Address: https://github.com/openclaw/openclaw

1.1.1 Install OpenClaw

1.1.2 Use QuickStart Installation

We use the installation script provided by OpenClaw official

curl -fsSL https://openclaw.ai/install.sh | bash

image-20260326163021487

During this process, the installation script will automatically detect missing environments and assist us with one-click installation

During installation, use the keyboard arrow keys to select options, space bar to select/deselect, and Enter key to confirm and configure

image-20260309143606920

image-20260309143620929

Here we use the QuickStart option to quickly complete OpenClaw installation, we can leave specific configurations for later

If you haven't applied for any API Key, we can choose Skip here, and configure later

image-20260309143825408

image-20260309143900264

For models here we choose to keep the default (configure later)

image-20260309143955255

Select Channel here is mainly used for communication with third-party APPs, we still skip for now

image-20260309144047251

Search provider is the API provider for search services, we choose to skip

image-20260309144138441

Configure "Skills" skills, we choose not to configure for now (select no)

image-20260309144234518

Configure Hooks hooks, we press space bar to select "Skip for now", then press Enter key to confirm

image-20260309144420704

Wait for installation to complete.

After installation is complete, we copy this address for backup (in subsequent tutorials, the token changed because we manually configured the Gateway later, so this address actually doesn't need to be recorded, it will change later)

image-20260309144613951

You need to add the OpenClaw installation location to environment variables, otherwise you may not find the openclaw command in the terminal,

xxxxxxxxxx
echo 'export PATH="$(npm prefix -g)/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc

 

1.1.3 Open OpenClaw Control UI on PC (Windows)

  1. Modify OpenClaw's configuration file to allow other devices within the intranet to access OpenClaw
xxxxxxxxxx
openclaw config

Here we select according to the image below (arrow keys to select, Enter to confirm)

Except for the Token which can be different from our image, everything else should be the same. The key point is the Gateway bind mode item, we need to set it to LAN to allow other devices within our local network to access our OpenClaw

image-20260310145232267

Finally we select Continue to confirm, press Enter, and the configuration is complete!

image-20260310145339979


After completing the configuration, we first start OpenClaw's Gateway. We open a new terminal and enter in the terminal

xxxxxxxxxx
openclaw gateway
  1. Get Access Token

The Token here is the one we just generated in the configuration. If you didn't save it, you can use

xxxxxxxxxx
openclaw dashboard

This command to display the token once, or you can find the ~/.openclaw/openclaw.json file, your token will be configured in this file

image-20260326163127512

  1. On a PC computer within the same local network, configure the environment to connect to Jetson

We open the Cmd terminal on the computer (taking Windows computer as an example, Win+R keys to wake up the shortcut RUN tool, type cmd, then press Enter)

image-20260310145948715

Enter in the console

xxxxxxxxxx
ssh -L 18789:127.0.0.1:18789 sunrise@<sunrise-ip-address>

Note, here needs to be replaced with your RDK board's actual IP address

After pressing Enter here, you need to enter the password (default is sunrise).

image-20260327103435925

  1. Access in Browser

We open the browser on the PC, enter the IP+token address in the address bar (the address we just output from openclaw dashboard, https://127.0.0.1:18789/#token=xxxxxxxxxxxxx). When this interface appears, it means the deployment is successful!

image-20260310150630155


1.2 Configure Models (Must Read)

1.2.1 Why Configure Models

OpenClaw is an AI Agent gateway, which itself does not have the "intelligence" capability of large models. We need to configure large models to give OpenClaw the ability to think and understand

1.2.2 How to Configure Models

Here we take three representative models as examples, which are

  1. OpenRouter (OpenClaw built-in service provider, accessible both domestically and internationally)
  2. Alibaba Bailian Large Model Platform (not an OpenClaw service provider, requires manual configuration)
  3. Ollama (local large model)

Before starting configuration, we need to start OpenClaw's Gateway first.

If you didn't exit the Gateway terminal after completing the deployment in the previous chapter, you can skip this step

We enter in the terminal

xxxxxxxxxx
openclaw gateway

image-20260310153537567

1. OpenRouter (OpenClaw Built-in Service Provider)

Here you need to have completed the application for OpenRouter's API Key according to the previous tutorial (please refer to the previous tutorial 【Online Large Models/4.OpenRouter Large Model API Aggregation Platform】)

OpenRouter's API Key format is like sk-or-v1-b3exxxxxx4xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcddf81d9

We’ll stick with the original onboard‑guided setup for configuration.

xxxxxxxxxx
openclaw onboard

Please select according to my illustrated options

image-20260310154837438

 

image-20260310154908541

Then enter the applied API-Key, press Enter to confirm,

image-20260327104036943

In this next step, we need to select models. Limited by OpenRouter's traffic control policy, we recommend you maintain a balance of $11 or more in your OpenRouter account. For insufficient balance situations, OpenRouter may limit speed (this policy may be modified later, please refer to the latest actual situation). Here we can choose free models (model names ending with free), or choose a free dedicated model from OpenRouter openrouter/free (this is a route that will randomly select free models from those available on OpenRouter. This route will intelligently filter models that support the features required by your request)

image-20260310155243826

At this time, there may be an option requiring API Key entry. We paste the API Key and press Enter to proceed to the next step

Afterwards, we reach other configuration items. We skip them here and choose Skip for all

image-20260310155605478

image-20260310155649391

At this point, it means we have completed the configuration

We can use the TUI function to quickly test

Enter command

xxxxxxxxxx
openclaw tui

After entering, directly type a sentence to greet openclaw (the Input part in the image is what we entered, the green box is the model we selected)

image-20260327104902902

2. Bailian (Third-party Service Provider API Example)

Configuring third-party APIs requires editing Openclaw's configuration file (located at ~/.openclaw/openclaw.json). Here I recommend editing in the web page (Openclaw Control UI)

We open OpenClaw's configuration page in the browser and click these three buttons in sequence

image-20260310160400044

The current existing content is as follows. We need to focus on the agents part

xxxxxxxxxx
{
  "meta": {
    "lastTouchedVersion": "2026.3.8",
    "lastTouchedAt": "2026-03-10T07:56:18.292Z"
  },
  "wizard": {
    "lastRunAt": "2026-03-10T07:56:18.270Z",
    "lastRunVersion": "2026.3.8",
    "lastRunCommand": "onboard",
    "lastRunMode": "local"
  },
  "auth": {
    "profiles": {
      "openrouter:default": {
        "provider": "openrouter",
        "mode": "api_key"
      }
    }
  },
  "agents": {
    "defaults": {
      "model": {
        "primary": "openrouter/openrouter/free"
      },
      "models": {
        "openrouter/auto": {
          "alias": "OpenRouter"
        },
        "openrouter/openrouter/free": {}
      },
      "workspace": "/root/.openclaw/workspace",
      "compaction": {
        "mode": "safeguard"
      },
      "maxConcurrent": 4,
      "subagents": {
        "maxConcurrent": 8
      }
    }
  },
  "tools": {
    "profile": "coding"
  },
  "messages": {
    "ackReactionScope": "group-mentions"
  },
  "commands": {
    "native": "auto",
    "nativeSkills": "auto",
    "restart": true,
    "ownerDisplay": "raw"
  },
  "session": {
    "dmScope": "per-channel-peer"
  },
  "gateway": {
    "port": 18789,
    "mode": "local",
    "bind": "lan",
    "controlUi": {
      "allowedOrigins": [
        "http://localhost:18789",
        "http://127.0.0.1:18789"
      ]
    },
    "auth": {
      "mode": "token",
      "token": "__OPENCLAW_REDACTED__"
    },
    "tailscale": {
      "mode": "off",
      "resetOnExit": false
    },
    "nodes": {
      "denyCommands": [
        "camera.snap",
        "camera.clip",
        "screen.record",
        "contacts.add",
        "calendar.add",
        "reminders.add",
        "sms.send"
      ]
    }
  }
}

We need to add a Models content (in the first level of JSON, meaning this newly added "models" is at the same level as "agents")

Note: You need to replace DASHSCOPE_API_KEY with your actual Bailian API Key, and change baseUrl to the OpenAI Compatible Endpoint matching your account. (Refer to the earlier section for the application procedure.)

For the models here, we take qwen3.5-plus and qwen3-coder-next as examples. If you want to support other models, please refer to this model list https://help.aliyun.com/zh/model-studio/models

image-20260310161214572

xxxxxxxxxx
  "models": {
    "mode": "merge",
    "providers": {
      "bailian": {
        "baseUrl": "https://dashscope.aliyuncs.com/compatible-mode/v1",
        "apiKey": "DASHSCOPE_API_KEY",
        "api": "openai-completions",
        "models": [
          {
            "id": "qwen3.5-plus",
            "name": "qwen3.5-plus",
            "reasoning": false,
            "input": ["text", "image"],
            "contextWindow": 1000000,
            "maxTokens": 65536
          },
          {
            "id": "qwen3-coder-next",
            "name": "qwen3-coder-next",
            "reasoning": false,
            "input": ["text"],
            
OpenClaw Quick Start
OpenClaw WhatsApp Plugin Application

COMPANY

  • About us
  • Team Style
  • Blog

LEARNING & EXPLORATION

  • Tutorials
  • Edge AI hardware
  • Educational robots
  • Embedded intelligent hardware

WHERE TO BUY

  • Yahboom Online Store
  • Amazon
  • Alibaba
  • AliExpress
  • Mercado

TECHNOLOGY SUPPORT

  • Email: support@yahboom.com

BE A DISTRIBUTOR

  • Email: sales@yahboom.com
QR Code

Copyright © 2017-2026 Yahboom. All Rights Reserved.

EN/中文