Using Processing to display data graphs


Results 1 to 7 of 7

Threaded View

  1. #1
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530

    Default Using Processing to display data graphs

    I have been working on a hobby project, telemetry on a model rocket, and wanted to be able to display some nice graphs from the data it generates. There are a lot of examples on how to use processing for different applications on-line. It's pretty easy to grab data from a serial device (such as a PIC, or a PIC connected to a data radio), and have a base computer log the data into a .csv file. Graphing was a little harder to find examples for. Hopefully this will help someone that might be interested in using Processing to enhance their project. Hope this gets some people thinking about how they might use it in their projects.

    Here are a few of the things that my program does:

    1. Scale the graphs so that 30,000 foot flights, and 300 foot flights would both max the scale of the graph.
    2. Allow you to scroll through the different flight .csv log files within the directory with your mouse, and have it draw a graph of the data
    3. Allows for portability by allowing for different display sizes without screwing up the graphs

    I don't have any actual samples from any test flights yet .... so collecting altitude data while driving some hills in my car had to suffice. Notice the units change between some of the sample files.
    The graphing program (data.pde) can be downloaded here along with the samples: https://github.com/radiohound/NXPMot...RocketNXP/data
    More info about the entire project, which is a work in progress: https://hackaday.io/project/15425-ro...ponder-and-gui

    Name:  sample1.jpg
Views: 757
Size:  160.3 KB

    Name:  sample2.jpg
Views: 833
Size:  173.4 KB

    Name:  sample3.jpg
Views: 726
Size:  138.2 KB
    Last edited by ScaleRobotics; - 28th October 2016 at 06:12.
    http://www.scalerobotics.com

Similar Threads

  1. Custom data pin for display.
    By Ziko87 in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 19th July 2011, 14:12
  2. how to display data receiving from xbee to LCD
    By NURULHAIZA in forum mel PIC BASIC
    Replies: 2
    Last Post: - 19th November 2010, 21:24
  3. display received data
    By NURULHAIZA in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 12th May 2010, 06:03
  4. Better processing of a serial bitstream
    By breesy in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 8th June 2007, 00:13
  5. audio processing
    By mischl in forum mel PIC BASIC Pro
    Replies: 17
    Last Post: - 7th August 2006, 17:36

Members who have read this thread : 1

You do not have permission to view the list of names.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts