Code Monkey home page Code Monkey logo

adxl345driver's People

adxl345driver's Issues

accel_cal.py needs documentation

Hi there!

Thanks for this awesome driver! I'm using it for my orientation sensing 
library.. see 
http://www.varesano.net/blog/fabio/initial-implementation-9-domdof-marg-imu-orie
ntation-filter-adxl345-itg3200-and-hmc5843-a which will be part of my FreeIMU 
project.. see 
http://www.varesano.net/blog/fabio/freeimu-designing-free-speech-9-domdof-marg-i
mu and https://launchpad.net/freeimu/

I'd like to ask a few questions about accel_cal.py. What does this script 
actually does? I see some kind of optimization but I'm not sure how to use it.. 
I guess it is something similar to what is explained on this document 
http://www.st.com/stonline/products/literature/an/17353.pdf

So, I'm wondering.. how do I use this script? What's the expected file format 
of the .dat file? How does the accelerometer has to be moved to collect the 
.dat file data? What are it's outputs? How do I use them in the driver code?

My guesses from fastly looking at the code: 
.dat file format is "Xval Yval Zval\r\n" repeated for many lines
Outputs is something useful for populating the gains array in ADXL345::ADXL345()

Thanks for any kind of help!

Take care,

Fabio Varesano

Original issue reported on code.google.com by [email protected] on 19 Jan 2011 at 10:18

Examples should use 9600 Serial baud

I'd say that it would be easier for a newbie user if you would stick to Arduino 
default Serial baud speed of 9600 instead of using 57600.

They should work just as fine and with less hassles to the newbie.

Original issue reported on code.google.com by [email protected] on 23 Jan 2011 at 6:11

Example ADXLRun345.pde needs to be renamed to ADXL345Run.pde

File ADXLRun345.ped in the example/ADXL345Run directory needs to be renamed to 
ADXL345Run.pde in order to work as library example (and as regular Arduino 
sketches)

I would also suggest keeping the naming similar between the two examples. 

So, as you already have ADXL345_test, why not use ADXL345_run?


Original issue reported on code.google.com by [email protected] on 23 Jan 2011 at 6:01

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.