GEK Wiki / Data Logging with the GCU
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Want to organize your cloud files? Sign up for a free webinar to see how Dokkio (a new product from PBworks) can help you find, organize, and collaborate on your Drive, Gmail, Dropbox, and Slack files: Weds, May 27 at 2PM Eastern / 11AM Pacific
View
 

Data Logging with the GCU

Page history last edited by jay 9 years, 6 months ago

Drivers:

View Data Stream with Arduino:

  • Open Arduino, go to Tools -> Serial Port, and choose the port the GCU is using.

In Windows, this will show up as a COM port. To find which one is the GCU, look at the menu list while the GCU USB unplugged. Plug the USB for the GCU into your computer. Look at this list again, the new COM port is the one the GCU is using.

  • Select the GCU COM port in Tools->Serial Port. Click on the right-most button in the Arduino window (the tool tip will say "Serial Monitor"). A window will pop up. Choose 115200 baud as the speed in the window. You should now see text streaming into the window.

 

Data Logging via PuttyTel:

  • Unfortunately, Arduino can't log this text to a file, we'll need to use a different application. For Windows, download puttytel from here:

http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

You'll want use a serial connection as described here:

http://tartarus.org/~simon/putty-snapshots/htmldoc/Chapter3.html#using-serial

    • "Serial Line" will be COM1 or COM2, etc that the GCU is using.
    • Serial speed will be 115200 baud.
  • There is another configuration pane for datalogging. You can choose where to save the data file, and PuttyTel can name each log file based on the date/time via the %Y,%M, etc tags. Use a .csv extension as part of the name. Excel and other applications should be able to read that file.

Comments (2)

Ken Boak said

at 11:49 am on Oct 3, 2010

Jay - there's a graphing tool called KST http://kst-plot.kde.org/ which can be used to plot data directly in real time from the captured file.

Trystan Lea told me about it as he uses it to plot data from his open energy monitor project. He shows examples and a brief tutorial here: http://openenergymonitor.org/emon/node/30

Hope this helps,


Ken

bk said

at 12:57 pm on Sep 14, 2011

KST has now been ported to Mac and Windows (!!).
We've been using the Windows KST port and it works quite well. It's quite powerful and fast. It's a new port, so I've seen a couple crashes, but its great to have it work on Linux/Mac/Windows now.

Cheers,
Bear

You don't have permission to comment on this page.