Skip to content

Arduino intelligent agricultural system with blynk(IOT)

Arduino intelligent agricultural system with blynk(IOT)

gemma

Published June 28, 2022

60 UCC

7 WCC

14 VAR

Components

Hardware components

x 1


x 1


x 1


x 1


x 1

Software Apps and online services

Project description

CODE CODE HEREC/C++ #define TRIGGER 4 #define ECHO 5 #define LED 12 #define BLYNK_PRINT Serial #include <Adafruit_Sensor.h> #include <SPI.h> #include <Ethernet.h> #include <DHT.h> #include <BlynkSimpleEthernet.h> char auth[] = "TOKEN"; #define W5100_CS 10 #define SDCARD_CS 4 #define DHTPIN 2 #define DHTTYPE DHT11 DHT dht(DHTPIN, DHTTYPE); BlynkTimer timer; WidgetLCD lcd(V8); int n; int n1; void sendSensor() { float h = dht.readHumidity(); float t = dht.readTemperature(); if (isnan(h) || isnan(t)) { Serial.println("Failed to read from DHT sensor!"); return; } Blynk.virtualWrite(V5, h)…

Keep reading with a free account

Guests can read 15 projects per visit. Log in or create a free account to read the full description, open the documents and join the comments.