Smart Pot

Description

Our project is a smart pot that can tell us the humidity and temperature, so our plant can grow healthy and strong.

For this, we have used both programming and 3D designing.

We use an Arduino UNO Board with two sensors connected to a computer to tell us the different variables.

This can be quite useful so we know when to wet our plants and if the air temperature is nice for them at an exact moment.

Materials:

-Arduino UNO Board

-Octopus DS18B20 Sensor (for temperature)

-HL-69 Sensor (for humidity)

-Box to put Arduino Board (designed using SketchUp)

-Plant pot

Arduino code:

int Valor;

#include <OneWire.h>

#include <DallasTemperature.h>

#define ONE_WIRE_BUS 10

OneWire ourWire(ONE_WIRE_BUS);

DallasTemperature sensors(&ourWire);

void setup() {

delay(1000);

Serial.begin(9600);

delay(1000);

sensors.begin();

}

void loop() {

Serial.print("Sensor de Humedad valor:");  

Valor = analogRead(0);

Serial.print(Valor);

if (Valor <= 300)

Serial.println(" Encharcado");

if ((Valor > 300) and (Valor <= 700))

Serial.println(" Humedo, no regar");

if (Valor > 700)

Serial.println(" Seco, necesitas regar");  

delay(1000);

Serial.println();

sensors.requestTemperatures();

Serial.print(sensors.getTempCByIndex(0));

Serial.println(" Degrees C");

Serial.print(sensors.getTempFByIndex(0));

Serial.println(" Degrees F");

delay(5000);

}

temperature sensore:

S-----10

V-----5V

G-----GND

 humidity sensore:

A0-----A0

GND-----GND

VCC-----IOREF

positive-----HL

negative-----69

Design Files

File Size

capsa arduino.stl
6.17 KB

Comments

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

&times;