Giter VIP home page Giter VIP logo

tucuongbrt / pifer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tuannv-github/pifer

0.0 1.0 0.0 327.55 MB

Two-Wheeled Self-Balancing Robot

C 41.73% C++ 19.90% QMake 0.14% Makefile 0.40% Batchfile 0.01% Shell 0.21% QML 0.07% CMake 1.00% Objective-C 0.10% Python 23.94% CSS 0.38% PHP 0.03% XSLT 0.14% C# 0.38% Java 2.56% JavaScript 2.82% Swift 0.88% PureBasic 0.02% HTML 5.00% TeX 0.30%

pifer's Introduction

PIFWRobot

PIFWRobot is an open source project for two-wheeled self-balancing robot.

Demo

Without any velocity command, the robot is trying to stabilize its self.

Repository Contents

  • firmware:
    • balancing-robot: The entire firmware for STM32F103C8T6 MCU
    • esp8266_arduino: ESP8266 Arduino based TCP server firmware
  • software:
    • GCSQt: A Qt based ground control station for remote controlling, calibration and PID tunning
    • mavlink: Mavlink message definitions and code generation tools
  • hardware:
    • board: Altium Designed based schematic and PCB source for the main board
    • frame: SolidWorks based frame source for the robot

Hardware

  • 1 STM32F103C8T6
  • 1 MPU6050/9250
  • 2 DC Motors with Encoder
  • 1 ESP8266 for remote control, calibration and PID tunning
  • 1 L298 DC Motor Driver
  • 1 12V Li-po battery

PID algorithm

Cascade PID:

  • Inner loop: tilt controller
    • Input:
      • Tilt set point from outer loop
      • Feed back tilt from sensor (MPU6050/9250)
    • Out put:
      • PWM duty circle for both motors
  • Outer loop: velocity controller
    • Input:
      • Velocity command from remote controller
      • Feed back velocity from encoder
    • Output:
      • Tilt for inner loop

License & copyright

@ Van Tuan Ngo, Ho Chi Minh City University of Technology

Licensed under the MIT license

pifer's People

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.