Git Product home page Git Product logo

self_balancing_robot's Introduction

Self_Balancing_Robot

###The SBR helps to understand the principles behind the Segway vehicles. The robot stands in two wheels using the gyroscope inclination readings to position the mass center of the robot in vertical.

Bill of Materials

  1. Arduino Nano V3.0 ATmega328P 5V Board
  2. MPU-6050 3 Axis Accelerometer Gyroscope Module
  3. DC Gear Motor With Wheel
  4. Battery Rhino 610mAh 2S 7.4v 20C Lipoly Pack
  5. Battery Charger HobbyKing™ E4 Balance Charger
  6. Motor Driver L293D - Quadruple Half-H Driver
  7. PCB 33x70 mm Single Side Copper + Silkscreen by: eLab
  8. Acrylic 100x90x4,74
  9. Screws/Bolts/Metals

More info:

dryetch.blogspot.com

self_balancing_robot's People

Stargazers

 avatar

Watchers

 avatar  avatar

self_balancing_robot's Issues

Pcb diagram

nice work,
I want to follow your work to make one .
Can you provide pcb circuit diagram ?
Thanks.

Code incomplete?

Code looks strange and incomplete!

This part doesn't handle all positions:

Set the vertical mass center

pwm_adjust(corrected_y);
if(corrected_y>-50 && corrected_y<-18){
    backward();    
}else if(corrected_y>=-15 && corrected_y<0){
    forward();          
}else{
    stop();
}

corrected_y values between -18..-15 or > 0 leading to stop. Is this intended?

rgds.

bestware

Nice implementation

Hi there,
Please bare with a novice, I am trying to build SBR for my 5 year old niece. I included Kalman Library, copied I2C.ino into the folder where sbr_code_ardunio.ino is located. When I try to upload code to arduino Pro mini 16 MHz version I get error
/Documents/Arduino/Self_Balancing_Robot-master/sbr_code_arduino/I2C.ino: In function 'void loop()': I2C:173: error: 'pwm_adjust' was not declared in this scope I2C:175: error: 'backward' was not declared in this scope I2C:177: error: 'forward' was not declared in this scope I2C:179: error: 'stop' was not declared in this scope I2C:185: error: a function-definition is not allowed here before '{' token I2C:199: error: a function-definition is not allowed here before '{' token I2C:213: error: a function-definition is not allowed here before '{' token I2C:227: error: a function-definition is not allowed here before '{' token I2C:63: error: expected '}' at end of input } ^ exit status 1 'pwm_adjust' was not declared in this scope

Which library did I missed here?

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.