Skip to main content

Soil Moisture sensor with Arduino in Tinkercad | how to use soil moisture sensor in Tinkercad

  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 }

Water level monitoring system using IoT | IoT based water level using Nodemcu ESP8266 & ESP32

Water level monitoring system using IoT | IoT based water level using Nodemcu ESP8266 & ESP32

Hello Everyone! I have come up with new tutorial Water level monitoring system using IoT | IoT based water level using Nodemcu ESP8266 & ESP32 For Code & Circuit Diragram: In this video what you will learn about? 1. How to configure the new Blynk IoT Platform. 2. How to setup web dashboard 3. How to create template in blynk iot 4. How to interface ultrasonic sensor with node mcu esp8266. 5. How to read ultrasonic sensor with esp8266 1.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 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/D5gBc29V8xg

Arduino Code:

/* Fill-in your Template ID (only if using Blynk.Cloud) */ /************************************************************* You’ll need: - Blynk IoT app (download from App Store or Google Play) - ESP8266 board - Decide how to connect to Blynk (USB, Ethernet, Wi-Fi, Bluetooth, ...) There is a bunch of great example sketches included to show you how to get started. Think of them as LEGO bricks and combine them as you wish. For example, take the Ethernet Shield sketch and combine it with the Servo example, or choose a USB sketch and add a code from SendData example. *************************************************************/ // Template ID, Device Name and Auth Token are provided by the Blynk.Cloud // See the Device Info tab, or Template settings #define BLYNK_TEMPLATE_ID "TMPLqurZG25x" #define BLYNK_DEVICE_NAME "IoT based Water level Monitoring" #define BLYNK_AUTH_TOKEN "-AkGVEPXLIRo-A_iwecTEkl3Kc5x41Vh" // Comment this out to disable prints and save space #define BLYNK_PRINT Serial #include <ESP8266WiFi.h> #include <BlynkSimpleEsp8266.h> #define trig D5 // Trig pin #define echo D6 char auth[] = BLYNK_AUTH_TOKEN; // Your WiFi credentials. // Set password to "" for open networks. char ssid[] = "impulsetech"; char pass[] = "impulse567"; int depth =20; BlynkTimer timer; void waterlevel() { digitalWrite(trig, LOW); delayMicroseconds(2); digitalWrite(trig, HIGH); delayMicroseconds(10); digitalWrite(trig, LOW); long t = pulseIn(echo, HIGH); long cm = t / 29 / 2; Serial.println(cm); long level= depth-cm; if (level<0) level=0; level = map(level,0,depth-3,0,100); Blynk.virtualWrite(V0, level); } void setup() { pinMode(trig, OUTPUT); pinMode(echo, INPUT); Serial.begin(115200); Blynk.begin(auth, ssid, pass); timer.setInterval(10L, waterlevel); } void loop() { Blynk.run(); timer.run(); }

Video Tutorial :



You can connect with 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/

Comments

Popular posts from this blog

DS18B20 Temperature sensor with new Blynk IOT Platform | DS18B20 with Esp32 & Blynk IoT Cloud

DS18B20 Temperature sensor with new Blynk IOT Platform | DS18B20 with Esp32 & Blynk IoT Cloud   Hello Everyone! I have come up with new tutorial based on the all new Blynk IoT platform. which is DS18B20 Temperature sensor with new Blynk IOT Platform | DS18B20 with Esp32 & Blynk IoT Cloud #iot #blynk In this video what you will learn about? 1. How to configure the new Blynk IoT Platform. 2. How to interface DS18B20 sensor with esp32 4. How to configure mobile blynk IoT platform 5. How to setup Automation in Blynk IoT 1.You can Watch Playlist on New Blynk IoT Platfom New Blynk IoT platform with esp32 | how to setup automation in Blynk IoT app | #iot #blynk #esp32 https://youtu.be/O2HZuu4KtIc 2.How to create events in blynk IoT platform | events in new Blynk IoT platform 🔥🔥 #blynk #esp32 #iot https://youtu.be/X5zVaGk8QV0 3.IoT Based smart garden monitoring system | Smart plant monitoring using Blynk IoT #iot #blynk #esp32 https://youtu.be/GTdxD5vQwy0 4.Water

Soil Moisture sensor with Arduino in Tinkercad | how to use soil moisture sensor in Tinkercad

  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 }