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 }

IoT based Noise pollution monitoring using Blynk IoT platform | Final year ECE engineering project

 

IoT based Noise pollution monitoring using Blynk IoT platform | Final year ECE engineering project


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 "TMPLn9VfWrsx"
#define BLYNK_DEVICE_NAME "IoT based Noise Pollution Monitoring"
#define BLYNK_AUTH_TOKEN "CC9dmUb0HwvPIngt13G_KRj8xhqTV4oC"

#define BLYNK_PRINT Serial
#include <WiFi.h>
#include <WiFiClient.h>
#include <BlynkSimpleEsp32.h>

int sound_sensor=34;
char auth[] = BLYNK_AUTH_TOKEN;

char ssid[] = "impulsetech";  // type your wifi name
char pass[] = "impulse567";  // type your wifi password

BlynkTimer timer;

void sendSensor()
{
  // Request temperature to all devices on the data line
  int sound_value=analogRead(sound_sensor);
  Serial.print("Sound sensor data: ");
  Serial.print(sound_value);
  delay(1000);
  
  // You can send any value at any time.
  // Please don't send more that 10 values per second.
    Blynk.virtualWrite(V0, sound_value);
    delay(500);
}
void setup()
{   
  
   Serial.begin(9600);

  Blynk.begin(auth, ssid, pass);
  timer.setInterval(100L, sendSensor);
 
  }

void loop()
{
  Blynk.run();
  timer.run();
 }

Comments

Popular posts from this blog

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 }

Getting Started with the Arduino IoT Cloud using Esp32 & DHT-11

  Getting Started with the Arduino IoT Cloud using Esp32 Introduction: The Internet of Things has given rise to plenty of exciting new projects for makers. It's both interesting and practical to be able to develop remote sensors and gadgets. Allowing IoT devices from multiple manufacturers to interact with your innovations will open up a lot of possibilities, including some you might not have considered before. In this getting started guide of Arduino IOT cloud we will learn about how to use Arduino IOT cloud with Esp32 board. Arduino IOT cloud What is Arduino IOT cloud? Arduino IoT Cloud is a web-based service that allows users to create connected devices quickly, easily, and securely. Multiple devices can be linked together and data can be exchanged in real-time. Users can also able to monitor the data using a simple user interface from anywhere. one can also use the android application for monitoring and controlling the devices. Because Arduin...

Interfacing of TMP36 Temperature Sensor with an Arduino in Tinkerad.

  Interfacing of TMP36 Temperature Sensor with an Arduino in Tinkerad. This project will turn the Arduino into a thermometer! By using the tmp36 temperature sensor. We can able to measure our body temperature and turn on the 3 LEDs. Green LED indicates the low-temperature range, Yellow LED indicates the medium temperature range and Red LED indicates the high-temperature range. One can test the circuit starting the simulation, clicking on the sensor, then adjusting its temperature value using the slider, and can test the desired resulting LED patterns. For making the actual circuit, you need to use the Arduino, breadboard, USB cable, male-female jumper wires, three LEDs, three resistors (any value from 100-1K, 220 ohms), a TMP36 sensor,   Circuit Diagram:   Components Required: §   Arduino UNO §   TMP36 (Temperature sensor) §   Resistor-03 §   LED – Green §   LED – Yellow § ...