Giter Site home page Giter Site logo

robotics-2-wheeled-balancing-robot's Introduction

2-Wheel Balancing Robot

Hardwares Resources

  • 1 STM32F4 Microcontroller development board (ARM Cortex M4)
    • 2 PWM channels
    • 4 timer interrupts
    • 2 external event interrupts
    • 1 SPI channel
    • 1 UART channel
  • 2 DC motors with PWM control
    • 1 motor to control 1 wheel (left and right)
  • 2 infrared encoder
    • 1 infrared encoder to measure the speed and position of each wheel
  • 1 MPU-6050 Gyroscope
    • 10-axis gyroscope
    • Interface with the microcontroller through SPI
  • 1 Xbox360 Controller
    • Interface with Microcontroller through a wireless module

Features

  • PID Controller for balancing
    • Implemented in the ARM CPU
    • Realtime response to different weight load with 2 nested loop PID algorithm
    • Input data:
      • From 10 different gyroscope channels
      • Form 2 wheel encoders
    • Output: PWM signals to control wheel movement and balance the robot
  • Kalman filter
    • To eliminate Input noises from input data

Demo

How to run

  • Use ARM Keil IDE to build and compile project files into .bin object
  • Use the built-in debugger to load the object file into the chip ROM

robotics-2-wheeled-balancing-robot's People

Contributors

dangkhoadl avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  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.