Click here for an animated GIF of what the output should look like.
Click here for my Fritzing Demo.
Purpose:
The purpose of the project was to continue using Processing. The difference from last week was using multiple sensors and returning multiple pieces of data on the graph. Also because of the design of the project we were forced to use a large amount of constants at the top of the project which will help us develop our skills for making more advanced code in the future.
Procedure:
Our Arduino code changed slightly because we needed to add an array in order to accommodate the six sensors we are using, however the processing sketch changed dramatically.The first thing that was done was deciding what and how many ints, floats, colors, and arrays were needed. Then we took the basic idea from last weeks project but added many for loops so that the same code could be adapted for multiple sensors. Finally when we could plot all the data for each sensor we constructed the black average line. For the average line we used two other for loops, one for the row where it should be placed as well as the other for the column where is should be placed.
Parts list:
Full Parts list
Basic Parts list:
1 Arduino Uno
6 LM35DZ's
References were minimal other than the information given from our teacher. However the project is still loosely based off of Serial Communications Using Processing 2 post. Click here to view those references.
Click the image on the left for a link to my teacher's assignment page.
The purpose of the project was to continue using Processing. The difference from last week was using multiple sensors and returning multiple pieces of data on the graph. Also because of the design of the project we were forced to use a large amount of constants at the top of the project which will help us develop our skills for making more advanced code in the future.
Procedure:
Our Arduino code changed slightly because we needed to add an array in order to accommodate the six sensors we are using, however the processing sketch changed dramatically.The first thing that was done was deciding what and how many ints, floats, colors, and arrays were needed. Then we took the basic idea from last weeks project but added many for loops so that the same code could be adapted for multiple sensors. Finally when we could plot all the data for each sensor we constructed the black average line. For the average line we used two other for loops, one for the row where it should be placed as well as the other for the column where is should be placed.
Parts list:
Full Parts list
Basic Parts list:
1 Arduino Uno
6 LM35DZ's
References were minimal other than the information given from our teacher. However the project is still loosely based off of Serial Communications Using Processing 2 post. Click here to view those references.
Click the image on the left for a link to my teacher's assignment page.
I would like to measure NO2 and DEEE (Diesel Emissions – effectively elemental carbon is used as a surrogate) and CO2 continuously real-time over a 30 day period.
ReplyDeleteCan anyone help? Thanks.