Skip to content

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VerdureBuddyRover

VerdureBuddyRover 是一个面向小型移动机器人/绿植陪伴车的硬件与软件仓库。当前已整合第一版 ESP32-C3 SuperMini 综合固件,包含 BQ27220 电池计量、DRV8833 双电机控制、BLE 蓝牙键盘按键上报、RGB5050 指示灯,以及面向上位机的 UART 行式调试协议。

项目简介

一个圆滚滚的可爱小车机器人,可以跟你对话聊天,也能用语音控制它前进、后退、转向,是一个能陪你玩、听你话的小车伙伴。

show image

show image

外壳渲染图见 hardware/enclosure 目录,STL 打印文件与 Fusion 360 源文件托管在模型仓库 VerdureLab

当前内容

上位机固件分支

小智上位机固件使用专用分支 verdure-buddy-rover,对应板卡目录为 M5Stack Atom Echo S3R:

推荐目录结构

firmware/             # MCU 固件,按板卡或功能模块分目录
hardware/             # 接线、原理图、PCB、BOM、外壳结构资料
docs/                 # 协议、调试、架构、开发说明
tools/host/           # 上位机调试工具、串口助手、可视化控制台
scripts/              # 构建、烧录、诊断等自动化脚本(后续添加)

固件快速编译

Arduino IDE:打开 firmware/esp32c3_kb_motor/esp32c3_kb_motor.ino,开发板选择 ESP32C3 Dev Module,并启用 USB CDC on Boot

命令行编译示例(Windows):

$env:ARDUINO_DIRECTORIES_DATA="C:\arduino\Arduino15"
$env:ARDUINO_DIRECTORIES_USER="C:\arduino\Arduino"
& "$env:USERPROFILE\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\resources\arduino-cli.exe" compile `
	--fqbn esp32:esp32:esp32c3 `
	--build-path "C:\arduino\build_verdurebuddy_esp32c3" `
	"firmware\esp32c3_kb_motor"

已验证当前固件在本机通过编译:约 49% Flash、7% RAM。

依赖提示

当前固件依赖 Arduino 库 kode_bq27220HijelHID_BLEKeyboard 及其依赖 NimBLE-Arduino。项目不要求修改第三方库源码;此前 BLE 连接崩溃是旧 BLE 后端中 BLE2902 描述符空指针导致的,当前固件已移除旧 BLE 键盘库代码。说明见 docs/ble-keyboard-library.md

社区与交流


VerdureBuddyRover (English)

VerdureBuddyRover is a hardware and software repository for a small mobile robot and plant companion rover. It currently includes the first integrated ESP32-C3 SuperMini firmware with BQ27220 battery gauging, DRV8833 dual-motor control, BLE keyboard input reporting, an RGB5050 indicator, and a line-oriented UART debug protocol for host computers.

Contents

Recommended Directory Structure

firmware/             # MCU firmware, organized by board or feature module
hardware/             # Wiring, schematics, PCB, BOM, and enclosure documentation
docs/                 # Protocol, debugging, architecture, and development notes
tools/host/           # Host debugging tools, serial assistant, and visual console
scripts/              # Build, flashing, and diagnostic automation (to be added)

Firmware Quick Build

Arduino IDE: open firmware/esp32c3_kb_motor/esp32c3_kb_motor.ino, select ESP32C3 Dev Module, and enable USB CDC on Boot.

Command-line build example (Windows):

$env:ARDUINO_DIRECTORIES_DATA="C:\arduino\Arduino15"
$env:ARDUINO_DIRECTORIES_USER="C:\arduino\Arduino"
& "C:\Users\张广建\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\resources\arduino-cli.exe" compile `
	--fqbn esp32:esp32:esp32c3 `
	--build-path "C:\arduino\build_verdurebuddy_esp32c3" `
	"firmware\esp32c3_kb_motor"

The current firmware has been verified to compile locally, using approximately 49% of Flash and 7% of RAM.

Dependency Notes

The current firmware depends on the Arduino libraries kode_bq27220, HijelHID_BLEKeyboard, and its NimBLE-Arduino dependency. The project does not require modifications to third-party library source code. The previous BLE connection crash was caused by a null BLE2902 descriptor pointer in the old BLE backend; the current firmware has removed the old BLE keyboard library code. See docs/ble-keyboard-library.md for details.

About

A smart mobile rover built around the M5Stack Atom EchoS3R, featuring voice interaction, motor control, and plant companionship.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages