Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 59 - Ai Robogenius
P. 59

    If a sensor system in a smart home collects personal data to
                                                   make decisions, is it ethical to use this data for targeted
                                                          advertising without the owner's consent?

                     SMART IRRIGATION SYSTEM

                     A  Smart Irrigation  System automatically  waters plants  based  on soil  moisture.  Using a soil
                     moisture sensor, it detects the water content in the soil. If the soil is dry, the system turns ON
                     a water pump to irrigate the plants. If the soil is wet, the pump turns OFF. This ensures efficient
                     watering and prevents overwatering or underwatering.

                     Components Used

                     The different components used in the project are:
                        Arduino Uno: Processes input from the soil moisture sensor and controls the water pump.

                        Soil Moisture Sensor: Detects moisture levels in the soil and sends data to the Arduino.
                        Water Pump: Pumps water automatically to irrigate plants when soil is dry.

                        LEDs (Optional): Red LED indicates dry soil, Green LED indicates wet soil.
                         Resistors: Used with LEDs to  limit  current and with the water pump  circuit  to  protect
                        components and control voltage.

                        Breadboard and Jumper Wires: Used to connect all components together and to the Arduino.

                     To build the Smart Irrigation System, follow the given steps:

                       STEP - 1    Connect  the  VCC  (Power) pin of the  Soil  Moisture Sensor to  the  5V pin of the
                                  Arduino.

                      STEP - 2   Connect the GND (Ground) pin of the Soil Moisture Sensor to the GND pin of the
                                  Arduino.

                      STEP - 3   Connect the SIG (Signal) pin of the Soil Moisture Sensor to the A0 pin of the Arduino.

                      STEP - 4   Connect the Anode of the Red LED to Digital pin 7 of the Arduino using a red jumper
                                  wire.

                      STEP - 5   Connect  the  Cathode of the  Red  LED to  GND on the  Arduino (through a  330
                                  resistor).

                      STEP - 6   Connect the Anode of the Green LED to Digital pin 6 of the Arduino using a green
                                  jumper wire.

                       STEP - 7   Connect the Cathode of the Green LED to GND on the Arduino (through a 330
                                  resistor).

                      STEP - 8   Connect the Positive Terminal of the Water Pump (DC Motor) to Digital pin 8 using
                                  a blue jumper wire.

                                                                         Getting Started with Arduino in Tinkercad
                                                                                                                        57

| 54 55 56 57 58 59 60 61 62 63 64 |