Skip to content

The repository contains the c++ code for the automatic plant system i had to make for the minor smart industry.

Notifications You must be signed in to change notification settings

tobiasleijs/Plant-system---Minor-Smart-Industry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automatic plant watering system

Setup this project

To make the software work with your setup, make sure to change the port numbers in plantSystem.cpp to match the ports on your setup.

const int LDR_PIN = 39;
const int RF_PIN = 25;
const int DHT_PIN = 32;
const int PUMP_PIN = 33;

Change the id of the RF transmitter in plantSystem.cpp to match the one on your KlikAanKlikUit. You can also change the threshold of when the light and pump should turn on to your liking.

const int MOISTURE_THRESHOLD = 500;
const int LIGHT_THRESHOLD = 200;
const int TRANSMITTER_ID = 12654;

If your pins are correct, also make sure to add your database and wifi parameters to the dataController.cpp

const char *WIFI_SSID = "";
const char *WIFI_PASSWORD = "";
const char *INFLUXDB_URL = "";
const char *INFLUXDB_TOKEN = "";
const char *INFLUXDB_ORG = "";
const char *INFLUXDB_BUCKET = "";
const char *API_KEY = "";

About

The repository contains the c++ code for the automatic plant system i had to make for the minor smart industry.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published