Sunday, 27 November 2011

LM35DZ

Click the icons below:


                     




Purpose:
The purpose of this project was to get us experimenting more with Processing. It was to have us create more of the code rather than change existing code. It also forced us to consult our Getting Started with Processing book, to help us with coding different shapes and text.

Procedure:
The procedure for hardware was very simple. We took out the NTC Thermistor and replaced it with the LM35DZ. The Arduino sketch stayed the same as last week but the Processing sketch was changed drastically. We took our processing code from last week and deleted as well as added code to it, to form our scaled graph.

Parts list:


Basic parts list 

Arduino 
LM35DZ


References were listed on last weeks blog post. Click here to go there now.

Friday, 25 November 2011

Today In Class 11/21/11

Hello,

Today in class we talked about our project for the weekend. Our assignment is to change the NTC Thermistor to an  LM35DZ sensor. This sensor only requires 3 wires to bread-board so it is easier to wire than the NTC Thermistor. Our assignment is to change our processing code. We are eliminating the thermometer on the side and only using one graph. However we are scaling the graph and will eventually add more sensors so we can compare them. 


Our goal for next week is to add two LM35DZ sensors and have output like this 
   




However this Sunday we will have the same output as the image to your left, but with only one LM35DZ (one line)

Saturday, 19 November 2011

Serial Communications Using Processing (Thermistor Part 2)

Click the icons below


                     





Purpose of the Project:
The purpose of this weeks project was to start applying Processing to our class. We had made a thermometer last week and Processing allowed us to do so much more with the same project. It got the ball rolling for projects in the future, like the green house and is getting us accustomed to visual programming.

Procedure:
We used the Arduino sketch to convert the raw input data to Celsius. The Processing sketch changes that data reading so that it is no longer numbers in the Arduino serial monitor but a fully functional graph. The Fritzing image helps us organize our breadboard setup so we fully understand what is going on with the hardware side of the project.


Parts List:


Basic list:
Arduino
Thermistor
10k ohm Potentiometer 



Click the different browser icons to go to different reference sites

 
       Helpful  Processing Book
            
                     Location of origional sketch
 
Useful Processing site

Tuesday, 15 November 2011

Today In Class 11/15/11

Hello,
Today in class we talked about adding a graphic to go along with our thermistor project. The graph is made to support the readings of the thermistor and display a thermometer and a line graph. We are still using Arduino programming but are integrating it into Processing. Processing has its own code to display the graphics but relies on the Arduino code to take the readings from the Arduino and also convert the raw data to Celsius. The two programs work together very well seeing as they both use c++ code and Arduino was somewhat based off of Processing. My teacher pointed our class to pscmpf's blog which has both the Arduino and Processing code needed to achieve this output, however in the blog he uses a TO-92 instead of a thermistor but we are keeping the thermistor. The code on his site is mostly correct but some changes will need to be made. I am in the process of changing the code. A video explaining everything along with a blog post consisting of helpful links and the code I used will be posted on Sunday November 20th.

The output we are trying to achieve:














A site that is very helpful for setting up Processing is:
http://itp.nyu.edu/physcomp/Labs/SerialOut

Anything that I post and requires a download (ie. Word Document, HTML and others) will be here:
http://mail.rsgc.on.ca/~kmacmillan/

*Note, I will try and post something like this on the days where I have computers class. You can expect a post about every other day and a detailed video with helpful links and code every Sunday.

Monday, 14 November 2011

NTC Thermistor

Click the icons below

         
Youtube Video
        
Fritzing Image
         
Arduino Sketch
 
No Sketch









Purpose of the Project:
The purpose of this assignment was to get us familiar with converting raw data to Kelvin, and then converting Kelvin to Celsius. This project was also preparing us for future assignments, such as taking reading like temperature, moisture and wind speed from the greenhouse.

Procedure:
We breadboarded first to make sure we could get a reading in the serial monitor. Then we adjusted the potentiometer to full to make sure the reading stayed the same. Then we wrote a sketch to convert the raw reading to Kelvin, and then converted Kelvin to Celsius.

Parts List:


Basic list:
Arduino
Thermistor
10k ohm Potentiometer  



Resources

    
    Screenium
    
    Formula Sheet
    
    Parts List