Page 68 - Robo_Genius_V1.0_flipbook_C8
P. 68
Step 9 Click on the OUTPUT option, drag the Set Buzzer block, and drop it inside the If condition,
changing the pin from 0 to 7 and setting it to HIGH. Similarly, drag another Set Buzzer
block, change the pin from 0 to 7, and set it to LOW inside the Else condition.
Step 10 Connect the brain and your mobile/desktop/laptop using the cable to upload the code.
Step 11 Once the code is uploaded, connect the brain to the power bank and check the result.
Concept
This sensor measures the moisture content in the soil. If the moisture level drops below a certain
threshold, the system detects it and triggers an appropriate response, such as displaying the data
on the OLED display and activating the buzzer to alert users. This can be linked to concepts of
irrigation, water conservation, and soil health. The brain module processes the data from the soil
moisture sensor and determines whether the moisture content is adequate. Based on the data, the
buzzer alerts users to water the soil, and the OLED display shows the current soil moisture level.
Observation
When the soil is sufficiently moist, the OLED display shows the moisture level, and the buzzer
remains off, indicating no need for immediate watering.
When the soil becomes dry, the moisture sensor detects the low water level and signals the buzzer
to turn on. The OLED display shows a reduced moisture level, alerting the user that watering is
66 RoboGenius (V1.0)-VIII

