Soil Moisture sensor with Arduino in Tinkercad | how to use soil moisture sensor in Tinkercad Circuit diagram: Arduino Sketch: // C++ code // int moisture_data = 0; void setup() { pinMode(A0, INPUT); Serial.begin(9600); pinMode(12, OUTPUT); pinMode(6, OUTPUT); } void loop() { moisture_data = analogRead(A0); Serial.println(moisture_data); if (moisture_data < 21) { digitalWrite(12, HIGH); digitalWrite(6, HIGH); } else { digitalWrite(12, LOW); digitalWrite(6, LOW); } delay(10); // Delay a little bit to improve simulation performance }
IoT Based smart garden monitoring system | Smart plant monitoring using Blynk IoT
Hello Everyone!
I have come up with new tutorial based on the all new Blynk IoT platform. which is IoT Based smart garden monitoring system | Smart plant monitoring using Blynk IoT #iot #blynk #esp32 In this video what you will learn about? 1. How to configure the new Blynk IoT Platform. 2. How to interface light sensor,soil moisture sensor and dht11 sensor with esp32 3. How to connect relay with esp32 and control using blynk. 4. How to configure mobile blynk IoT platform 5. How to setup Automation in Blynk IoT You can watch my previous series videos based on Arduino IoT cloud Platform 1.Getting started with Arduino IoT cloud | Arduino IoT cloud with Esp32🔥 #arduinoiotcloud #esp32 https://youtu.be/I92CX2V5NxA 2. Home automation using Arduino IoT cloud | controlling relay using Arduino IoT cloud #iot #iotproject https://youtu.be/19DYvM-N2ps 3. Soil moisture sensor with Arduino IoT cloud | IOT Smart Plant Monitoring System #iot #esp32 https://youtu.be/VryVyi9Kj0Y 4. How to send sensor data from Arduino IoT cloud to Email | webhook & IFTTT with Arduino IoT cloud #iot https://youtu.be/KwkAI8ZT7fo 5. Sending sensor data to google sheet using Arduino IoT cloud | log sensor data in cloud #esp32 #iot https://youtu.be/D5gBc29V8xg1.You can Watch Playlist on New Blynk IoT Platfom
New Blynk IoT platform with esp32 | how to setup automation in Blynk IoT app
https://youtu.be/O2HZuu4KtIc
2.How to create events in blynk IoT platform | events in new Blynk IoT platform 🔥🔥
https://youtu.be/X5zVaGk8QV0
3.IoT Based smart garden monitoring system | Smart plant monitoring using Blynk IoT
https://youtu.be/GTdxD5vQwy0
4.Water level monitoring system using IoT | IoT based water level using Nodemcu ESP8266 & ESP32
https://youtu.be/WsfyeBtGXNM
5.Monitoring MPU6050 data over blynk IoT platform | IoT based Vibration Monitoring using Esp32 MPU6050
https://youtu.be/zFbH-f8mhAE
6.IoT Based weather station using BMP280 & ESP32 | BMP280 pressure and temperature sensor with Blynk
https://youtu.be/4CysMQn-OLE
7.Home automation using blynk IoT platform | home automation project using esp32 #homeautomation
https://youtu.be/Moow367kucU
Arduino Code:
/************************************************************************************
* My Channel:https://www.youtube.com/c/ImpulseTech/featured Visit for More Project Videos
*
* *********************************************************************************
* Preferences--> Aditional boards Manager URLs :
* For ESP32:
* https://dl.espressif.com/dl/package_esp32_index.json
* https://blynk.cloud/external/api/logEvent?token=YourAuthToken&code=hello for loging the events using rest API
* You can send only 100 events per devices per day
When the limit is reached you'll see the notification on the UI in the Device Timeline section
The maximum description length for the event is 300 chars
* *********************************************************************************/
#define BLYNK_TEMPLATE_ID "TMPLE8b_ltNC"
#define BLYNK_DEVICE_NAME "DS18B20 Temperature sensor"
#define BLYNK_AUTH_TOKEN "Ann6QdNGdrkIHC1_LxdR-_bNmlx7QS6Q"
#define BLYNK_PRINT Serial
#include <WiFi.h>
#include <WiFiClient.h>
#include <BlynkSimpleEsp32.h>
#include<DHT.h>
#define DHTPIN 13
#define DHTTYPE DHT11
DHT dht(DHTPIN, DHTTYPE);
int sm_sensor=34;
int light_sensor=35;
BLYNK_WRITE(V3)
{
int pinvalue = param.asInt();
digitalWrite(15,pinvalue);
}
char auth[] = BLYNK_AUTH_TOKEN;
char ssid[] = "impulsetech"; // type your wifi name
char pass[] = "impulse567"; // type your wifi password
BlynkTimer timer;
void sendSensor()
{
//Reading temperature or humidity takes about 250 milliseconds!
// Sensor readings may also be up to 2 seconds 'old' (its a very slow sensor)
float h = dht.readHumidity();
// Read temperature as Celsius (the default)
float t = dht.readTemperature();
int moisture_sensor= analogRead(sm_sensor);
int light_intensity=analogRead(light_sensor);
// Check if any reads failed and exit early (to try again).
if (isnan(h) || isnan(t)) {
Serial.println(F("Failed to read from DHT sensor!"));
return;
}
// You can send any value at any time.
// Please don't send more that 10 values per second.
Blynk.virtualWrite(V0, t);
Blynk.virtualWrite(V1, h);
Blynk.virtualWrite(V2, moisture_sensor);
Blynk.virtualWrite(V4, light_intensity);
delay(500);
}
void setup()
{
Serial.begin(9600);
pinMode (15,OUTPUT);
Blynk.begin(auth, ssid, pass);
timer.setInterval(100L, sendSensor);
}
void loop()
{
Blynk.run();
timer.run();
}
You can connect me on
Facebook : facebook.com/impulsetech101
Instagram: instagram.com/impulsetechy/
Linkdin: linkedin.com/in/yogesh-bawane
Linkdin: linkedin.com/company/impulse-tech-robotics
Blog : impulsetechx.blogspot.com/
This comment has been removed by a blog administrator.
ReplyDelete