UCL – IIot – Smartplant

Our goal with this project is that we want to collect data from our two plants.
ORIGINAL POST
By Damholt
components
Hardware Components
Arduino Mega 2560
X 1
Arduino Ethernet Shield
X 1
Light Sensor
X 2
220 ohm resistance
X 6
Green LED
X 2
Red LED
X 2
Yellow LED
X 2
A lot of wire
X 1
USB cable
X 1
Lan cable
X 1
Software Apps and online services
Node-Red
Arduino DHTlib
Wampserver64
details

smartplant.jpg

Step 1: Overview

Our goal with this project is that we want to collect data from our two plants. The data we collect are moisture in the soil, day light, humidity and temperatur to our database “MySQL”. These data we also want to use on our dashboard.

First video

For a quickly overview of our porject result. We have uploaded a video that give you guys at short overview of our project.

Second video

Also, we want to be able to water the plants automatically, by setting a limit for the moisture in the soil, or manually water the plant.

Step 2: List of Programs and Parts for This Project

Programs/Software

  • node-red
    • node-red-dashboard
    • node-red-node-mysql
    • node-red-node-serialport
  • Arduino
    • add DHTlib
  • Wampserver64

Parts

  • Arduino mega 2560
  • Arduino Ethernet Shield
  • 2x Light Sensor
  • 6x 220 ohm resistance
  • 2x Green LED
  • 2x Red LED
  • 2x Yellow LED
  • Alot of wire
  • USB cable
  • Lan cable

Step 3: Wiring Diagram (Fritzing)

Wiring Diagram (Fritzing)

Step 4: Arduino Code

Arduino Code

We have kept working on the old project program. The reason we keep using arduino is that it gives us good oppunities for data collecting.

From the last project we have modified our program. So it now uploads its data to a html site. Also the arduino will be able to read data recieved from node-red. Remember to add DHTlib. You can find it in step 2.

Step 5: Node-red (Retrieving and Storing Data, Controlling “motor”)

Node-red (Retrieving and Storing Data, Controlling
Node-red (Retrieving and Storing Data, Controlling
Node-red (Retrieving and Storing Data, Controlling

We use node-red to log and display our data, which we retrieve from a very simple homepage arduino hosts (picture 3) and updates continuously. We also use node-red to control the “motors” through the dashboard, right now the “motors” are represented by the 2 sets of green, yellow and red lamps.

Step 6: Node-red Dashboard

Node-red Dashboard
Node-red Dashboard
Node-red Dashboard
Node-red Dashboard

Step 7: MySQL

MySQL
MySQL

smartplant.jpg

Step 1: Overview

Our goal with this project is that we want to collect data from our two plants. The data we collect are moisture in the soil, day light, humidity and temperatur to our database “MySQL”. These data we also want to use on our dashboard.

First video

For a quickly overview of our porject result. We have uploaded a video that give you guys at short overview of our project.

Second video

Also, we want to be able to water the plants automatically, by setting a limit for the moisture in the soil, or manually water the plant.

Step 2: List of Programs and Parts for This Project

Programs/Software

  • node-red
    • node-red-dashboard
    • node-red-node-mysql
    • node-red-node-serialport
  • Arduino
    • add DHTlib
  • Wampserver64

Parts

  • Arduino mega 2560
  • Arduino Ethernet Shield
  • 2x Light Sensor
  • 6x 220 ohm resistance
  • 2x Green LED
  • 2x Red LED
  • 2x Yellow LED
  • Alot of wire
  • USB cable
  • Lan cable

Step 3: Wiring Diagram (Fritzing)

Wiring Diagram (Fritzing)

Step 4: Arduino Code

Arduino Code

We have kept working on the old project program. The reason we keep using arduino is that it gives us good oppunities for data collecting.

From the last project we have modified our program. So it now uploads its data to a html site. Also the arduino will be able to read data recieved from node-red. Remember to add DHTlib. You can find it in step 2.

Step 5: Node-red (Retrieving and Storing Data, Controlling “motor”)

Node-red (Retrieving and Storing Data, Controlling
Node-red (Retrieving and Storing Data, Controlling
Node-red (Retrieving and Storing Data, Controlling

We use node-red to log and display our data, which we retrieve from a very simple homepage arduino hosts (picture 3) and updates continuously. We also use node-red to control the “motors” through the dashboard, right now the “motors” are represented by the 2 sets of green, yellow and red lamps.

Step 6: Node-red Dashboard

Node-red Dashboard
Node-red Dashboard
Node-red Dashboard
Node-red Dashboard

Step 7: MySQL

MySQL
MySQL

COMMENTS

Please Login to comment
  Subscribe  
Notify of