Team:Cornell/project/drylab/components/electronics
From 2013.igem.org
(Difference between revisions)
Line 19: | Line 19: | ||
<h4>Temperature Sensor:</h4> | <h4>Temperature Sensor:</h4> | ||
The LM34 temperature sensor system is illustrated below: | The LM34 temperature sensor system is illustrated below: | ||
- | <img src="https:// | + | <img src="https://static.igem.org/mediawiki/2013/8/88/Tempschematic.jpg"/> <br> |
The temperature sensor is hooked onto the A1 port of the micro-controller to allow the micro-controller to read data from the sensor. The micro-controller was programmed in C through the Arduino IDE to read the temperature every second. The program is designed as a feedback loop which decides whether to raise or lower the temperature based on the temperature input. Temperature is controlled by switching on or off the power loop. The micro-controller outputs a certain voltage based on the program, and that voltage (0 or 3.3V) will signal the transistor to switch on or off, either opening or closing the 6 V loop, which heats up the whole tank. <br> | The temperature sensor is hooked onto the A1 port of the micro-controller to allow the micro-controller to read data from the sensor. The micro-controller was programmed in C through the Arduino IDE to read the temperature every second. The program is designed as a feedback loop which decides whether to raise or lower the temperature based on the temperature input. Temperature is controlled by switching on or off the power loop. The micro-controller outputs a certain voltage based on the program, and that voltage (0 or 3.3V) will signal the transistor to switch on or off, either opening or closing the 6 V loop, which heats up the whole tank. <br> | ||
The LM34 temperature sensor was chosen because it can read a wide range of temperatures to a 1.0°F accuracy, which is perfect for tuning the temperature of the incubator. Once the entire circuit was hooked up with the right components according to the schematic, measurements were taken to compare the temperature sensor with an actual thermometer’s readings. The temperature sensor was accurate to within 1°C, which was one of the requirements for the mushroom incubator. During the calibration, the temperature sensor reacted a lot quicker to temperature change than the actual thermometer. While the sensor and the thermometer were not placed in the same location by the resistor, they were close enough for this difference to be negligible. While doing this calibration, the change in voltage was recorded on the oscilloscope. Refer to the two diagrams in the Heating Circuit section to see the different options for heating by adjusting the duty cycle of the high to low voltage ratio.<br> | The LM34 temperature sensor was chosen because it can read a wide range of temperatures to a 1.0°F accuracy, which is perfect for tuning the temperature of the incubator. Once the entire circuit was hooked up with the right components according to the schematic, measurements were taken to compare the temperature sensor with an actual thermometer’s readings. The temperature sensor was accurate to within 1°C, which was one of the requirements for the mushroom incubator. During the calibration, the temperature sensor reacted a lot quicker to temperature change than the actual thermometer. While the sensor and the thermometer were not placed in the same location by the resistor, they were close enough for this difference to be negligible. While doing this calibration, the change in voltage was recorded on the oscilloscope. Refer to the two diagrams in the Heating Circuit section to see the different options for heating by adjusting the duty cycle of the high to low voltage ratio.<br> | ||
<h4>Humidity Sensor:</h4> | <h4>Humidity Sensor:</h4> | ||
- | <img src="https:// | + | <img src="https://static.igem.org/mediawiki/2013/9/9f/Humidityschem.jpg"/> <br> |
A HH10D humidity sensor module was used to measure the relative humidity of the environment. This sensor was connected according to manufacturer instructions such as connecting power, ground, frequency output, SCL, and SDA to the corresponding pins on the sensor board.<br> | A HH10D humidity sensor module was used to measure the relative humidity of the environment. This sensor was connected according to manufacturer instructions such as connecting power, ground, frequency output, SCL, and SDA to the corresponding pins on the sensor board.<br> | ||
To collect data about the humidity, a mistmaker was used to increase the relative humidity of the surrounding area, and the humidity sensor was placed in the vicinity of this mistmaker from the start. This experiment was done by putting the mistmaker in a box, making sure to not allow the mist to escape, and as the mistmaker distributed the water more evenly throughout the box, the relative humidity increased. As the amount of humidity began to increase, the sensor could measure the increase in relative humidity. <br> | To collect data about the humidity, a mistmaker was used to increase the relative humidity of the surrounding area, and the humidity sensor was placed in the vicinity of this mistmaker from the start. This experiment was done by putting the mistmaker in a box, making sure to not allow the mist to escape, and as the mistmaker distributed the water more evenly throughout the box, the relative humidity increased. As the amount of humidity began to increase, the sensor could measure the increase in relative humidity. <br> |
Revision as of 03:00, 28 September 2013
Electronics
Temperature Sensor:
The LM34 temperature sensor system is illustrated below:The temperature sensor is hooked onto the A1 port of the micro-controller to allow the micro-controller to read data from the sensor. The micro-controller was programmed in C through the Arduino IDE to read the temperature every second. The program is designed as a feedback loop which decides whether to raise or lower the temperature based on the temperature input. Temperature is controlled by switching on or off the power loop. The micro-controller outputs a certain voltage based on the program, and that voltage (0 or 3.3V) will signal the transistor to switch on or off, either opening or closing the 6 V loop, which heats up the whole tank.
The LM34 temperature sensor was chosen because it can read a wide range of temperatures to a 1.0°F accuracy, which is perfect for tuning the temperature of the incubator. Once the entire circuit was hooked up with the right components according to the schematic, measurements were taken to compare the temperature sensor with an actual thermometer’s readings. The temperature sensor was accurate to within 1°C, which was one of the requirements for the mushroom incubator. During the calibration, the temperature sensor reacted a lot quicker to temperature change than the actual thermometer. While the sensor and the thermometer were not placed in the same location by the resistor, they were close enough for this difference to be negligible. While doing this calibration, the change in voltage was recorded on the oscilloscope. Refer to the two diagrams in the Heating Circuit section to see the different options for heating by adjusting the duty cycle of the high to low voltage ratio.
Humidity Sensor:
A HH10D humidity sensor module was used to measure the relative humidity of the environment. This sensor was connected according to manufacturer instructions such as connecting power, ground, frequency output, SCL, and SDA to the corresponding pins on the sensor board.
To collect data about the humidity, a mistmaker was used to increase the relative humidity of the surrounding area, and the humidity sensor was placed in the vicinity of this mistmaker from the start. This experiment was done by putting the mistmaker in a box, making sure to not allow the mist to escape, and as the mistmaker distributed the water more evenly throughout the box, the relative humidity increased. As the amount of humidity began to increase, the sensor could measure the increase in relative humidity.
The components used are listed below:
- HH10D Humidity Sensor
- Ocean Mist Mist Maker, DK-24
- 5.1kΩ Resistors (x2)