Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| report [2024/06/17 00:38] – [7.4 Design] team1 | report [2024/06/19 21:40] (current) – [3.1 Scope] team1 | ||
|---|---|---|---|
| Line 414: | Line 414: | ||
| ==== - Scope ==== | ==== - Scope ==== | ||
| - | In order to be more precise | + | In order to be more precised |
| - Initial research: First of all, initial research has to be done to find out the state of the art. At this point, the marketing analysis can be started, which will provide new strategies to innovate by following ethical and sustainable ideas.\\ | - Initial research: First of all, initial research has to be done to find out the state of the art. At this point, the marketing analysis can be started, which will provide new strategies to innovate by following ethical and sustainable ideas.\\ | ||
| | | ||
| Line 1770: | Line 1770: | ||
| <WRAP centeralign> | <WRAP centeralign> | ||
| <figure box1> | <figure box1> | ||
| - | {{:box1.png? | + | {{:boxx1.png? |
| < | < | ||
| </ | </ | ||
| Line 1778: | Line 1778: | ||
| <WRAP center centeralign> | <WRAP center centeralign> | ||
| <figure box2> | <figure box2> | ||
| - | {{:box2.png? | + | {{:boxx2.png? |
| </ | </ | ||
| </ | </ | ||
| Line 1785: | Line 1785: | ||
| <WRAP center centeralign> | <WRAP center centeralign> | ||
| <figure box3> | <figure box3> | ||
| - | {{:box3.png? | + | {{:boxx3.png? |
| </ | </ | ||
| </ | </ | ||
| Line 2493: | Line 2493: | ||
| === - Structure=== | === - Structure=== | ||
| - | The schematic in the figure below represents the prototype, which is identical to the full design except for the exclusion of the CO₂ sensor, light sensor, and servo motor. In the prototype, the float switch will detect water in the water tank and send a message to the app to refill the tank. The AHT20 sensor will monitor humidity and temperature. Depending on these readings, the fan and valve can be activated. Instead of the difficult-to-obtain Mosfet 30N06L, the fan and valve are connected transistors. For a detailed step-by-step process, please refer to the explanation below the flowchart. The microcontroller ESP32 with CAM can capture images of the growing mycelium and send them to the app. For the prototype, AI detection will not be used, as training AI requires a large number of pictures and substantial time, making it infeasible for the prototype. | + | The schematic in the figure below represents the prototype, which is identical to the full design except for the exclusion of the CO₂ sensor |
| The detailed schematics are shown in the following Figure {{ref> | The detailed schematics are shown in the following Figure {{ref> | ||
| Line 2504: | Line 2504: | ||
| === - Hardware === | === - Hardware === | ||
| - | Compared to the designed solution, | + | |
| - | The materials for the prototype | + | For the non-electrical parts of the prototype, the white expanded PVC sheets were reused from an old project for sustainability reasons. The dimensions |
| + | |||
| + | <WRAP center centeralign> | ||
| + | <figure prototype1> | ||
| + | {{: | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | <WRAP center centeralign> | ||
| + | <figure prototype2> | ||
| + | {{: | ||
| + | </ | ||
| + | </ | ||
| === Power Budget Prototype === | === Power Budget Prototype === | ||
| Line 2581: | Line 2593: | ||
| The analysis reveals a maximum stress of 2.5 MPa. Given that the ABS material used can withstand at least 30 MPa, no stability issues are anticipated. However, it was noted that the plate intended to block light for the dark room sags by 25 mm in the middle due to its own weight. This issue will be resolved by adding some support to the upper plate. Otherwise, there are no significant deformations under normal load. | The analysis reveals a maximum stress of 2.5 MPa. Given that the ABS material used can withstand at least 30 MPa, no stability issues are anticipated. However, it was noted that the plate intended to block light for the dark room sags by 25 mm in the middle due to its own weight. This issue will be resolved by adding some support to the upper plate. Otherwise, there are no significant deformations under normal load. | ||
| - | Next, the maximum possible load uniformly distributed on the device was examined. At a load of 1000 kg on the device, only a small area exceeds the maximum stress, specifically at the middle attachment of the rail to the level, as seen in Figure {{ref> | + | Next, the maximum possible load uniformly distributed on the device was examined. At a load of 1000 kg on the device, only a small area exceeds the maximum stress, specifically at the middle attachment of the roller conveyor |
| <WRAP center centeralign> | <WRAP center centeralign> | ||
| Line 2621: | Line 2633: | ||
| </ | </ | ||
| - | The maximum stress occurs again, like in the second simulation, at the attachment of the rail to the level. This again confirms the presence of a weak point and justifies the reinforcement of the component, even though the maximum allowable stress is not exceeded. | + | The maximum stress occurs again, like in the second simulation, at the attachment of the roller conveyor |
| In conclusion, the analyses indicate that the product can withstand significant stresses and loads, thus meeting our durability and stability requirements. Additionally, | In conclusion, the analyses indicate that the product can withstand significant stresses and loads, thus meeting our durability and stability requirements. Additionally, | ||
| Line 2651: | Line 2663: | ||
| </ | </ | ||
| </ | </ | ||
| + | Now we are going to see how fast is the API to respond as the previous tests were more of stress tests. Table{{ref> | ||
| + | latency tests were made by making ten consecutive calls to each operation and | ||
| + | calculating the corresponding average and standard deviation values. | ||
| + | Table{{ref> | ||
| + | tests consist in making 10, 100 and 1000 simultaneous requests to the operation | ||
| + | with higher average latency in table{{ref> | ||
| + | <WRAP center centeralign> | ||
| + | |||
| + | <table test_table1 > | ||
| + | < | ||
| + | <WRAP box center leftalign 400px> | ||
| + | ^ Operation ^ Method ^ Result ^ Size ( B ) ^ Average Latency (ms) ^ Latency Deviation (ms) ^ | ||
| + | |Check | token | GET | OK | 207 | 6 | 0 | ||
| + | |Connect | POST | OK | 332 | 9 | 7 | | ||
| + | |Disconnect | DELETE | OK | 334 | 7 | 3 | | ||
| + | |Get | Data | GET | OK | 331 | 6 | 3 | ||
| + | |Get | User | GET | OK | 290 | 8 | 2 | ||
| + | |Login | POST | OK | 426 | 21 | 7 | | ||
| + | |Logout | DELETE | OK | 245 | 25 | 10 | | ||
| + | |Register | PUT | OK | 315 | 14 | 1 | | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | <WRAP center centeralign> | ||
| + | |||
| + | <table test_table2 > | ||
| + | < | ||
| + | <WRAP box center leftalign 400px> | ||
| + | ^Requests/ | ||
| + | |10/10 | Logout | GET | 245 | 36 | 11 | | ||
| + | |100/100 | Logout | GET | 245 | 28 | 8 | | ||
| + | |1000/1000 | Logout | GET | 245 | 763 | 331 | | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | These results show that the app provides a friendly user experience. | ||
| Mqtt broker testing \\ | Mqtt broker testing \\ | ||
| For the mqtt broker testing the [[https:// | For the mqtt broker testing the [[https:// | ||