Page 54 - Toucpad robotics C11
P. 54

21 st
                 LAB ACTIVITY                                                     Century   #Coding & Computational Thinking
                                                                                   Skills
                    Lab Activity: �Build a Virtual Line-Following Robot�
                    l   Tools: Arduino IDE (with simulator like Tinkercad Circuits or VEXcode VR).

                    l   Task: Program a virtual robot with two IR sensors to detect a black line on a white track and follow it.
                    l   Steps:
                       1.  Open Tinkercad and create a simple robot circuit with Arduino + 2 IR sensors + 2 DC motors.
                       2.   Write  a  simple  “if-else” code:  if  left  sensor  detects  black    turn left, else  if right  sensor  detects
                           black   turn right, else go straight.

                       3.  Run the simulation to test.
                       Outcome: Students understand the difference between machines and robots by programming autonomous
                    l
                       decision-making.












































                   Answers
                Exercise (Solved)
                A.  1. i.   2. ii.   3. iv.   4. i.   5. ii.   6. ii.   7. iii.   8. ii.   9. i.   10. iii.
                B.  1. Robota           2. Arm          3. Kinematics    4. Space
                    5. Unimate          6. Sensors      7. Actuators     8. Computing
                    9. Humanoid         10. Computing
                C.  1. False            2. True         3. False         4. True
                    5. False
                D.  1. c.   2. d.   3. e.   4. a.   5. b.

              52
              Touchpad Robotics - XI
   49   50   51   52   53   54   55   56   57   58   59