yahboom
HomeLearn
Solution
Blog
Online Store
About Us
EN/中文
RDK X5 MagicBox📖
1.RDK MagicBox
  • 1. RDK MagicBox Official Materials
  • 2. Troubleshooting boot failure
  • 3. Linux memory query
2.RDK MagicBox Introduction
  • 1. Introduction to RDK MagicBox
  • 2. Write System File
  • 3. Hardware Interface Description
3.RDK MagicBox User Guide
1. Quick Start
  • Quick Start
2. Basic Peripheral Usage
  • Basic Peripheral Usage
3. Algorithm Development
  • 1. Stereo Depth Estimation
  • 2. Gesture Interaction
  • 3. Voice Interaction
4.RDK MagicBox Basic Settings
  • 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.MIPI Camera Usage
5.RDKX5 Magicbox Basic Development Course
For C language
  • 1. Camera Image Acquisition and Display
  • 2. Camera Image Local Saving
  • 3. Camera Image Acquisition and Encoding
  • 4. Video File Decoding and Display
  • 5. RTSP Stream Decoding
  • 6. VPS Scaling Example
  • 7. Target Detection Algorithm — focs
  • 8. Target Detection Algorithm — YOLOv5s
  • 9. Using CAN
For Python language
  • 1. Prerequisites Before Using Pin Functions
  • 2. Using GPIO
  • 3. Using PWM
  • 4. Use serial port
  • 5. Using I2C
  • 6. Using SPI
For Linux Development
  • Linux Development Guide
6.Online AI Model Course
Online AI Model Course(Text Interaction)
  • 0. Preparation before use
  • 1. OpenRouter Large Model API Aggregation Platform
  • 2. Multimodal Visual Understanding Application
  • 3. Multimodal Visual Positioning Application
  • 4. Multimodal Table Scanning Application
  • 5. Multimodal Autonomous Agent Application
Online AI Model Course(Voice Interaction)
  • 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 Positioning Application
  • 6. Multimodal Table Scanning Application
  • 7. Multimodal Autonomous Agent Application
  • 8. AI Large Model Online Voice Assistant
7.OpenClaw Embodied AI Development
  • 1. Introduction to OpenClaw
  • 2. OpenClaw Deployment
  • 3. OpenClaw Whatsapp Plugin Application
  • 4. OpenClaw WebChat Interaction
  • 5. OpenClaw TUI Interaction
  • 6. OpenClaw Tool Introduction
  • 7. OpenClawGate Gateway User Manual
  • 8. OpenClaw Plugin Feature Introduction
  • 9. OpenClaw ClawHub 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‑programmed Status Light Control
  • 15. OpenClaw Application - AI‑programmed Servo Control
  • 16. OpenClaw Application - Dedicated AI Assistant
8.ROS2 Basic Tutorial
  • 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
  • Code
  • Software_tools
  • SystemFile
Download ZIP

Welcome to RDK X5 MagicBox repository

3. Hardware Interface Description

Hardware Interface Description

Hardware Interface Description1. RDK X5 Interface Distribution2. RDK MagicBox Interface, Buttons and Indicator Lights Description3. Power Interface4. Debug Serial Port (Flash Connect Port)5. Wired Ethernet Port6. HDMI Display Interface7. USB InterfaceConnecting USB Flash DriveConnecting USB Serial Adapter Board8. MIPI CSI Interface9. 3.5mm Headphone Jack10. Speaker Vents11. Microphone12. Function Buttons and Status Lights13. LCD Display Interface14. Micro SD Interface15. Wi-Fi Antenna Interface16. CANFD Interface17. 40PIN Header Interface

1. RDK X5 Interface Distribution

      
No.FunctionNo.FunctionNo.Function
1Power Supply Interface (USB Type C)2RTC Battery Interface3Easy Connect Interface (USB Type C)
4Debug Serial Port (Micro USB)52-way MIPI Camera Interface6Gigabit Ethernet Port, supports PoE
74-way USB 3.0 Type A Interface8CAN FD High-speed Interface940PIN Interface
10HDMI Display Interface11Multi-standard Compatible Headphone Jack12Onboard Wi-Fi Antenna
13TF Card Interface (Bottom)14LCD Display Interface (MIPI DSI)  

2. RDK MagicBox Interface, Buttons and Indicator Lights Description

Interface, Button and Indicator Light Description

3. Power Interface

The development board provides one USB Type C interface (interface 1) as the power supply interface. It is necessary to use a power adapter supporting 5V/5A to power the development board. After connecting the power adapter to the development board, the green power indicator and orange indicator on the development board light up, indicating the development board's power supply is normal.

Warning

Please do not use the computer USB interface to power the development board, otherwise it may cause abnormal power-off and repeated restarts due to insufficient power supply.

4. Debug Serial Port (Flash Connect Port)

The development board provides one debug serial port to implement serial login and debugging functions. The parameter configuration of the computer serial tool is as follows:

The development board provides one debug serial port (interface 4) to implement serial login and debugging functions. The parameter configuration of the computer serial tool is as follows:

  • Baud rate: 115200
  • Data bits: 8
  • Parity: None
  • Stop bits: 1
  • Flow Control: None

