• FIRST VERSION

    The robot will react when the distance sensor detects the object at a distance of 1m. The robot will react with sound and light.


    The main sensor will be the ultrasonic sensor. The activity will be developed as follows:


    1. The robot is guarding the room.

    2. A burglar enters.

    3. The mBot reports the intrusion by sending a message to the person controlling the computer, who will “call police reinforcements”.

    4. The mBot performs sound and light effects already settled in the original code.

    5. The mBot shows the following text on the led matrix: “STOP! You are under arrest!”, and then it shows an angry face.

    6. If there is no burglar intrusion, the mBot will remain steady with a wide-eye open face and showing blue light.
    ACTIVITY DESCRIPTIONSECOND VERSION