Page 40 - Robo_Genius_V1.0_flipbook_C6
P. 40
Step 7 Click on setting option given on if do block, add else block.
Step 8 Click on OUTPUT option, drag block set buzzer on, drop it inside the if condition and change
pin 0 to pin 7 and attach it with logic HIGH. Similarly drag set buzzer block again from the
output, change the pin number 0 to 7 and attach it with logic LOW inside the else condition.
Step 9 Connect the robot brain and Mobile/Desktop/Laptop with the cable to upload the code.
Step 10 Once the code is uploaded. Connect the robot brain with power bank and check the result.
Learning Outcomes
Students learnt about the interfacing of soil moisture sensor along with buzzer and fetch the real
time soil moisture values on OLED. How to arrange the block coding concept wise.
Concept
The concepts of the above activity are:
Introduction to Sensors: Learning how soil moisture sensors work and how they can be used in
smart systems.
Data Collection: Measuring moisture levels and recording data to analyse how soil conditions
change.
38 RoboGenius (V1.0)-VI

