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

Flightduino 101
Intermediate
  • 147
  • 5

Full instructions

A drone project that uses the Neural Pattern Recognition Module and other aspects of the Curie Module to advantage for creating a cool drone

Self-Balancing Rover With Thermometer
Intermediate
  • 134
  • 3

Full instructions

My partner Jiahao Zhao and I designed, built, debugged, and finished this project in only three days !

Arduino 101 BLE App
Intermediate
  • 1,443
  • 19

Work in progress

I want to show you how to make an application and connect it with the Arduino 101 platform for Internet of things applications.

Bluetooth smart home
Intermediate
  • 233
  • 5

Full instructions

A concept showing smart home control and automation with Arduino 101, accompanied by a custom Android application.

Connected Koozie with Intel tinyTILE and Octoblu
Intermediate
  • 316
  • 6

Full instructions

The Connected Koozie will send a message to Meshblu whenever a sip is detected from the tinyTILE's built in accelerometer.

“It’s For The Birds!”
Intermediate
  • 17
  • 1

Full instructions

An Arduino 101 lets us Reinvent the Future of Eco-monitoring! Come and Seeed how the Grove IoT kit makes it better!

ProjectsCommunitiesContestsLiveAppsBetaFree StoreBlogAdd projectSign up / Login
Respect project
Feedback