Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#2271·xiaozhi-esp32

Vector-style robot

Author: tuko06Created Sep 22, 2026Updated Sep 22, 2026
Labelsenhancement

Before submitting

  • I have searched the existing feature requests and did not find the same proposal.

Affected device or area

All devices"

Problem or use case

Hello everyone,

I am working on a project based on the [XiaoZhi ESP32 project](https://github.com/78/xiaozhi-esp32), and my goal is to turn it into a Vector-style robot.

I am still a beginner when it comes to robotics and embedded programming, so I would really appreciate some guidance on how to approach this project step by step.

These are the components I plan to add:

  1. TB6612FNG Dual DC/Stepper Motor Driver Module – 1 unit

  2. ESP32-CAM WiFi/Bluetooth Camera Module – 1 unit

  3. MT3608 2A DC-DC Boost Converter Module – 1 unit

  4. MPU6050 6-Axis Gyroscope and Accelerometer – 1 unit

  5. Infrared Distance Sensors – 2 units (front and rear)

  6. SG90 Servo Motors – 3 units

    • 2 for the arms
    • 1 for the head

My goal is to have the robot:

  • Move forward, backward, left, and right
  • Control the speed of the motors
  • Move its head and arms using the SG90 servos
  • Detect obstacles using the front and rear IR sensors
  • Use the MPU6050 for orientation and movement detection
  • Use the ESP32-CAM for taking pictures / camera functionality
  • Keep the existing XiaoZhi voice assistant, microphone, speaker, and display functionality working

Since I am still learning, I am not sure about the best way to integrate all of these components into the existing XiaoZhi ESP32 codebase.

What would be the recommended development path?

Should I first integrate the motor driver, then the sensors and servos, and finally the camera and software features? Are there any important hardware, GPIO, power supply, or ESP32 limitations that I should consider before starting?

Any advice, examples, existing projects, or guidance on how to structure the hardware and software integration would be greatly appreciated.

Thank you in advance for your help!

Requested behavior

I really want to do the project.

Additional context

No response

Source: 78/xiaozhi-esp32

View original on GitHubView discussion on GitHub