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 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 * *************************************...