Things used in this project

Hardware components:
Intel.web.720.405
Intel Edison
×1
Grove 20starter 20kit 20plus 20  20intel c2 ae 20iot2 01
SeeedStudio Grove starter kit plus for Intel Edison
×1
386 00
DHT11 Temperature & Humidity Sensor
×1
Software apps and online services:
Ha 2up iot
Amazon Web Services AWS IoT
Hackster
ThingSpeak API

Schematics

Green Garden Schematics

Code

Green GardenArduino
/*  Project - greengarden
    Team - Amazing
    Hackster AWS Intel hackathon, NYC
    December 11, 2016
*/

#include <TH02_dev.h>
#include "Arduino.h"
#include "Wire.h"

#define  LightSensor A0
#define  MoistureSensor A1

void setup() {
  Serial.begin(9600);        // start serial for output

  Serial.println("TH02 initializing ...");
  /* Power up,delay 150ms,until voltage is stable */
  delay(150);
  /* Reset TH02 */
  TH02.begin();
  delay(100);
  /* Determine TH02_dev is available or not */
  Serial.println("TH02 is available");

}

void loop()
{
  float temper = TH02.ReadTemperature();
  Serial.print("Temperature: ");
  Serial.print(temper);
  Serial.print("C");
  Serial.println("\t");

  float humidity = TH02.ReadHumidity();
  Serial.print("Humidity: ");
  Serial.print(humidity);
  Serial.print("%");
  Serial.println("\t");

  // read the input on analog pin 0:
  int sensorValue1 = analogRead(LightSensor);
  // print out the value you read:
  Serial.print("Light Level: ");
  Serial.print(sensorValue1);
  Serial.print("\t");
  Serial.println();

  // read the input on analog pin 1:
  int sensorValue2 = analogRead(MoistureSensor);
  // print out the value you read:
  Serial.print("Moisture Level: ");
  Serial.print(sensorValue2);
  Serial.println("\t");
  Serial.println();

  // delay in between reads for stability
  delay(1000);

}

Credits

Replications

Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback

Comments

Similar projects you might like

Personal Healthcare Assistant PHA
Intermediate
  • 2,532
  • 119

Full instructions

Wearable for monitoring the health condition of patients who have suffered or are in risk of having a cardiac arrest.

Convo-Care: Alexa-Controlled E-Health App
Intermediate
  • 291
  • 8

Protip

Convo-Care provides a better e-health experience through a conversational UI.

OIKOS
Intermediate
  • 303
  • 8

Work in progress

OIKOS is a smart social-connected home for everyone. Our goal is to put the society in connection with homeless through IoT.

OIKOS

OIKOS NGO TEAM

Where'sMyPhone
Intermediate
  • 186
  • 3

Ever lose your phone under the couch? Find any mobile phone in seconds with Where'sMyPhone.

Smart and Safe Cabinets
Intermediate
  • 485
  • 10

Full instructions

With 41% of poisonings happening to children under 4, more needs to be done. We use Amazon Alexa and Intel IoT to lock and unlock cabinets.

Smart and Safe Cabinets

Magic Smoke Replacement Team

Rocky Rover: Robotic Vision System PixyCam & Arduino 101
Intermediate
  • 4,987
  • 52

Full instructions

Using PixyCam and Intel Arduino 101 to drive this rover. Easy Robotic Vision system using PixyCam, rover reacts to the ball using Pan/Tilt.

ProjectsCommunitiesContestsLiveJobsFree StoreBlogAdd projectSign up / Login
Respect project