Skip to content

We successfully developed a robotic dog project with my friends. In this project, we managed to make the dog walk efficiently, wrote all the code ourselves, implemented remote control functionality, and integrated a computer vision algorithm for foreign object detection. Over time, I plan to share more updates and improvements.

Notifications You must be signed in to change notification settings

berfinncicek/Quardruped-Robodog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Robotic Dog Project

This project is a robotic dog controlled via a microcontroller. It integrates servo motors, sensors, and a display module to simulate walking, balance control, and movement dynamics.

Hardware Components

  • Arduino Board: Main controller.
  • Adafruit PWM Servo Driver: Controls multiple servo motors.
  • MPU6050 Accelerometer/Gyroscope: Measures orientation and balance.
  • TFLI2C Distance Sensor: Detects obstacles.
  • Adafruit PCD8544 LCD Display: Displays basic graphics and information.
  • Servo Motors (12x): Controls leg joints for movement.

Libraries Used

  • Wire.h
  • Servo.h
  • Adafruit_PWMServoDriver.h
  • MPU6050.h
  • TFLI2C.h
  • SPI.h
  • Adafruit_GFX.h
  • Adafruit_PCD8544.h

Setup

  1. Connect servo motors to the Adafruit PWM Servo Driver.
  2. Attach the MPU6050 and TFLI2C sensors to the I2C bus.
  3. Connect the PCD8544 LCD display to the specified SPI pins.
  4. Upload the firmware using Arduino IDE.

Usage

  • Power the Arduino and initialize the robot via setup().
  • The robot begins walking using loop() with predefined step patterns.
  • Monitor balance and adjust dynamically with sensor data.

Functions Overview

  • fakestep() / fakestep_2() – Simulates walking steps.
  • dinamik() – Balances robot dynamically.
  • kinematik() – Calculates kinematic parameters for leg movement.
  • swrite() – Controls individual servos.
  • calculate_func() – Calculates step-related parameters.

Safety Precautions

  • Ensure all servo motors are properly connected and calibrated.
  • Avoid exceeding servo motor angle limits.
  • Secure power connections to prevent sudden shutdowns.

Contributing

Feel free to contribute by improving code, fixing bugs, or suggesting new features. Open an issue or pull request on GitHub.

📜 License

This project is licensed under the MIT License. See the LICENSE file for more details.

  • kinematic
IlkAdim.mp4
LidarSensoru.mp4

About

We successfully developed a robotic dog project with my friends. In this project, we managed to make the dog walk efficiently, wrote all the code ourselves, implemented remote control functionality, and integrated a computer vision algorithm for foreign object detection. Over time, I plan to share more updates and improvements.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages