Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Nov 13, 2012
  1. Threading

    authored
    Threading now works. Up to ~300Hz. Yay!
Commits on Nov 10, 2012
  1. Comiting misc files

    authored
    Stupid GUI
  2. Basic threading test

    authored
    Switched to threads. Sort of works with a test input (random numbers -
    no accelerometers). Now I'm going to transition to queues to handle
    shared variables
Commits on Jul 25, 2012
  1. Implemented FFT

    authored
    Implemented an FFT plot. This plot updates once every refresh (i.e.
    once every time 1000 samples are taken). The frequency axis looks
    consistent with testing, but could be slightly off depending on how
    python handles the FFT function. Regardless, this should give us some
    good "quick-look" data.
Commits on Jul 24, 2012
  1. Implemented bad data error handling

    authored
    Put in a try/except to convert serial data to integer. This catches the
    random bad serial data. Be nice to know the cause of it, but at least
    it doesn't crash the program now. It seems this only happens after the
    program has been exited once with a reupload of the arduino code. It
    doesn't happen frequently during a run though.
  2. Fixed calibration

    authored
    Fixed the calibration of the z-axis. Committing before I start messing
    around with writing bytes instead of chars.
Commits on Jul 20, 2012
  1. Speed bump

    authored
    Upped the speed by combining all the writes into 1 line. Still only
    getting about 600 Hz though.
Commits on Jul 19, 2012
  1. Faster plot

    authored
    Increased the speed of sampling by taking (almost) every data point
    instead of just the freshest. Had some trouble with leftover data due
    to some blitting issue. Turning blitting off seems to have solved it,
    but not sure why. Also need to work on the calibration more - it's not
    quite right yet.
  2. improved communication and calibration

    authored
    Changed the baud rate to 115200. The old baud rate of 9600 wasn't
    sufficient for the 3 value array. Also did a crude calibration on the
    accelerometer. Subtracted away "rest position" values and scaled to g
    forces. The V/g seems off. Spec sheet quotes a typical value of 800mV
    where I calculated 1.23 volts, so I may be doing something wrong.
  3. 3 axis functionality

    authored
    Program now has 3 axis functionality. Had to add a second delay before
    data starts though as the serial feed seems to break momentarily in
    this first second. Not sure what that's about yet. Code runs well -
    still needs some work of course.
Commits on Jul 18, 2012
  1. Basic Functionality

    authored
    Gets accelerometer data and plots 1 axis. This doesn't yet work with
    multiple axes, and the data is uncalibrated.
Something went wrong with that request. Please try again.