amc:ss2025:group-g:start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
amc:ss2025:group-g:start [2025/07/29 23:16] – [3. Results] 29478_students.hsrw | amc:ss2025:group-g:start [2025/07/29 23:57] (current) – [Explanation Video] 29478_students.hsrw | ||
---|---|---|---|
Line 122: | Line 122: | ||
for (int i = 0; i < length; i++) { | for (int i = 0; i < length; i++) { | ||
Serial.print((char)payload[i]); | Serial.print((char)payload[i]); | ||
- | |||
} | } | ||
Serial.println(); | Serial.println(); | ||
- | |||
} | } | ||
Line 133: | Line 131: | ||
if (soilMoistPerc < 0) { | if (soilMoistPerc < 0) { | ||
soilMoistPerc = 0; | soilMoistPerc = 0; | ||
- | |||
} | } | ||
else if (soilMoistPerc > 100) { | else if (soilMoistPerc > 100) { | ||
soilMoistPerc = 100; | soilMoistPerc = 100; | ||
- | |||
} | } | ||
Serial.print(" | Serial.print(" | ||
Line 143: | Line 139: | ||
Serial.println(" | Serial.println(" | ||
Serial.println(" | Serial.println(" | ||
- | |||
} | } | ||
Line 149: | Line 144: | ||
if (isnan(humidity) | isnan(temperature_C)) { | if (isnan(humidity) | isnan(temperature_C)) { | ||
Serial.println(" | Serial.println(" | ||
- | |||
} | } | ||
else { | else { | ||
Line 187: | Line 181: | ||
Serial.println(" | Serial.println(" | ||
connected = client.connect(); | connected = client.connect(); | ||
- | |||
} | } | ||
+ | | ||
Serial.println(connected); | Serial.println(connected); | ||
light = analogRead(LDRPIN); | light = analogRead(LDRPIN); | ||
// | // | ||
- | | ||
| | ||
hum = dht.readHumidity(); | hum = dht.readHumidity(); | ||
Line 268: | Line 261: | ||
* Enhanced Dashboard: Add mobile compatibility, | * Enhanced Dashboard: Add mobile compatibility, | ||
* Enhanced Functionality: | * Enhanced Functionality: | ||
+ | |||
+ | ====== Explanation Video ====== | ||
+ | |||
+ | The videos showing the explanation and demo are zipped below. Also included is the schematic file showing how everything is connected. Uploaded here for the size of the zipped file is still too large for Moodle. | ||
+ | |||
+ | {{ : | ||
====== References ====== | ====== References ====== |
amc/ss2025/group-g/start.1753823815.txt.gz · Last modified: 2025/07/29 23:16 by 29478_students.hsrw