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 }
Soil moisture sensor with Arduino IoT cloud | IOT Smart Plant Monitoring System Hello everyone !! in this video, you learn about the following things 1. How to interface soil moisture sensor with esp32 board 2. How to control pump using the Arduino IoT cloud platform 3. How to create a dashboard 4. How to install the Arduino Create agent. 5. how to do the programming in Arduino web-based editor if you want to know more about the Arduino IoT cloud platform then watch my previous video Getting started with Arduino IoT cloud | Arduino IoT cloud with Esp32🔥 #arduinoiotcloud #esp32 https://youtu.be/I92CX2V5NxA Checkout the previous series videos! [E01]Getting started with Esp32 board | how to program esp32 board using Arduino ide https://youtu.be/R4o2IHZm3E8 [E02] Esp32 analog input | read analog values with arduino IDE and potentiometer https://youtu.be/63EPm6S7-UQ [E03] Esp32 Built in Hall effect sensor | how to use esp32 built in hall effect sensor https://youtu.be/DKd...