Difference between revisions of "HIP:summer2009"

From Earlham CS Department
Jump to navigation Jump to search
(Infobomb Script)
(What's for the week of June 29, 2009?)
 
(135 intermediate revisions by 3 users not shown)
Line 1: Line 1:
==What's for today? (5/13/2009)==
+
[[HIP | Back to HIP main page]]<br>
*Experiment "ph change with sonde"
+
[http://stewie.cs.earlham.edu:8888/ GOTO Web Interface Cacti]<br>
*Write up infobomb script guide
+
==TODO during this summer, 2009==
*Research for a better printer
+
*Testing H2O Unit "End to End"
*Charlie is on meeting through 10a to 4p
+
** Use EcoWatch with 650 and sonde and optional GPS for ad-hoc sampling, link to instructions
 +
**Test data flow from sonde to database via cell phone.  Readings log and then correctly labeled graphs of all the parameters.
 +
**Add the board's temperature to the data that is collected, uploaded, and graphed (see the eeapnode software for an example).
 +
**Add the battery's voltage to the data that is collected, uploaded, and graphed.
 +
**Test what happens WRT the board booting (with phone and sonde attached) when the battery is brought back from 0 charge to full charge.
  
==TODO==
+
*Identify/configure software for batch download and real-time download/mapping of eTrex datastream on Zoey.
*Testing H2O Unit "End to End"
 
**Find out how to use Minicom
 
**Test data flow from sonde to database via cell phone.
 
  
 
*Springwood Install
 
*Springwood Install
 +
** Design/build float
 +
** Reliability
 +
** Rename sensors to Springwood
 +
 +
*Weather station
 +
** Reading values, inserting into database
  
*Portable testkit
+
*Portable testkits
**X-ray fluorescence (XRF)  
+
**X-ray fluorescence (XRF) - link to inventory, link to instructions
**Thermal interface compound (TIC)
+
**Thermal imaging camera (TIC) - link to inventory, link to instructions
**Sonde
+
**Sonde and 650 - link to inventory, link to instructions
**Netbook
+
**Netbook - link to inventory, link to instructions
**Printer
+
**Differential GPS - link to inventory, link to instructions
**GPS
 
  
*Schema + Interface
+
*Keck Data Schema + Interfaces
  
 
*Wind @ miller
 
*Wind @ miller
Line 26: Line 32:
 
*Learning languages: Perl, Python, Bash
 
*Learning languages: Perl, Python, Bash
  
==Shopping List==
+
*Ordering
*Printer
+
** O rings
**[http://www.jr.com/planon-systems/pe/PNO_PS900/ PS900 PrintStik Pocket Size Full Page Printer]
+
** Bright orange fine point sharpie (rolling liquid?)
 +
** Research netbook computers with built-in GPS gear which support some flavor of Linux
 +
** GPS?  Check Charlie's list
 +
 
 +
==Whats for the week of June 8, 2009==
 +
*Design a raft for the springwood water monitoring kit.
 +
**floating boats ideas:
 +
http://www.connectadock.com/dock/1000Series/accessories.asp#anchor1000Comp
 +
http://hardware.hardwarestore.com/30-144-floating-dock-kits/polyethylenefloat-hollow-core-633131.aspx
 +
http://www.overtons.com/modperl/product/details.cgi?i=87019&pdesc=Dockmate_Float_Drums&aID=602F&merchID=1009&r=view 
 +
http://www.angelfire.com/ultra/edaskew/genbarge.html
 +
**find the best angle for the solar panel for the springwood lake kit (== latitude of the area)
 +
**Richmond, Indiana — Latitude: 39.829
 +
*Get the second field unit working
 +
*Change the name of the water monitoring kit from 4th Floor to Springwood
 +
*Get all watt nodes on line and in DB
 +
*Configure the single serial go sonde setting to get data directory from sonde.
 +
*Get ready for Mashup discussion and finish documentation
 +
==Whats for the week of June 22, 2009==
 +
*Packing
 +
*Weather station
 +
*Naming the water monitoring kits
 +
*TS-7400 BIOS settings (auto Power on)
 +
*Set serial speed for simplest water monitoring unit
 +
 
 +
==What's for the week of June 29, 2009?==
 +
*To inquire software of WMR200A Professional Weather Centert
 +
**To synchronize weather station with linux
 +
**To correct data into database
 +
*To adjust pmp on springwood lake and cacti.
 +
*To go Charlie's house on Tuesday 8:30 am.
 +
*To load solar panel, pmp5, and Sonde kit on Charlie's track on Monday 3 pm.
 +
*To finish packaging differential GPS
 +
*To make inventories for each packages.
 +
*To go to Springwood lake and check what's wrong.
 +
*pmp5 BIOS
 +
*To find software to read battery voltage in linux.
 +
*Board temperature of pmp.
 +
*To email Terry about shopping list and about drums.
 +
==things to get(updated July 13, 2009)==
 +
**thermometer
 +
**test drips for pH
 +
**tap water conductivity for tap water
 +
**redox potential for tap water
 +
**find out if there is a normal dissolved water oxygen.
 +
 
 +
== Packaging ==
 +
**For Zoey and accessories: Pelican case 1470
 +
**For Zoey: Carrying sleeve
 +
**For Differential GPS: Pelican case 1470 and tripod stand
 +
**For YSI650 + Sonde: Pelican case 1470
 +
**For XRF: Pelican case 1430
 +
**Add another 1470 for second Dell Mini
 +
== Shopping List for Terry (updated on June 29)==
 +
<s>
 +
*NOTE: Both the Carrying sleeve and the tripod stand are at Amazon.com, while the pelican cases are all from pelicanonline-ralphs.com (Please follow the links).
 +
*[http://www.amazon.com/Carrying-Sleeve-Inspiron-Notebook-Available/dp/B001FT0X5M Soft Carrying Sleeve for Dell Inspiron Mini 9 Notebook]
 +
*[http://www.amazon.com/Velbon-Function-Photographic-Video-Tripod/dp/B00004TY7O/ref=sr_1_1?ie=UTF8&s=electronics&qid=1243974271&sr=8-1 Velbon Dual Function Mini Photographic/Video Tripod]
 +
*[http://www.pelicanonline-ralphs.com/1470-case.htm?gclid=CPr-hPe87JoCFQKenAodjEBuCg Four 1470 pelican cases, 1 black and 3 desert tan]
 +
*[http://www.pelicanonline-ralphs.com/1430-top-loader-case.htm One 1430 black pelican case (only black available)]
 +
</s>
 +
*NEW SHOPPING LIST (July 10, 2009)
 +
**Dell Netbook
 +
**[http://www1.mscdirect.com/O-rings/O-rings-&-Accessories/Raw-Materials/s0000001926.HTML Transport cup cap O-rings ID Number 222, with inside diameter of 1.500" and thickness of 1/8" ($5.58)]
 +
**[http://www.amazon.com/s/ref=nb_ss_gw?url=search-alias%3Daps&field-keywords=Holux+M-1000&x=0&y=0 Holux M-1000 32 Channel Bluetooth GPS Receiver by Holux ($39.95)]
  
 
==Measurement for portable test kit==
 
==Measurement for portable test kit==
Line 47: Line 117:
 
**Dimensions: 5.6cm x 11.9cm x 3.3cm
 
**Dimensions: 5.6cm x 11.9cm x 3.3cm
 
**Weight: 0.164kg
 
**Weight: 0.164kg
*Printer(?)
+
*Printer(PS900 PrintStik Pocket Size Full Page Printer)
 +
**Dimensions: 2.5cm * 27.3cm * 3.8cm
 +
**Weight: 0.7kg
 +
*pelican case
 +
 
 +
<br>
 +
Weight Measurement<br>
 +
pelican case + battery + cellphone + pmp + charge controller = 38 lb<br>
 +
sonde = 2 lb<br>
 +
solar panel = 22 lb<br>
 +
solar panel stand = 15 lb<br>
 +
total = 77 lb = 35 kg<br>
  
 
==Infobomb Script==
 
==Infobomb Script==
[https://trac.cs.earlham.edu/infobomb/browser/client/new Infobomb trac wiki]\n
+
[https://trac.cs.earlham.edu/infobomb/browser/client/new Infobomb trac wiki]<br>
[http://stewie.cs.earlham.edu:8888/ Web Interface Cacti]
+
[http://stewie.cs.earlham.edu:8888/ Web Interface Cacti]<br>
 +
[https://wiki.cs.earlham.edu/index.php?title=HIP::Keck#infobomb Diagram "pmp to infobomb"]
 +
 
 +
<b>pmp side</b><br>
 +
*crondtab
 +
<pre>
 +
# for Cell Phone
 +
*/15 * * * * /root/scripts/poll_all_sonde.pl; /root/scripts/process_readings-cell.sh;
 +
0 * * * * /root/scripts/transfer-cell.pl
 +
</pre>
 +
 
 +
*[https://trac.cs.earlham.edu/infobomb/browser/client/new/poll_all_sonde.pl poll_all_sonde.pl]
 +
*[https://trac.cs.earlham.edu/infobomb/browser/client/new/process_readings-cell.sh process_readings-cell.sh]
 +
**[https://trac.cs.earlham.edu/infobomb/browser/client/new/client-cell.pl client-cell.pl]
 +
*[https://trac.cs.earlham.edu/infobomb/browser/client/new/transfer-cell.pl transfer-cell.pl]
 +
 
 
*[https://trac.cs.earlham.edu/infobomb/browser/client/new/autopoll autopoll] (shell script)
 
*[https://trac.cs.earlham.edu/infobomb/browser/client/new/autopoll autopoll] (shell script)
 
**Run sonde_data.pl multiple times
 
**Run sonde_data.pl multiple times
*[https://trac.cs.earlham.edu/infobomb/browser/client/new/client-cell.pl client-cell.pl]
+
 
 
*[https://trac.cs.earlham.edu/infobomb/browser/client/new/client.pl client.pl]
 
*[https://trac.cs.earlham.edu/infobomb/browser/client/new/client.pl client.pl]
 
*[https://trac.cs.earlham.edu/infobomb/browser/client/new/connect connect]
 
*[https://trac.cs.earlham.edu/infobomb/browser/client/new/connect connect]
Line 68: Line 164:
 
*[https://trac.cs.earlham.edu/infobomb/browser/client/new/loadUSB.sh loadUSB.sh]
 
*[https://trac.cs.earlham.edu/infobomb/browser/client/new/loadUSB.sh loadUSB.sh]
 
*[https://trac.cs.earlham.edu/infobomb/browser/client/new/loadUSBModules.sh loadUSBModules.sh]
 
*[https://trac.cs.earlham.edu/infobomb/browser/client/new/loadUSBModules.sh loadUSBModules.sh]
*[https://trac.cs.earlham.edu/infobomb/browser/client/new/poll_all_sonde.pl poll_all_sonde.pl]
+
 
 
*[https://trac.cs.earlham.edu/infobomb/browser/client/new/ppp-config ppp-config]
 
*[https://trac.cs.earlham.edu/infobomb/browser/client/new/ppp-config ppp-config]
 
*[https://trac.cs.earlham.edu/infobomb/browser/client/new/print_data.pl print_data.pl]
 
*[https://trac.cs.earlham.edu/infobomb/browser/client/new/print_data.pl print_data.pl]
*[https://trac.cs.earlham.edu/infobomb/browser/client/new/process_readings-cell.sh process_readings-cell.sh]
+
 
 
*[https://trac.cs.earlham.edu/infobomb/browser/client/new/process_readings.sh process_readings.sh]
 
*[https://trac.cs.earlham.edu/infobomb/browser/client/new/process_readings.sh process_readings.sh]
 
*[https://trac.cs.earlham.edu/infobomb/browser/client/new/rdate rdate]
 
*[https://trac.cs.earlham.edu/infobomb/browser/client/new/rdate rdate]
Line 78: Line 174:
 
*[https://trac.cs.earlham.edu/infobomb/browser/client/new/sonde_data.pl sonde_data.pl]
 
*[https://trac.cs.earlham.edu/infobomb/browser/client/new/sonde_data.pl sonde_data.pl]
 
*[https://trac.cs.earlham.edu/infobomb/browser/client/new/tar tar]
 
*[https://trac.cs.earlham.edu/infobomb/browser/client/new/tar tar]
*[https://trac.cs.earlham.edu/infobomb/browser/client/new/transfer-cell.pl transfer-cell.pl]
+
 
 
*[https://trac.cs.earlham.edu/infobomb/browser/client/new/update-from-svn update-from-svn]
 
*[https://trac.cs.earlham.edu/infobomb/browser/client/new/update-from-svn update-from-svn]
 
*[https://trac.cs.earlham.edu/infobomb/browser/client/new/update_all_pmps update_all_pmps]
 
*[https://trac.cs.earlham.edu/infobomb/browser/client/new/update_all_pmps update_all_pmps]
 +
 +
<b>stewie side</b><br>
 +
<pre>
 +
infobomb@stewie:~$ crontab -u infobomb -l
 +
SHELL=/bin/bash
 +
MAILTO=infobomb
 +
HOME=/home/infobomb
 +
PATH=/sbin:/bin:/usr/sbin:/usr/bin
 +
 +
# m h  dom mon dow  command
 +
*/10 * * * * export PYTHONPATH='/home/infobomb';
 +
            export DJANGO_SETTINGS_MODULE=infobomb.settings;
 +
            /home/infobomb/infobomb/scripts/run_infobomb_dataparser > /dev/null 2>&1
 +
*/30 * * * * export PYTHONPATH='/home/infobomb';
 +
            export DJANGO_SETTINGS_MODULE=infobomb.settings;
 +
            /home/infobomb/infobomb/scripts/extract-n-check-data.pl > /dev/null 2>&1
 +
*/10 * * * * /home/infobomb/eeap/eeap_sync.py >> /home/infobomb/eeap/log.txt
 +
</pre>
 +
*[https://trac.cs.earlham.edu/infobomb/browser/scripts/run_infobomb_dataparser run_infobomb_dataparser]
 +
**[http://trac.cs.earlham.edu/infobomb/browser/dataparser/dataparser.py dataparser.py]
 +
*[http://trac.cs.earlham.edu/infobomb/browser/dataviewer/transaction.py transaction.py]
 +
 +
==Editing Log==
 +
*stewie.cs.earlham.edu:/home/infobomb/eeap/eeap_sync.py
 +
**Changed password (Mikio)
 +
*stewie.cs.earlham.edu:/home/infobomb/infobomb/settings.py
 +
**Changed password (Mikio)
 +
 +
==Note (How to log into to infobomb database)==
 +
*How to log in to infobomb database?
 +
**$psql -d infobomb -h db.cs.earlham.edu -U infobomb
 +
**password: ***************
 +
 +
==Documentation on Zoey setup and mashup preparation==
 +
*[[HIP:YSI650_EcoWatch | Level 1: How to correct data with YSI650 and Zoey (Mikio)]]
 +
*[[HIP:Mashup | Level 2: How to mash up map and graph (Sanele)]]
 +
 +
==Zoey Guide==
 +
<s>
 +
*Recover Ubuntu
 +
*Update Ubuntu
 +
*Virtual Box
 +
*Windows XP
 +
*Serial Driver
 +
*EcoWatch
 +
*Data Transfer (File name problem)
 +
</s>
 +
 +
==Inventory==
 +
[[HIP:Inventory | Inventory]]

Latest revision as of 15:13, 13 July 2009

Back to HIP main page
GOTO Web Interface Cacti

TODO during this summer, 2009

  • Testing H2O Unit "End to End"
    • Use EcoWatch with 650 and sonde and optional GPS for ad-hoc sampling, link to instructions
    • Test data flow from sonde to database via cell phone. Readings log and then correctly labeled graphs of all the parameters.
    • Add the board's temperature to the data that is collected, uploaded, and graphed (see the eeapnode software for an example).
    • Add the battery's voltage to the data that is collected, uploaded, and graphed.
    • Test what happens WRT the board booting (with phone and sonde attached) when the battery is brought back from 0 charge to full charge.
  • Identify/configure software for batch download and real-time download/mapping of eTrex datastream on Zoey.
  • Springwood Install
    • Design/build float
    • Reliability
    • Rename sensors to Springwood
  • Weather station
    • Reading values, inserting into database
  • Portable testkits
    • X-ray fluorescence (XRF) - link to inventory, link to instructions
    • Thermal imaging camera (TIC) - link to inventory, link to instructions
    • Sonde and 650 - link to inventory, link to instructions
    • Netbook - link to inventory, link to instructions
    • Differential GPS - link to inventory, link to instructions
  • Keck Data Schema + Interfaces
  • Wind @ miller
  • Learning languages: Perl, Python, Bash
  • Ordering
    • O rings
    • Bright orange fine point sharpie (rolling liquid?)
    • Research netbook computers with built-in GPS gear which support some flavor of Linux
    • GPS? Check Charlie's list

Whats for the week of June 8, 2009

  • Design a raft for the springwood water monitoring kit.
    • floating boats ideas:
http://www.connectadock.com/dock/1000Series/accessories.asp#anchor1000Comp
http://hardware.hardwarestore.com/30-144-floating-dock-kits/polyethylenefloat-hollow-core-633131.aspx 
http://www.overtons.com/modperl/product/details.cgi?i=87019&pdesc=Dockmate_Float_Drums&aID=602F&merchID=1009&r=view   
http://www.angelfire.com/ultra/edaskew/genbarge.html
    • find the best angle for the solar panel for the springwood lake kit (== latitude of the area)
    • Richmond, Indiana — Latitude: 39.829
  • Get the second field unit working
  • Change the name of the water monitoring kit from 4th Floor to Springwood
  • Get all watt nodes on line and in DB
  • Configure the single serial go sonde setting to get data directory from sonde.
  • Get ready for Mashup discussion and finish documentation

Whats for the week of June 22, 2009

  • Packing
  • Weather station
  • Naming the water monitoring kits
  • TS-7400 BIOS settings (auto Power on)
  • Set serial speed for simplest water monitoring unit

What's for the week of June 29, 2009?

  • To inquire software of WMR200A Professional Weather Centert
    • To synchronize weather station with linux
    • To correct data into database
  • To adjust pmp on springwood lake and cacti.
  • To go Charlie's house on Tuesday 8:30 am.
  • To load solar panel, pmp5, and Sonde kit on Charlie's track on Monday 3 pm.
  • To finish packaging differential GPS
  • To make inventories for each packages.
  • To go to Springwood lake and check what's wrong.
  • pmp5 BIOS
  • To find software to read battery voltage in linux.
  • Board temperature of pmp.
  • To email Terry about shopping list and about drums.

things to get(updated July 13, 2009)

    • thermometer
    • test drips for pH
    • tap water conductivity for tap water
    • redox potential for tap water
    • find out if there is a normal dissolved water oxygen.

Packaging

    • For Zoey and accessories: Pelican case 1470
    • For Zoey: Carrying sleeve
    • For Differential GPS: Pelican case 1470 and tripod stand
    • For YSI650 + Sonde: Pelican case 1470
    • For XRF: Pelican case 1430
    • Add another 1470 for second Dell Mini

Shopping List for Terry (updated on June 29)

Measurement for portable test kit

  • XRF (INNOV-X ALPHA)
    • Dimensions: 30.5cm * 24.5cm * 8.0cm
    • Weight: 1.6kg
  • TIC (Fluke TiR1 Infrared Thermal Imager)
    • Dimensions: 25.4cm * 12.7cm * 15.2cm
    • Weight: 1.1kg
  • Sonde (YSI 600R)
    • Diameter: 4.2cm
    • Length: 46.5cm
    • Weight: 0.5kg
  • Netbook (Dell Inspiron Mini 9)
    • Dimensions: 23.2cm * 3.17cm * 17.2cm
    • Weight: 1.03kg
  • GPS (MAGELLAN eXplorist100)
    • Dimensions: 5.6cm x 11.9cm x 3.3cm
    • Weight: 0.164kg
  • Printer(PS900 PrintStik Pocket Size Full Page Printer)
    • Dimensions: 2.5cm * 27.3cm * 3.8cm
    • Weight: 0.7kg
  • pelican case


Weight Measurement
pelican case + battery + cellphone + pmp + charge controller = 38 lb
sonde = 2 lb
solar panel = 22 lb
solar panel stand = 15 lb
total = 77 lb = 35 kg

Infobomb Script

Infobomb trac wiki
Web Interface Cacti
Diagram "pmp to infobomb"

pmp side

  • crondtab
# for Cell Phone 
*/15 * * * * /root/scripts/poll_all_sonde.pl; /root/scripts/process_readings-cell.sh;
0 * * * * /root/scripts/transfer-cell.pl
  • autopoll (shell script)
    • Run sonde_data.pl multiple times

stewie side

infobomb@stewie:~$ crontab -u infobomb -l
SHELL=/bin/bash
MAILTO=infobomb
HOME=/home/infobomb
PATH=/sbin:/bin:/usr/sbin:/usr/bin

# m h  dom mon dow   command
*/10 * * * * export PYTHONPATH='/home/infobomb'; 
             export DJANGO_SETTINGS_MODULE=infobomb.settings; 
             /home/infobomb/infobomb/scripts/run_infobomb_dataparser > /dev/null 2>&1
*/30 * * * * export PYTHONPATH='/home/infobomb'; 
             export DJANGO_SETTINGS_MODULE=infobomb.settings; 
             /home/infobomb/infobomb/scripts/extract-n-check-data.pl > /dev/null 2>&1
*/10 * * * * /home/infobomb/eeap/eeap_sync.py >> /home/infobomb/eeap/log.txt

Editing Log

  • stewie.cs.earlham.edu:/home/infobomb/eeap/eeap_sync.py
    • Changed password (Mikio)
  • stewie.cs.earlham.edu:/home/infobomb/infobomb/settings.py
    • Changed password (Mikio)

Note (How to log into to infobomb database)

  • How to log in to infobomb database?
    • $psql -d infobomb -h db.cs.earlham.edu -U infobomb
    • password: ***************

Documentation on Zoey setup and mashup preparation

Zoey Guide

  • Recover Ubuntu
  • Update Ubuntu
  • Virtual Box
  • Windows XP
  • Serial Driver
  • EcoWatch
  • Data Transfer (File name problem)

Inventory

Inventory