Toybrick RK1808 User manual

http://t.rock-chips.com/en
Page 1 of 32
RK1808 AI Compute Stick User manual
V1.2.0

Page 2 of 32
Table of Contents
1OVERVIEW..................................................................................................................................................... 3
2SPECIFICATION........................................................................................................................................... 4
2.1 MINI-SYSTEM REQUIREMENT ............................................................................................................... 4
3DOCUMENT DESCRIPTION................................................................................................................. 5
4GETTING START .................................................................................................................................... 6
4.1 ENVIRONMENT PREPARATION............................................................................................................... 6
4.2 RKNN-TOOLKIT INSTALLATION .......................................................................................................... 6
4.3 DEVICE ACCESS PERMISSION MODIFICATION ........................................................................................ 8
4.4 RUNNING DEMO ON RK1808 AI COMPUTE STICK................................................................................. 9
5WEB CONFIGURATION ...................................................................................................................... 12
5.1 THE HOST NETWORK CONFIGURATION.............................................................................................. 12
5.2 WEB LOGIN .......................................................................................................................................... 17
5.3 INTRODUCTION OF MAIN FUNCTIONS OF WEB PAGES ...................................................................... 18
6SLAVE MODE DEVELOPMENT......................................................................................................... 25
7MASTER MODE DEVELOPMENT .................................................................................................... 27
7.1 AI DEVELOPMENT PROCESS INTRODUCTION UNDER HOST MODE......................................................................... 28
7.2 DEVELOPMENT TOOL TOYBRICK_DEPLOYC ..................................................................................................... 28
7.2.1 Development tool toybrick_deployc command list and command illustration ............................. 28
7.2.2 Development process based on Toybrick platform........................................................................ 31
7.2.3 Introduction of product deployment .............................................................................................. 32

Page 3 of 32
1Overview
TB-RK1808 AI compute stick is Rockchip's Toybrick series. It is equipped with
Rockchip's RK1808 neural network processor. It has low power consumption and high
performance, and can be applied to various application fields of artificial intelligence. . The
Host can obtain powerful deep learning and inference ability through the RK1808 AI compute
stick. With the powerful computing power of the RK1808 AI compute stick, embedded
devices can build AI algorithms on the edge of the network, making it easy for traditional
embedded devices to upgrade artificial intelligence.
RK1808 AI compute stick can be used to assist inference calculation, and also supports
independent AI compute function through secondary development.

Page 4 of 32
2Specification
Specification
CPU
RK1808
Memory
1GB LPDDR
Storage
8GB EMMC
Interface
USB3.0 Type-A
Temperature
0℃~40℃
Size
82x31x13mm
2.1 Mini-system requirement
Ubuntu 16.04 or x86_64 PC
CPU intel core i3
USB 3.0
2 GB RAM
4 GB Storage

Page 5 of 32
3 Document description
Plug the RK1808 AI compute stick into the USB port of PC, and the usb device will be
displayed on the PC. The directory structure and document description of the usb device is as
follows:
Directory
Document
Description
doc
RK1808_RKNN_SDK_DEVELOPER_GUIDE_EN.pdf
The guide of RK1808 RKNN SDK
programming for C API and python
API.
RK1808_RKNN_SDK_DEVELOPER_GUIDE_CN.pdf
RK3399Pro_Linux&Android_RKNN_API_EN.pdf
The guide of RKNN SDK
programming for C API in the Host.
RK3399Pro_Linux&Android_RKNN_API_CN. pdf
RKNN_Toolkit User_Guide_EN. pdf
RKNN-Toolkit and python API user
guide.
RKNN_Toolkit User_Guide_CN.pdf
RK1808_AI_Compute_Stick_User_manual_EN.pdf
RK1808 AI compute stick user
manual.
RK1808_AI_Compute_Stick_User_manual_CN.pdf
RK1808_AI_Compute_Stick_Easy_Start_Demo_Guide_EN.pdf
The guide of Easy start yovov3
demo.
RK1808_AI_Compute_Stick_Easy_Start_Demo_Guide_CN.pdf
driver
ntb
USB ntd windows driver.
example
mobilenet_v1
Mobilenet demo.
yolov3
The guide of Easy start yovov3
demo.
rknn
Npu_transfer_proxy
RKNN-Toolkit the Host
communication agenda.
Rknn-api
The Host C library and head file for
RKNN SDK programming.
Rknn-toolkit
RKNN-Toolkit installation
package.
tool
Script and tool.
Table of contents