second code day 2

Yichao Xie and Shiran Guo
// Define the pin connected to the pressure sensor (FSR)const int fsrPin = A0;  // FSR sensor connected to analog pin A0
// Define the pin for the LED (pin 13 in this case)const int ledPin = 13;  // LED connected to pin 13
// Define the threshold value to detect pressureint threshold = 300;  // Adjust this value based on your sensor's response
void setup() {  // Start the serial communication  Serial.begin(9600);
  // Wait for the serial port to connect  while (!Serial) {    ; // Wait for the serial port to connect. Needed for native USB port boards.  }
  // Set the LED pin as an output  pinMode(ledPin, OUTPUT);
  // Print a startup message  Serial.println("Pressure Sensor with LED Example Initialized");}
void loop() {  // Read the analog value from the sensor (0 to 1023)  int sensorValue = analogRead(fsrPin);
  // Print the sensor value to the serial monitor (optional)  Serial.print("FSR Value: ");  Serial.println(sensorValue);
  // Check if the sensor value exceeds the threshold  if (sensorValue > threshold) {    Serial.println("Pressure Sensed");  // Print when pressure is detected
    // Turn on the LED when pressure is sensed    digitalWrite(ledPin, HIGH);  } else {    // Turn off the LED when no pressure is sensed    digitalWrite(ledPin, LOW);  }
  // Add a small delay to make the serial output readable  delay(500);  // 500ms delay}

Day 3 - Additional Progress

oliver choi and Charles Juhas
Debugging SciC#2

We created a debugging file to ensure the button works.

Day 3 - Progress

oliver choi and Charles Juhas
Sci C#1

Today, we...

  1. Finished building the first iteration of our button-powered sprinkler. 

The pump and sprinkler worked, however, the button did not turn the sprinkler on/off. We are identifying the issue.

Our current code is stored on the file provided.

Mid-Review Plan

oliver choi and Charles Juhas

1. Title w/ Tagline

2. Problem/Solution

3. Previous Idea w/ Sketches

4. Precedents (Conceptual, Technical)

5. Current Idea w/ Sketches (explain what we are mimicking and how)

6. Iterations

House (Exterior) Building

Electronic Wiring + Code

Debugging and Re-wiring

Putting Together House and Electronics

7. Future Planning (experiment, ways to improve)

Interior Sketch File

oliver choi and Charles Juhas
Defy The Flames - interior sketch #1.png

Exterior Sketch File

oliver choi and Charles Juhas
Defy The Flames - Exterior Sketch #1.png

Choi & Juhas Initial Sketches

Charles Juhas and oliver choi

Rhino File

Charles Juhas and oliver choi
House Design.3dm
Laser Cut House.dxf

Rhino Files

Day 1 - Progress

Charles Juhas and oliver choi

Today, we...

  1. Finalized our idea
  2. Researched precedents and sources for information
  3. Brainstormed our game plan for the next week
  4. Made a Rhino file and laser-cutted a house outline we will use
  5. Ordered materials for assembly (arriving tomorrow)

Research/Idea Doc: https://docs.google.com/document/d/1tS_moL11wLq0xZ3OCQW0xEWKmSRIzGhkKsLNmnBLKOE/edit?usp=sharing


Research:

“A beloved giant of the forest, this tree was once thought to be fireproof — and it’s easy to see why. Giant sequoia bark can get as much as three feet thick, completely sheltering the growing cambium layer of the tree from damage. Branches also begin high up on the trunk, preventing fire from moving up into the tree canopy. These traits were developed over thousands of years through repeated exposure to low-intensity fires. One additional fire-related trait is the tree’s cones. They open up when exposed to heat, allowing their seeds to sprout and take root on bare soil that has been cleared of needles and other organic material. Thick bark protects the inner layer of the tree that’s actively growing (known as cambium). High moisture content in the wood or leaves means they will not burn as intensely or as quickly.” 

https://www.arborday.org/perspectives/are-some-trees-fire-resistant-actually-yes#:~:text=Thick%20bark%20protects%20the%20inner,from%20climbing%20into%20the%20treetops.


“Some trees are more likely to survive because moist foliage will not burn until it is heated sufficiently to drive off the moisture. When the winds are moving fast often it is past the trees before they have dried sufficiently to ignite.”

“For objects like cars or houses to burn, they “must be exposed to a sufficient temperature for a sufficient duration” so that the materials chemically break down in a process known as thermal decomposition (here), Niamh Nic Daeid, Director of the Leverhulme Research Centre for Forensic Science at the University of Dundee, said to Reuters. When this occurs, the materials “release gases which, when mixed with air, can ignite,” she added.”

“Dense tree trunks filled with water will not catch fire easily, JB Friday, Extension Forester at the University of Hawaii at Manoa said, with Christopher Baird, Associate Professor of Physics at West Texas A&M University, adding that water has a high heat capacity allowing it to absorb a lot of heat before increasing much in temperature (here).

Wildfires “tend to be most intense at ground level,” Baird said, where dry grass and shrubs known as “fine fuels” can burn easily (here), while trees with no low branches, such as palm trees, have their branches above the most intense parts of the fire.”

https://www.reuters.com/fact-check/standing-trees-after-la-fires-are-not-evidence-laser-attack-2025-01-14/#:~:text=%E2%80%9CTrees%20are%20more%20likely%20to,have%20dried%20sufficiently%20to%20ignite.%E2%80%9D

https://www.nps.gov/seki/learn/nature/giant-sequoias-and-fire.htm

Eletronic Iteration #1 Photo

oliver choi and Charles Juhas
Electronic Iteration #1.png

Image