amc:ss2025:group-b:start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
amc:ss2025:group-b:start [2025/07/29 18:53] – 33189_students.hsrw | amc:ss2025:group-b:start [2025/07/29 19:14] (current) – 34284_students.hsrw | ||
---|---|---|---|
Line 53: | Line 53: | ||
The code was written in Arduino IDE and configured to move the motor forward in short bursts, pause for 30 seconds at each stop to simulate thermal stabilization, | The code was written in Arduino IDE and configured to move the motor forward in short bursts, pause for 30 seconds at each stop to simulate thermal stabilization, | ||
- | ===== Results ===== | + | ====== Results |
(by Kirandeep Kaur) | (by Kirandeep Kaur) | ||
- | The Arduino code successfully controlled the descent and temperature reading collection | + | The Arduino code successfully controlled the descent and temperature reading collection. For the sole purpose of a demo, the code was written in such a way it samples a 3 meter deep lake or water body. This would mean a total of 5 depth levels were configured, corresponding to a total descent of 2.5 meters. Readings are not taken at the 3 meter mark as by then the temperature readings would be affected by the temperature of the waterbed. Therefore, at each step, the system printed the estimated depth and corresponding temperature reading onto the serial monitor. The readings were separated by 30-second delays to mimic the real sampling procedure. Once all data points were collected, the motor reversed and reeled in the sensor based on the total descent time. The final message confirmed the completion of the measurement cycle (Figure 5.). |
+ | <code C++> | ||
#include < | #include < | ||
#include < | #include < | ||
Line 125: | Line 126: | ||
void loop() { | void loop() { | ||
} | } | ||
- | + | </code> | |
- | //Figure 4. Arduino | + | |
{{: | {{: | ||
Line 132: | Line 132: | ||
//Figure 5. Real-time output from Arduino serial monitor showing temperature readings at every 0.5m depth.// | //Figure 5. Real-time output from Arduino serial monitor showing temperature readings at every 0.5m depth.// | ||
+ | The motor behaved as expected in both directions when supplied with 9V, although noticeably under-powered compared to its rated 12V specification. The DS18B20 sensor responded with temperature values at each level. The encoder component of the motor did not produce usable signals during testing and was omitted from the final implementation. An SD card module was not connected during this prototype phase due to time constraints, | ||
+ | |||
+ | <code C++> | ||
#include < | #include < | ||
Line 168: | Line 171: | ||
} | } | ||
} | } | ||
+ | </ | ||
- | //Figure 6. Planned code for logging temperature, | ||
- | The motor behaved as expected in both directions when supplied with 9V, although noticeably under-powered compared to its rated 12V specification. The DS18B20 sensor responded with temperature values at each level. The encoder component of the motor did not produce usable signals during testing and was omitted from the final implementation. An SD card module was not connected during this prototype phase due to time constraints, | ||
===== Discussion ===== | ===== Discussion ===== | ||
Line 182: | Line 184: | ||
Despite these limitations, | Despite these limitations, | ||
- | ===== Conclusion ===== | + | ====== Conclusion |
(by Kirandeep Kaur) | (by Kirandeep Kaur) | ||
amc/ss2025/group-b/start.1753807997.txt.gz · Last modified: 2025/07/29 18:53 by 33189_students.hsrw