Introduction: The Greenhouse of Humanity

The project's purpose is to have a place for plants to grow and thrive when it's not the suitable temperature outside for them. It's going to have windows on the roof to let sunlight in and out, when needed determined by a temperature sensor. We are also going to have a moisture sensor that will help determine when the plants need to be watered. It has structural, electrical, and mechanical elements, and it's dispensing water.

Supplies

Step 1: Group Brainstorm

We came up with this idea by brainstorming. First, we thought about all the problems in the world that we cared about, Some problems that we cared about were poverty, homelessness, and pets. We sat together for a while looking at the rubric, looking at which project would give us the most points. While doing that our team figured out that the points for the project were almost alike. Then, we eliminated them from our list and started thinking again. That's when we came up with an idea of a greenhouse. It's going to solve the problem of plants dying due to the climate changes. The mechanical element will be the roof, when it opens and closes due to sunlight. The electrical components are the temperature sensor and moisture sensor, since they operate using a code.

Step 2: Draw It Out

Here is a picture of our sketch

We made sure to draw it from the outside and inside. We also included the plant beds, which are going to be placed inside the greenhouse. There will be 3 columns of plant beds.

Step 3: Arduino Circuit and Code

This is a picture showing the circuit for the moisture and temperature sensor together

Code for Moisture Sensor

int rainPin = A1;
int relay = 8;

int thresholdValue = 800; //so you can adjust the threshold value

void setup() {

pinMode(rainPin, INPUT);

pinMode(relay, OUTPUT);

digitalWrite(relay, LOW);

Serial.begin(9600);

}

void loop() { int sensorValue = analogRead(rainPin); //read the input on analog pin 0

Serial.print(sensorValue);

if(sensorValue < thresholdValue){

Serial.print(" - Doesn't need watering");

digitalWrite(relay, LOW);

} else { Serial.print(" - Time to water your plant");

digitalWrite(relay, HIGH);

} delay(500);

}

Code for Temperature Vents

#include

Servo myServo;

//example sketch - calculates the temperature from the TMP36

//sensor and prints it to the serial moniter

int rawSensorValue;

float rawVolts;float tempC;

float tempF;

int setPoint = 85;

int returnPoint = 83;

void setup()

{

myServo.attach(9,1000,2000); //intitializes myServo object

Serial.begin(9600); //initializes the serial communication

}

void loop()

{

Serial.println(); //new line character

if(tempF > setPoint)

{

myServo.write(180);

}

else if(tempF < returnPoint)

{

myServo.write(0);

}

delay (1000);

}

Step 4: Flowchart

This Flowchart shows how the sensors act based on moisture and temperature to produce happy and healthy plants.

Step 5: Summary and Next Steps

This video say that we have completed our brainstorm & design phase, and now we are going to build & test our greenhouse. We didn't get to finish our project due to circumstances, but we are happy with the progress that we have made.

Our next steps, after we built and tested it would have been to solve any errors and improve the greenhouse by adding advancements. We would play around with different sized greenhouses to see how they affect the plants. Also we would add a fan in the greenhouse, like we originally planned to do but couldn't. The fan could also help modernize the greenhouse.

Step 6: Meet the Team!

1. Aretxi Castro

2. Leah Thorley

3. Selina Shaikh

Step 7: Resources