Giter Site home page Giter Site logo

jsilve24 / arduino-to-processing-to-adl Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 264 KB

A bundle of Code (Arduino, Processing, and ADL (from Agilent Tech.)) to get Cary WinUV to sync with capture of data from an Arduino

Home Page: http://markoviclab.com

Java 86.04% Arduino 13.96%

arduino-to-processing-to-adl's People

Contributors

jsilve24 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

ksparks5

arduino-to-processing-to-adl's Issues

Adding time display to GUI

Once I become more familiar with the GUI setup, I'll add the time that the Arduino is sending to the display. I'll hopefully make it read time in minutes, so we know how long we've been taking data.

Data taken at non-constant rate

Because regularity of data sampling is done with delay functions, and because of the many states the program can be in, data sampling may not be particularly uniform.

This is a big issue that must be addressed (or at leased looked into).

Ensure Clipboard Class still works on Mac

This is not essential as long as the ultimate program will be running on windows. (so far there is no reason to believe that the clipboard class is not working on windows, last I checked it was).

Add Metadata to File output

Such things as:
Noting when the light turned on/off
and other functionality that can be non-standard in Manual Mode.

Processing Real time Graph is useless

The temperature increments are too small to see visually (although this might change if the measured voltage is remapped from 4.4-4.5 to 0-5 with an OP-AMP.

Also real time graph occasionally (not sure why and when yet) skips graph points or writes them at an angle.

Processing Text Meter Overwriting itself

Causes Text Meter to be a jumble.

I think Rewriting the background fixes this problem, as soon as the bottom progress bar/graph reaches the end and the entire display rewrites itself the next voltage reading seems to be ok until the next one is different. (Poor explanation, sorry).

Add Restart Functionality to Processing and Arudino

This way each does not have to be reset/closed before it can be reused to take next data point.

This should also have Processing automatically increment name of file.

This would help speed reload/capture next scan time.

Make sure entering a new filename does not overwrite previous file and its data.

Do this by saving all files as "temp" or something like that.
Then at the end copy the temp file to the final file name, then delete temp file.

The only issue with this is that if the script gets interrupted the data is not saved in some sensical way. (fix this by simply telling the user to look for the temp file in these cases.

Prompt the user if temp file is found.

Standardize Timing across System

Currently each element of the system, the Arduino, Processing and ADL all operate on their own clock/timer, it is by sheer luck that it all works fairly well.

To make this system more robust each should implement an internal clock that is synchronized.

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.