This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' This will take a .csv file from the Kestrel Drop 3 and manipulate it into graphing all the pertinant weather data. | |
Graph 1: Temperature and Dew Point | |
Graph 2: Head Index and Humidity | |
Graph 3: Pressure | |
I have a script command create_weather_graph.sh which easily manipulated the .csv file to remove the unnecesssary lines. | |
''' | |
#Import python modules to be used. import sys is used to get an argument for the | |
#file names and starts at index 1. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""This program will be used to log data during the fermentation process. | |
The sensors will be hooked upto the raspberry pi and the data will be | |
recorded to a .txt file on timed internals. It will record temperature | |
and light as of right now. Eventually this will also contorl a Peltier | |
cooler and a fan. It will be installed on top of a fermentation chamber to | |
maintain temperatures in acceptable yeast ranges. | |
August 10, 2014 K. Snyder""" | |
#IMPORT MODULES |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Sample initialization file for GNU nano. | |
## | |
## Please note that you must have configured nano with --enable-nanorc | |
## for this file to be read! Also note that this file should not be in | |
## DOS or Mac format, and that characters specially interpreted by the | |
## shell should not be escaped here. | |
## | |
## To make sure a value is disabled, use "unset <option>". | |
## | |
## For the options that take parameters, the default value is given. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Libraries to run program | |
import os,sys | |
from PIL import Image | |
import math | |
import serial as Serial | |
import time | |
import pygame | |
import pygame.camera | |
serial = Serial.Serial('/dev/ttyACM0',9600) |