Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| report [2015/06/23 16:50] – [7.2 Architecture] team1 | report [2015/06/23 19:14] (current) – [7.2 Architecture] team1 | ||
|---|---|---|---|
| Line 1154: | Line 1154: | ||
| Mobility in the dehydrator is favored by a modular design. The heating tunnel can be displaced with a way guides and adapt its position with the dehydration chamber, performing a unique body. In the lower part of the tunnel a pair of wheels is settled, making the usage and transportation of the product more pleasant. Figure {{ref> | Mobility in the dehydrator is favored by a modular design. The heating tunnel can be displaced with a way guides and adapt its position with the dehydration chamber, performing a unique body. In the lower part of the tunnel a pair of wheels is settled, making the usage and transportation of the product more pleasant. Figure {{ref> | ||
| <figure a23> | <figure a23> | ||
| - | {{:plegado.jpg?800|}} | + | {{ :untitled.58.jpg?800 |}} |
| < | < | ||
| </ | </ | ||
| Line 1160: | Line 1160: | ||
| Another problem to take into account is the isolation of the food to bugs and other physical agents from the exterior that can affect in a negative way to the food. The use of nets in both intakes to prevent the entry of unwanted solids is mandatory. | Another problem to take into account is the isolation of the food to bugs and other physical agents from the exterior that can affect in a negative way to the food. The use of nets in both intakes to prevent the entry of unwanted solids is mandatory. | ||
| - | To illustrate some of the design changes in a graphic way, in the following pictures details as the allocation of the air vent, the interior guides of the new shelves and the initial idea of the rear support system. Also are included some of the different parts draws with references to the main measurements of each. In the assembly draws it is shown in the three critical positions. Lowest position in operation, highest position in operation and compact position, prepared to be carried out. In the compact position must be taken into account that this is not the position the user is going to held while the transporting, | + | To illustrate some of the design changes in a graphic way, in the following pictures details as the allocation of the air vent, the interior guides of the new shelves and the initial idea of the rear support system. Also are included some of the different parts draws with references to the main measurements of each. In the assembly draws it is shown in the three critical positions. Lowest position in operation, highest position in operation and compact position, prepared to be carried out. In the compact position must be taken into account that this is not the position the user is going to held while the transporting, |
| - | < | + | < |
| - | {{: | + | {{: |
| < | < | ||
| </ | </ | ||
| - | < | + | < |
| - | {{: | + | {{: |
| < | < | ||
| </ | </ | ||
| - | < | + | < |
| - | {{: | + | {{: |
| < | < | ||
| + | </ | ||
| + | |||
| + | <figure a98> | ||
| + | {{: | ||
| + | < | ||
| + | </ | ||
| + | |||
| + | <figure a99> | ||
| + | {{: | ||
| + | < | ||
| + | </ | ||
| + | |||
| + | <figure a100> | ||
| + | {{: | ||
| + | < | ||
| </ | </ | ||
| Line 1221: | Line 1236: | ||
| Concerning to the user experience, we want to give an intuitive and kind interaction between the product and the customer. The system is supported with an LCD display that shows directly to the user all the information needed to start the process. To interact with the system it is also required some keyboard or any kind of control to give the user the chance to select his different needs depending on the requirements on the food that is going to be dehydrated. Figures {{ref> | Concerning to the user experience, we want to give an intuitive and kind interaction between the product and the customer. The system is supported with an LCD display that shows directly to the user all the information needed to start the process. To interact with the system it is also required some keyboard or any kind of control to give the user the chance to select his different needs depending on the requirements on the food that is going to be dehydrated. Figures {{ref> | ||
| <figure a35> | <figure a35> | ||
| - | {{ : | + | {{ : |
| < | < | ||
| </ | </ | ||
| <figure a36> | <figure a36> | ||
| - | {{ : | + | {{ : |
| < | < | ||
| </ | </ | ||
| Line 1488: | Line 1503: | ||
| - | In the case of the basic sketch used to evaluate the proper read and control of the signals, it was used a pair of LEDs, one controlling temperature output signals and the second one controlling humidity output signals. So this is a summarized example of the If conditions used for this test, which is the base of the whole program, where h is the read value of humidity and t is the read value of temperature: | + | In the case of the basic sketch used to evaluate the proper read and control of the signals, it was used a pair of LEDs, one controlling temperature output signals and the second one controlling humidity output signals. So the If conditions used for this test, which is the base of the whole program, where h is the read value of humidity and t is the read value of temperature. |
| - | + | ||
| - | + | ||
| - | if (h > 80) digitalWrite(12, | + | |
| - | if (t > 24) digitalWrite(11, | + | |
| - | if (h < 80) digitalWrite(12, | + | |
| - | if (t < 24) digitalWrite(11, | + | |
| | | ||
| | | ||
| - | Once the values are under control, it was thought to be necessarily considered the possibility of having a full range of different values in order to adequate the process to the kind of food desired to dehydrated by the user. This implies that the user needs to interact with the Arduino to be capable to select the proper program. That’s the main reason of having an LCD Shield with buttons in the electronic system. The LCD permits a visual interaction and the buttons permit the user to surf through a specific menu where it is shown a variety of foods to dehydrate. The use of an LCD and moreover the use of buttons requires also a specific library. Here is shown an example | + | Once the values are under control, it was thought to be necessarily considered the possibility of having a full range of different values in order to adequate the process to the kind of food desired to dehydrated by the user. This implies that the user needs to interact with the Arduino to be capable to select the proper program. That’s the main reason of having an LCD Shield with buttons in the electronic system. The LCD permits a visual interaction and the buttons permit the user to surf through a specific menu where it is shown a variety of foods to dehydrate. The use of an LCD and moreover the use of buttons requires also a specific library. Here in Figure {{ref> |
| - | #include "DHT.h" | + | <figure a101> |
| - | # | + | {{ : |
| + | <caption>// | ||
| + | </figure> | ||
| - | #define DHTPIN 13 // what pin we're connected to | ||
| - | #define DHTTYPE DHT22 // DHT 22 (AM2302) | ||
| - | // Initialize DHT sensor for normal 16mhz Arduino | ||
| - | DHT dht(DHTPIN, DHTTYPE); | ||
| - | LiquidCrystal lcd(8, 9, 4, 5, 6, 7); | ||
| - | void setup() { | + | The process now is more complex. The whole variety of products have to be set and the program has to know which food has been selected. This implies that when a food program is selected the whole rest of the code has to be obviated. A basic way to develop this program is by using counters and If statements. The counters are arbitrary values that work inside an If condition. Every time the If condition is accomplished, |
| - | Serial.begin(9600); | + | |
| - | Serial.println(" | + | |
| - | + | ||
| - | // set up the LCD's number of columns and rows: | + | |
| - | lcd.begin(16, | + | |
| - | // Print a message to the LCD. | + | |
| - | lcd.print(" | + | |
| - | delay(1000); | + | |
| - | lcd.clear(); | + | |
| - | delay(400); | + | |
| - | lcd.setCursor(0, | + | |
| - | // print the number of seconds since reset: | + | |
| - | lcd.print(" | + | |
| - | lcd.setCursor(0, | + | |
| - | // print the number of seconds since reset: | + | |
| - | lcd.print(" | + | |
| - | pinMode(12, OUTPUT); | + | |
| - | pinMode(11, OUTPUT); | + | |
| - | dht.begin(); | + | |
| - | } | + | |
| - | + | ||
| - | + | ||
| - | void loop() { | + | |
| - | // Wait a few seconds between measurements. | + | |
| - | delay(2000); | + | |
| - | float h = dht.readHumidity(); | + | |
| - | // Read temperature as Celsius | + | |
| - | float t = dht.readTemperature(); | + | |
| - | // Read temperature as Fahrenheit | + | |
| - | float f = dht.readTemperature(true); | + | |
| - | + | ||
| - | // Check if any reads failed and exit early (to try again). | + | |
| - | if (isnan(h) || isnan(t) || isnan(f)) { | + | |
| - | Serial.println(" | + | |
| - | return; | + | |
| - | } | + | |
| - | float hi = dht.computeHeatIndex(f, | + | |
| - | Serial.print(" | + | |
| - | Serial.print(h); | + | |
| - | Serial.print(" | + | |
| - | Serial.print(" | + | |
| - | Serial.print(t); | + | |
| - | Serial.print(" | + | |
| - | Serial.print(f); | + | |
| - | Serial.print(" | + | |
| - | Serial.print(" | + | |
| - | Serial.print(hi); | + | |
| - | Serial.println(" | + | |
| - | lcd.clear(); | + | |
| - | lcd.setCursor(0, | + | |
| - | lcd.print(" | + | |
| - | lcd.setCursor(5, | + | |
| - | lcd.print(h); | + | |
| - | lcd.setCursor(0, | + | |
| - | lcd.print(" | + | |
| - | lcd.setCursor(6, | + | |
| - | lcd.print(t); | + | |
| - | if (h > 80) digitalWrite(12, | + | |
| - | if (t > 24) digitalWrite(11, | + | |
| - | if (h < 80) digitalWrite(12, | + | |
| - | if (t < 24) digitalWrite(11, | + | |
| - | } | + | |
| - | + | ||
| - | + | ||
| - | The process now is more complex. The whole variety of products have to be set and the program has to know which food has been selected. This implies that when a food program is selected the whole rest of the code has to be obviated. A basic way to develop this program is by using counters and If statements. The counters are arbitrary values that work inside an If condition. Every time the If condition is accomplished, | + | |
| ==== 7.5 Tests and Results ==== | ==== 7.5 Tests and Results ==== | ||
| Line 1584: | Line 1525: | ||
| Once each and every one of the components passed the test, a code for the dehydrator had to be written. It was required a very specific functionality, | Once each and every one of the components passed the test, a code for the dehydrator had to be written. It was required a very specific functionality, | ||
| - | Figure {{ref>a50}} | + | Figure {{ref>a51}}, Figure {{ref> |
| - | < | + | < |
| {{: | {{: | ||
| < | < | ||
| </ | </ | ||
| - | Figure {{ref> | + | |
| - | < | + | < |
| {{: | {{: | ||
| < | < | ||
| </ | </ | ||
| - | Figure {{ref> | + | |
| - | < | + | < |
| {{: | {{: | ||
| < | < | ||