0% found this document useful (0 votes)
17 views5 pages

Robot Dog Full Guide

The Advanced Robot Dog Project is a design guide for a smart quadruped robot featuring lifelike movement, voice command capabilities, and an AI chatbot. Key components include various ESP modules, servos, ultrasonic sensors, and an external controller with a joystick and display. The guide also covers circuit diagrams, walking gait code, and emote functionalities for enhanced interaction.

Uploaded by

Veera raghav R.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views5 pages

Robot Dog Full Guide

The Advanced Robot Dog Project is a design guide for a smart quadruped robot featuring lifelike movement, voice command capabilities, and an AI chatbot. Key components include various ESP modules, servos, ultrasonic sensors, and an external controller with a joystick and display. The guide also covers circuit diagrams, walking gait code, and emote functionalities for enhanced interaction.

Uploaded by

Veera raghav R.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Advanced Robot Dog Project - Full Design Guide

1. Project Overview

This robot dog is a smart quadruped that mimics lifelike movement and intelligent behavior. It

features omnidirectional walking, camera vision, voice-command follow mode, AI chatbot responses,

and more. It's controlled with an external joystick and displays camera feed in real-time.

2. Features

- Omnidirectional smooth movement using servos

- Voice command "bro follow me" triggers follow-me mode

- Obstacle avoidance using ultrasonic sensors

- ESP32-CAM for front-facing live video

- Two-leg standing mode on command using MPU6050

- GPT-2 AI chatbot on ESP8266 to answer questions

- Emote animations using servo sequences

- External controller with joysticks and OLED display showing camera feed

3. Components

- ESP32 Dev Module

- ESP8266 (for GPT-2 chatbot)

- ESP32-CAM (for camera streaming)

- Arduino Nanos x4, Arduino Unos x2

- 12x MG90S/MG996R Servo Motors


- PCA9685 16-channel Servo Driver

- MPU6050 Gyroscope/Accelerometer

- 2x Ultrasonic Sensors (HC-SR04)

- 2x Joystick Modules

- 1x OLED Display

- 7.4V or 11.1V LiPo Battery (2200mAh+)

- Buck Converter (5V 3A output)

- Misc: Frame parts, jumpers, headers, speaker (for AI)

4. Circuit Diagrams Description

- ESP32 connects to PCA9685 over I2C (SCL: GPIO22, SDA: GPIO21)

- PCA9685 controls up to 16 servos (legs, emotes)

- ESP8266 handles AI chatbot communication and speaker output

- ESP32-CAM handles WiFi video stream

- Ultrasonic sensors connect to ESP32 for obstacle detection (Trig/Echo)

- MPU6050 connects via I2C to ESP32 for balance

- Joysticks + OLED are connected to ESP32 in controller housing

- Power: 7.4V/11.1V LiPo -> Buck converter -> 5V rails (PCA9685, servos)

5. Walking Gait Code (Snippet)

#include <Wire.h>

#include <Adafruit_PWMServoDriver.h>

Adafruit_PWMServoDriver pwm = Adafruit_PWMServoDriver();


#define SERVOMIN 110

#define SERVOMAX 500

void setup() {

pwm.begin();

pwm.setPWMFreq(50);

void walkForward() {

// Example servo pattern for forward walk

pwm.setPWM(0, 0, 300); // Front left hip

pwm.setPWM(1, 0, 400); // Front left knee

delay(200);

// Add full gait logic here...

void loop() {

walkForward();

6. Voice Command Follow Mode

- Use a voice recognition module or mobile voice assistant

- Keyword "bro follow me" triggers follow_me_mode = true;

- Ultrasonic sensors track the distance to the person in front


- Adjust gait direction and speed based on distance and angle

7. AI Chatbot using ESP8266

- Load GPT-2 small model onto ESP8266 using MicroPython + external SPI Flash (or lightweight

rule-based AI)

- User asks questions via serial or WiFi-based terminal

- AI generates responses and speaks via connected speaker (DFPlayer Mini or DAC + amp)

- Alternatively, communicate with cloud API via WiFi

8. Emotes and Reactions

- Predefined servo movements (ears wagging, tail movement, bowing)

- Called via specific button presses or AI triggers

- Example: Emote "happy" moves tail servo in wag loop

9. External Controller with Joysticks + Display

- ESP32 controller box with:

- 2 analog joysticks (X/Y each)

- OLED 128x64 display (I2C)

- WiFi connected to main ESP32

- Receives ESP32-CAM stream

- Sends joystick data to robot via WiFi UDP or Bluetooth


10. Frame Dimensions

- Length: 35 cm

- Width: 20 cm

- Height: 25 cm (standing)

- Material: Lightweight wood, 3D printed PLA, or acrylic

- Servos placed in H-shaped legs (hip + knee)

- Center body holds electronics and battery pack

You might also like