Giter Club home page Giter Club logo

bluecopter's Introduction

BlueCopter - Arduino Quadcopter

This is a simple arduino quadcopter firmware that uses the ADXL345, L3G4200D (part of the cheap chinese IMU) to maintain a stable flight.

The main purpose with this firmware is to teach others on how to go about making their own quadcopter firmware. The code is easier to read and follow compared to the more advanced multiwii/arducopter firmwares.

I also have the HMC5883 and BMP085 onboard (as part of the IMU). But haven't implemented them yet.

For questions or more info, check the following: http://forum.arduino.cc/index.php?topic=184503.0

Change log:

V1.02 - Implemented a proper receiver expo for smooth response.
        Commenting the line "#define RX_EXPO" will disable the RX-expo.
        
V1.01 - Made the sketch run more efficiently and reduced code size. 
        With this change I managed to find better PID values and thus
        get better/faster stabilization 
        
V1.00 - BlueCopter firmware created!

bluecopter's People

Contributors

baselsw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bluecopter's Issues

Analogwrite to control ESCs?

Short question, in your code you use nalogwrite instead of the servo lib or other PWM code.
What kind of motor controller do you use? I don't think that ESC will wot without PWM?

f41ardu

Question about having ADXL345 and L3G4200D chips separately

Hi,

Really, it is very helpful . Thank you so much Mr. Baselsw.

I bought Leonardo, ADXL345 and L3G4200D chips separately, I don't have IMU. Could you explain to me how the connections and the code will differ from your code , please? Both of the chips use I2C.

Best Regards,
AsMoh

No need to wait after Wire.requestFrom()

In the file "BlueCopter/libraries/MPULib/MPULib.cpp" in the function "readCmd()", there is a while-loop after the Wire.requestFrom(). That while-loop can be removed, there is nothing to wait for.

When Wire.requestFrom() returns, the I2C transaction has completely finished and the received data is waiting in a buffer in the Wire library.

PID effect on quad relative to throttle

when trottle change effect of PID values also changes too how did you manage that?

For example when throttle is 1200 and when 1600 effect of PID is very different so that there is no optimum PID values for all Throttle range

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.