When connecting the serial port, you need to connect the development board interface 4 to the PC via a Micro-USB cable.

Usually, users need to install the CH340 driver on the computer when using this interface for the first time. Users can search for CH340 serial driver keyword to download and install.

5. Wired Ethernet Port

The development board provides one Gigabit Ethernet interface (interface 6), supporting 1000BASE-T and 100BASE-T standards, defaulting to static IP mode with IP address 192.168.127.10. To confirm the development board's IP address, you can log in to the device via serial port and use the ifconfig command to check the eth0 network interface configuration.

Additionally, this interface supports PoE (Power over Ethernet) function, which can transmit data and power simultaneously through the network cable without additional power cables, making device installation more convenient and flexible.

6. HDMI Display Interface

The development board provides one HDMI (interface 10) display interface, supporting up to 1080P resolution. The development board outputs Ubuntu system desktop through the HDMI interface on the monitor (Ubuntu Server version displays logo icon). Additionally, the HDMI interface supports real-time camera and network stream display functions.

7. USB Interface

The development board implements multi-way USB interface expansion through hardware circuits, meeting users' needs for multi-way USB device access. The interface descriptions are as follows:

Interface TypeInterface No.Interface QuantityInterface Description
USB 3.0 Type CFlash Connect Port1-wayUSB Device mode, used to connect to host for ADB, Fastboot, system flashing and other functions
USB 3.0 Type AInterface 74-wayUSB Host mode, used to connect USB 3.0 peripherals

Connecting USB Flash Drive

The development board USB Type A interface (interface 7) supports USB flash drive function, can automatically detect USB flash drive connection and mount it. The default mount directory is /media/sda1.

Connecting USB Serial Adapter Board

The development board USB Type A interface (interface 7) supports USB serial adapter board function, can automatically detect USB serial adapter board connection and create device nodes /dev/ttyUSB* or /dev/ttyACM* (asterisk represents numbers starting from 0).

8. MIPI CSI Interface

The development board provides 2-way MIPI CSI interfaces (interface 5), which can realize 2-way MIPI camera access, supporting dual-camera access. Currently, the development board is adapted to various specifications of camera modules. The module models and specifications are as follows:

No.SensorResolutionFOVI2C Device Address
1IMX219800W  
2OV5647500W  

The camera module connects to the development board via FPC ribbon cable. Note that the blue side of the cable ends should be facing up and inserted into the connector.

After installation is complete, users can use the i2cdetect command to confirm whether the module I2C address can be detected normally.

Important Note: 1. It is strictly prohibited to plug or unplug the camera when the development board is not powered off, otherwise the camera module can be easily burned.

2. The 2 MIPI CSI interfaces of this product have been connected with a dual-camera. The dual-camera is used for image perception and depth information acquisition, supporting gesture recognition, target positioning, spatial measurement and other usage scenarios.

9. 3.5mm Headphone Jack

This headphone jack, as shown in the RDK MagicBox interface diagram, is used for audio input and output.

10. Speaker Vents

This speaker vent, as shown in the RDK MagicBox interface diagram, is used for audio output.

11. Microphone

The RDK MagicBox system has a built-in microphone used to receive voice commands when running the official voice interaction demo.

12. Function Buttons and Status Lights

The RDK MagicBox system has function buttons and status lights. The status lights are shown in the figure. The buttons are located beside the metal shell above the fan.

Power on:

White lights light up in sequence, wait approximately 50s

White light flashes with sound effect: Startup complete

Function buttons: Start preset examples; with the light strip facing the user from left to right:

Button 1: Start dual-camera depth estimation function, light turns red

Button 2: Start gesture interaction function, light turns green

Button 3: Start voice interaction function, light turns blue

13. LCD Display Interface

RDK X5 provides one MIPI DSI LCD display interface (interface 14), which can be used for LCD screen and other access. The interface uses a 15-pin FPC connector, which can directly connect to various Raspberry Pi LCD screens.

14. Micro SD Interface

The development board provides 1-way Micro SD storage card interface. It is recommended to use a storage card with at least 32GB capacity to meet the installation requirements of the Ubuntu operating system and related function packages. The default package for this product is a 32GB memory card package, which meets the operation of our cases.

Warning

Hot-swapping of the TF storage card is prohibited during development board use, otherwise it may cause abnormal system operation or even damage to the storage card file system.

15. Wi-Fi Antenna Interface

The development board's wireless network supports two configurations: onboard and external antennas. Normally, the onboard antenna can meet usage needs. When the development board is installed with a metal shell, it is necessary to connect an external antenna to the antenna interface beside (interface 12) to enhance signal strength.

16. CANFD Interface

RDK X5 development board provides CANFD interface, which can be used for CAN and CAN FD communication.

17. 40PIN Header Interface

RDK X5 development board provides a 40PIN header interface, with I/O signal using 3.3V level design. The pin definitions are compatible with Raspberry Pi and other products. The detailed pin definitions and multiplexing relationships are as follows:

40

The development board 40PIN interface location provides silkscreen netlist for users to compare operations. The PIN1 and PIN40 positions are as follows:

image-20241017201327921

Write System File
Quick Start

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
QR Code

Copyright © 2017-2026 Yahboom. All Rights Reserved.

EN/中文