Home
Name Modified Size InfoDownloads / Week
README.txt 2014-01-22 2.9 kB
PyDat0_1.py 2014-01-22 24.2 kB
Totals: 2 Items   27.1 kB 2
######################################################################
################## Internet Enabled Python Logger  ###################
################## PyDat  V0.1                     ###################
################## Jonathan Rawlinson (M0ZJO) 2014 ###################
################## For More info please visit:     ###################
################## http://www.qsl.net/m/m0zjo/     ###################
################## Or email me at M0ZJO(at)qsl.net ###################
######################################################################

This is the first stage of a Radio Astronomy tool designed for extended data collection
Most of the scripting is designed to work on a raspberry pi, hence the simplicity.

Please see some example graphs here:
http://qsl.net/m/m0zjo//PyWeb/Live_Data_15.png
http://qsl.net/m/m0zjo//PyWeb/PYData-20140121_Daily.png

Example CSV file:
http://qsl.net/m/m0zjo//PyWeb/PYData-20140121.csv

V 0.1 is a development release and not intended for general use.

This is how PyDat works:

1. PyDat takes the data input from an Arduino or other serial source
2. PyDat then logs the value from the serial stream into a daily log (for extended post processing) and 15, 60 and 120 min data files for the "recent data" graph generation.
3. Every 5 minuites (this can be user defined) PyDat generates the graphs from the csv data files and uploades them to a pre-defined FTP server.

Simple as that!

Support will be added in the future for RTLSDR TP (total power) measurements and soundcard power inputs.

An explanation of the serial data input protocols from the arduino:

Data types:
0 = XYYYY-MM-DDTHH-MM-SS,??????Y
Via serial input
e.g.: X2014-01-19T11:14:07,17.958932Y
This mode ignores the Data timestamp and uses the PC time
This mode should be used where the PC clock is going to be more accurate than the data source

1 = XYYYY-MM-DDTHH-MM-SS,??????Y
Via serial input
e.g.: X2014-01-19T11:14:07,17.958932Y
This mode uses the Data timestamp and ignores the PC time  
This mode should be used where the PC clock is going to be less accurate than the data source.
E.g. If a GPS synched Arduino is sending the data

3 = X??????Y (Not Tested)
Via serial input
e.g.: X17.958932Y
This mode uses the PC timestamp  
This mode should be used when only data source is only transmitting the raw data (no timestamp)

Enable Graphs:
This turns the PNG graph production function on and off. CSV data files are still produced.

Enable Network:
Enables or disables upload of data

Thanks for reading, watch this space.

Things to Do:
Other online data areas
User input FTP & Other details into config file rather than script
More Attractive HTML or Java online graphing solution

Please contact me if you have any questions. I hope to have more of this software completed by the end of March 2014.

73!
Source: README.txt, updated 2014-01-22