Skip to content

Echo: A desk mate can talk to you, translate, monitor PC , make memos. It even have AI camera.

Notifications You must be signed in to change notification settings

No-Chicken/Echo-Mate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Echo-Mate


1. Overview

这是一个基于rv1106,可以陪你聊天,翻译,能跑视觉,能够二次开发,小巧的linux桌面助手和开发板~


2. 开发环境

推荐使用ubuntu22.04 LTS ,首先拉下整个项目:

git clone https://github.com/No-Chicken/Echo-Mate.git
cd Echo-Mate
git submodule update --init --recursive

如果要递归更新所有子模块,请执行:

git submodule update --remote --merge --recursive

SDK开发环境与系统配置详见SDK文件夹中的README.md.


3. 功能演示

todo


4. 开发板使用

注:登录账号和密码,改过的SDK都设置为了root,如果需要改密码,除了常规的在buildroot deconfig里面更改,还需要在 /sysdrv/tools/board/buildroot/shadow_defconfig修改你的密码计算哈希值,再编译。

4.1 如何使用WIFI:

  1. 开启wifi

    ifconfig wlan0 up
    
  2. 进入wpa conf,vi /etc/wpa_supplicant.conf,配置wifi名和密码。

    ctrl_interface=/var/run/wpa_supplicant
    ap_scan=1
    update_config=1
    
    network={
            ssid="wifi-name"
            psk="12345678"
            key_mgmt=WPA-PSK
    }
  3. 创建一个socket文件

    mkdir -p /var/run/wpa_supplicant
  4. 然后使用wpa_supplicant -B -c /etc/wpa_supplicant.conf -i wlan0连接wifi,然后需要等待一会,会输出以下内容:

    [root@root ]# wpa_supplicant -B -c /etc/wpa_supplicant.conf -i wlan0
    
    Successfully initialized wpa_supplicant
    rfkill: Cannot open RFKILL control device
    [  670.124975] RTL8723BS: rtw_set_802_11_connect(wlan0)  fw_state = 0x00000008
    [  678.988193] RTL8723BS: rtw_set_802_11_connect(wlan0)  fw_state = 0x00000008
    [  688.127631] RTL8723BS: rtw_set_802_11_connect(wlan0)  fw_state = 0x00000008
    [  697.804890] RTL8723BS: rtw_set_802_11_connect(wlan0)  fw_state = 0x00000008
    [  698.446240] RTL8723BS: start auth
    [  698.466241] RTL8723BS: auth success, start assoc
    [  698.521065] RTL8723BS: rtw_cfg80211_indicate_connect(wlan0) BSS not found !!
    [  698.521119] RTL8723BS: assoc success
    [  698.598174] RTL8723BS: send eapol packet
    [  698.643221] RTL8723BS: send eapol packet
    [  698.644951] RTL8723BS: set pairwise key camid:4, addr:9e:a4:d3:f5:da:8d, kid:0, type:AES
    [  698.647953] RTL8723BS: set group key camid:5, addr:9e:a4:d3:f5:da:8d, kid:1, type:AES
  5. 配置IP

    udhcpc -i wlan0
  6. 然后你就可以ping一下baidu等网站测下网络了

  7. 如果想要切换WiFi,需要重启 wpa_supplicant 服务,需要运行

    killall -9 wpa_supplicant 

4.2 如何传输文件:

  1. 使用SSH

    # 传输文件
    scp ./send_file.txt root@172.32.0.93:/root
    # 传输文件夹
    scp -r ./send_files root@172.32.0.93:/root
  2. 其他 samba, ADB这些详见网上教程


4.3 如何测试屏幕:

  1. 调节背光

    echo 49 > /sys/class/backlight/backlight/brightness
  2. 测试花屏和清屏

    cat /dev/urandom > /dev/fb0
    cat /dev/zero > /dev/fb0

About

Echo: A desk mate can talk to you, translate, monitor PC , make memos. It even have AI camera.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published