简介 [color=rgba(0, 0, 0, 0.87)]本威力加强包由 PerfXLab 提供,主要包括: - 基于D1-H哪吒开发板移植 Debian11 系统,并预装LXDE桌面环境。
- 适配多款传感器,包括:倾斜模块sw-520 d、循迹避障模块TCRT5000、光照强度传感器BH1750FVI----i2c、大气压强传感器BMP280等。传感器套件可在PerfXLab官方淘宝店上购买到。
上手说明[color=rgba(0, 0, 0, 0.87)] [color=var(--md-typeset-a-color)] [color=rgba(0, 0, 0, 0.87)]1.于HDMI接口接入线缆至显示器; [color=rgba(0, 0, 0, 0.87)]2.于USB HOST 接口上连接鼠标和键盘; [color=rgba(0, 0, 0, 0.87)]3.于POWER接口上连接供电线; [color=rgba(0, 0, 0, 0.87)]4.通电1分钟左右系统启动完成进入登录界面,在此过程中,LED灯会亮蓝灯,5秒后熄灭。 [color=rgba(0, 0, 0, 0.87)]5.系统账户和密码: [color=rgba(0, 0, 0, 0.87)]账号:root [color=rgba(0, 0, 0, 0.87)]密码:rvboards [color=rgba(0, 0, 0, 0.87)] [color=var(--md-typeset-a-color)] [color=rgba(0, 0, 0, 0.87)]6.终端 [color=rgba(0, 0, 0, 0.87)]双击桌面第五个图标LXTerminal; [color=rgba(0, 0, 0, 0.87)] [color=var(--md-typeset-a-color)] [color=rgba(0, 0, 0, 0.87)]7.wifi配置 [color=rgba(0, 0, 0, 0.87)]双击桌面第二个图标connman setting: [color=rgba(0, 0, 0, 0.87)] [color=var(--md-typeset-a-color)] 传感器Demo倾斜模块sw-520 d code" style="box-sizing: inherit; -webkit-tap-highlight-color: transparent; font-size: inherit; font-family: inherit; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-width: 0px; border-style: initial; border-color: initial; position: absolute; top: 0.5em; right: 0.5em; z-index: 1; width: 1.5em; height: 1.5em; border-radius: 0.1rem; outline: none; outline-offset: 0.1rem; cursor: pointer; transition: color 0.25s ease 0s;">sudo ./sw520dgpio44.sh需要使用杜邦线连接模块; 连接实物图如下图所示,具体请查看原理图:
[color=rgba(0, 0, 0, 0.87)] [color=var(--md-typeset-a-color)] [color=rgba(0, 0, 0, 0.87)] [color=var(--md-typeset-a-color)] [color=rgba(0, 0, 0, 0.87)] [color=var(--md-typeset-a-color)] [color=rgba(0, 0, 0, 0.87)] [color=var(--md-typeset-a-color)] 循迹避障模块TCRT5000 code" style="box-sizing: inherit; -webkit-tap-highlight-color: transparent; font-size: inherit; font-family: inherit; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-width: 0px; border-style: initial; border-color: initial; position: absolute; top: 0.5em; right: 0.5em; z-index: 1; width: 1.5em; height: 1.5em; border-radius: 0.1rem; outline: none; outline-offset: 0.1rem; cursor: pointer; transition: color 0.25s ease 0s;">sudo ./tcrt5000gpio44.sh[color=rgba(0, 0, 0, 0.87)] [color=var(--md-typeset-a-color)] [color=rgba(0, 0, 0, 0.87)] [color=var(--md-typeset-a-color)] [color=rgba(0, 0, 0, 0.87)] [color=var(--md-typeset-a-color)] [color=rgba(0, 0, 0, 0.87)] [color=var(--md-typeset-a-color)] 光照强度传感器BH1750FVI----i2c code" style="box-sizing: inherit; -webkit-tap-highlight-color: transparent; font-size: inherit; font-family: inherit; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-width: 0px; border-style: initial; border-color: initial; position: absolute; top: 0.5em; right: 0.5em; z-index: 1; width: 1.5em; height: 1.5em; border-radius: 0.1rem; outline: none; outline-offset: 0.1rem; cursor: pointer; transition: color 0.25s ease 0s;">make ./runtest.sh[color=rgba(0, 0, 0, 0.87)] [color=var(--md-typeset-a-color)] [color=rgba(0, 0, 0, 0.87)] [color=var(--md-typeset-a-color)] [color=rgba(0, 0, 0, 0.87)] [color=var(--md-typeset-a-color)] 大气压强传感器BMP280- 模块代码地址:[color=var(--md-typeset-a-color)]rvboards/D1-H_demo: The demo projects for Allwinner D1-H SBC (github.com)
code" style="box-sizing: inherit; -webkit-tap-highlight-color: transparent; font-size: inherit; font-family: inherit; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-width: 0px; border-style: initial; border-color: initial; position: absolute; top: 0.5em; right: 0.5em; z-index: 1; width: 1.5em; height: 1.5em; border-radius: 0.1rem; outline: none; outline-offset: 0.1rem; cursor: pointer; transition: color 0.25s ease 0s;">make./runtest.sh- 大气压强传感器BMP280模块连接图如下,具体请查看原理图:
[color=rgba(0, 0, 0, 0.87)] [color=var(--md-typeset-a-color)] [color=rgba(0, 0, 0, 0.87)] [color=var(--md-typeset-a-color)] [color=rgba(0, 0, 0, 0.87)] [color=var(--md-typeset-a-color)] 固件(镜像)基本介绍[color=rgba(0, 0, 0, 0.87)]RVBoards提供的镜像包含4个文件,开发者可以根据自己的需求下载相应的文件。 [color=rgba(0, 0, 0, 0.87)]Windows环境下: [color=rgba(0, 0, 0, 0.87)]RVBoards_D1-H_Debian_lxde_img_win_v0.3.img,镜像里安装了LXDE桌面环境;烧录成功后通电进入登录界面; [color=rgba(0, 0, 0, 0.87)]RVBoards_D1-H_Debian_consose_img_win_v0.3.img,该镜像没有安装GUI,需要使用串口进入系统; [color=rgba(0, 0, 0, 0.87)]Linux环境下: [color=rgba(0, 0, 0, 0.87)]RVBoards_D1-H_Debian_lxde_img_linux_v0.3.gz,镜像里安装了LXDE桌面环境;烧录成功后通电进入登录界面; [color=rgba(0, 0, 0, 0.87)]RVBoards_D1-H_Debian_consose_img_linux_v0.3.gz,该镜像没有安装GUI,需要使用串口进入系统; [color=rgba(0, 0, 0, 0.87)]下载地址: 见文末 固件版本 章节。 [color=rgba(0, 0, 0, 0.87)]该固件由 PerfXLab 提供,版本不断更新中,详见:[color=var(--md-typeset-a-color)]Perf-ABC(RISC-V SoC Board) | RVBoards 论坛 固件烧写Windows10系统下烧写[color=rgba(0, 0, 0, 0.87)]RVBoards_D1-H_Debian_lxde_img_win_v0.3.img或者RVBoards_D1-H_Debian_consose_img_win_v0.3.img [color=rgba(0, 0, 0, 0.87)]Windows10 [color=rgba(0, 0, 0, 0.87)]软件部分:AW PhoenixCard 硬件部分:SD卡,推荐使用32GB - PhoenixCard软件安装(需要环境windows)
[color=rgba(0, 0, 0, 0.87)]点击PhoenixCard.exe进**软件安装; [color=rgba(0, 0, 0, 0.87)] [color=var(--md-typeset-a-color)] Linux系统下烧写[color=rgba(0, 0, 0, 0.87)]RVBoards_D1-H_Debian_lxde_img_linux_v0.3.gz或者RVBoards_D1-H_Debian_consose_img_linux_v0.3.gz [color=rgba(0, 0, 0, 0.87)]Linux(Ubuntu或者Debian) code" style="box-sizing: inherit; -webkit-tap-highlight-color: transparent; font-size: inherit; font-family: inherit; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-width: 0px; border-style: initial; border-color: initial; position: absolute; top: 0.5em; right: 0.5em; z-index: 1; width: 1.5em; height: 1.5em; border-radius: 0.1rem; outline: none; outline-offset: 0.1rem; cursor: pointer; transition: color 0.25s ease 0s;">dd code" style="box-sizing: inherit; -webkit-tap-highlight-color: transparent; font-size: inherit; font-family: inherit; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-width: 0px; border-style: initial; border-color: initial; position: absolute; top: 0.5em; right: 0.5em; z-index: 1; width: 1.5em; height: 1.5em; border-radius: 0.1rem; outline: none; outline-offset: 0.1rem; cursor: pointer; transition: color 0.25s ease 0s;">sudo gzip -dc RVBoards_D1_Debian_lxde_img_linux_v0.3.gz | sudo dd of=/dev/sdcorsudo gzip -dc RVBoards_D1_Debian_consose_img_linux_v0.3.gz | sudo dd of=/dev/sdc
|