scieee AI-readable full text Open interactive document viewer

Stemie & Stemia‘s fantastic journey through space: student‘s ebook

Abstract

Stemie and Stemia, along with their assistant At, decided to travel to our solar system. They are very curious robots. That’s why they were trying to gather as much information as possible about our solar system’s planets and star. Their plan was to stop on every planet and asteroid and visit everything there. After all, it was their first time in our solar system.

Full text

1 The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. 2 The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. Stemie & Stemia‘s fantastic journey through space Student‘s eBook Edited by Rolando Barradas University of Trás-os-Montes and Alto Douro & Portugal José Alberto Lencastre University of Minho, Portugal Asta Radžvilienė Joniskis Matas Slanciauskas Progymnasium, Lithuania Kristina Jačunskienė Joniskis Matas Slanciauskas Progymnasium, Lithuania Jolanta Šiurnienė Joniskis Matas Slanciauskas Progymnasium, Lithuania Published by Research Centre on Education, Instituto of Education, University of Minho, Braga, Portugal. Layout production by Kristina Jačunskienė, Lithuania and Rolando Barradas, Portugal © The Contractor and Partners of the Robots for STEM Strategic Partnership acting within the Erasmus Plus Programme. First Published in 2023 ISBN: 978-989-8525-79-6 This Student‘s ebook is an Intellectual Output developed by the Erasmus+ project “Robots for STEM ”, coordinated by Colégio Paulo VI, Portugal and had as Leading Organization Joniskis Matas Slanciauskas Progymnasium, Lithuania, and Participating Organisations August Senoa Primary School, Croatia, Istituto Comprensivo Baragiano, Italy, Çetin Şen Bilim Ve Sanat Merkezi, Turkie, Make-It Pedagogical, Lda, Portugal, and Searchlighter Services Ltd., United Kingdom. Created with the contributions of: Emilija Tamošaitytė, Voice-over of Stemia; Jokūbas Šilinas, Voice-over of Stemie; Maria Coelho (@bluevolcano.studio), Cover and main characters design. PROJECT COORDINATOR OUTPUT LEADING ORGANIZATION PARTICIPANT ORGANIZATIONS 6 The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. Throughout this book, you will find some conventional signs and symbols that represent various features or subjects. Whenever you find one or several of the following signs: science technologies engineering maths you know that a specific exercise is related to that specific subject. NOTES on each chapter will be marked with this frame. If there is additional INFO, you will see it inside this frame. The GOAL of each challenge will be written in this format. Conventional signs Conventional signs 7 The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. Whenever you have a part of the STORY to read, it will be signaled with this frame. There is something to DISCUSS with your classmates. This will be the sign. You finished first the proposed tasks and have nothing else to do? There are some EXTRA TASKS waiting. 8 Conventional signs The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. Also, while reading code written in mBlock, there are some basics that you need to remember: Hat blocks are used to start scripts and are always placed on the top of other blocks. A Stack block is a rectangular block with slots on the top and bottom that allow to fit above or below other blocks. A Cap block is used to a script or project and therefore it can be put only under all blocks. Don’t forget that in your project you should have only one forever block. Notice that there are no slots in the bottom of the block. A reporter block allows you to store data and contains a value that can be a numerical value or character string. A boolean block contains a condition that can be either "true" or "false" and is typically used inside condition blocks like IF. Conventional signs 9 The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. Other things that are useful to know: Your robot doesn’t have any loose wires. If you have one, it should be disconnected from somewhere; The colour of the wires doesn’t matter. Just the type and length so that they connect to where they are supposed to; Vcc is always connected to the positive (+) pole of current while GND is connected to the negative (-) pole. Connectors, constants, startup sound Procedures. These blocks must ALWAYS be the first in your code. Blocks that Turn on motors. In this example, Forward (motor 1, right side) and backwards (motor 2, left side). Stop both motors. Time that a certain action takes. For example, the time that the motors are turned on or off. 16 Gathering the parts The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. Ah! It feels so good to be back. You did a great job. Thank you! But we still need your help. All our settings are wrong, and need to be corrected. I think you are the right person to do it. 17 The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. GOALS: I can name different measurements and program the robot to go straight. Stemie and Stemia's greatest desire is to visit as many planets as possible because their eyes always turn to the sky and the stars simply enchant them. As they are already assembled, they start to review their original plans and decide to visit the Moon first. To do this, they must prepare their spaceship at the mechanic store, so they decide to go there. Please charge my batteries regularly so I can work at my best. CHALLENGE Learning to drive 18 CHALLENGE 1.Learning to drive The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. I hope you know in which unit the distance, or the way is measured. The units can be very small and very large. Did you know that the astronomical unit is a unit of length, roughly the distance from the Earth to the Sun? And, do you know that the light years are the distance that a beam of light travels in one year on Earth? CHALLENGE 1.Learning to drive 19 The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. 1. Arrange these units in ascending order: cm, km, mm, m, dm, mile, the light year, the astronomical unit. For better understanding what is THE LIGHT YEAR scan the QR code or click HERE Just scan the QR code or click HERE As you know, the shortest path between two points is a straight line. However, due to the accident they had in the asteroid field, Stemie and Stemia’s navigational system was damaged and so they have some difficulties on moving straight. Can you help them fix their navigational system and do straight lines so that they can get to the Moon faster? 20 CHALLENGE 1.Learning to drive The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. NOTE: If the robot rotates more to one side, the engine power of that side opposite side can be changed, eg: 125. Don’t forget that usually values are set between 100 and 255. 2. Write a program to drive the robot straight: In the sample program, on next page, the robot’s motors run at 120 power and Stemie and Stemia run for 1 s. Take a look at the video on next page to understand how to send a program to your robot. CHALLENGE 1.Learning to drive 21 The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. Have you succeeded? What difficulties have you faced? Your robot should behave like the one in the video below. Discussion! 22 CHALLENGE 1.Learning to drive The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. You will need a ruler so, you can use a math notebook where 2 boxes = 1 cm and do the ruler yourself. 3. Change the robot program to run 2s, 3s, 4s… and measure the distance Stemie or Stemia has covered. Remember how many cm make a meter up and write the answers in cm and m. The power of both engines of the robot is 120 Time travelled, s Distance travelled, cm Distance travelled, m 1 2 3 4 5 6 7 8 9 10 CHALLENGE 1.Learning to drive 23 The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. I can: NOT YET MORE OR LESS YES, COMPLETELY Name different measurements Program the robot to go straight Where can these ideas be applied in real word? EXTRA TASK FOR FAST FINISHERS: Program the robot to go 25cm, 4dm. I think that you already know this but, just a reminder: Motor 1, right side; Motor 2, left side. MOTOR 1 MOTOR 2 24 The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. After they managed to move straight, it’s very important to fine tune all systems. While doing that, Stemie and Stemia find that their gearbox is not working properly. They try to move backwards but something seems to be wrong. Its very important to have all gears working properly as they might need to divert from satellites and other obstacles they may encounter on their way to the moon. Do you think you can help them fix that? GOALS: I can draw parallel lines and program the robot to go backwards. CHALLENGE Moving backwards Please charge my batteries regularly so I can work at my best. CHALLENGE 2.Moving backwards 25 The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. 1. Write the program according to the provided example. The part of the program that shows the reverse 32 CHALLENGE 3.No time to move slow The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. Measure and calculate the Stemie or Stemia’s reverse speed. We hope you already know what program to write. 2. Write the results in the table. Stemie or Stemia is moving backwards The motor´s power Distance travelled, cm Time, s Speed, cm/s 100 2 110 120 130 140 150 160 170 180 190 200 210 220 Do you think the speed of Stemie or Stemia is changing as time goes by? CHALLENGE 3.No time to move slow 33 The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. I can: NOT YET MORE OR LESS YES, COMPLETELY Calculate the speed of the robot Program the robot to go forwards and backwards Where can these ideas be applied in real word? You know that the car can go at different speeds. Its speed on the highway, depending on the country, can be 120 km/h or 130 km/h, and in the city 50 km/h. The fastest animal - a cheetah can run at 120km/h. The fastest fish is black marlin, which can sail at a speed of 132 km / h and even surpass a submarine. And one of the slowest animals, the sloght, can only travel at 0,186 m/h, and the turtle at 2,7 m/h. The cosmic speed required for the machine to rise from the ground and rotate around it is 7.9 km/s. 34 The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. GOALS: I can list the planets according to the distance from the Sun, size and program the robot to go in a circle and a shape of an athletic track. Stemie and Stemia's greatest dream to continue travelling through the Solar System. What do you know about the Solar System? I'm sure you know all eight planets in the Solar System, and you can sort them by distance from the Sun. CHALLENGE Moving in orbits Please charge my batteries regularly so I can work at my best. I know how to remember the order of the planets: Mercury, Venus, Earth, Mars, Jupiter and SUN. SUN is Saturn, Uranus and Neptune. A great way to remember more easily. CHALLENGE 4.Moving in orbits 35 The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. 1. Line up the planets in the order of the Sun's distance: Jupiter, Mars, Mercury, Neptune, Saturn, Uranus, Venus and Earth. 1 2 3 4 5 6 7 8 9 The biggest distance The smallest distance Just scan the QR code or click HERE 36 CHALLENGE 4.Moving in orbits The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. 2. Maybe you know which planet is the largest and can line them from the largest to the smallest? As you know, Stemie and Stemia are always curious about the world around them – they love to learn new things. To prepare for this journey, they studied astronomy, learning about how planets orbit around stars. Now they know that it takes a whole year for Earth to revolve once around its Sun. They also know that orbits by planets around stars have the shape of an ellipsis, one that is almost a circle, with the star at the orbit's centre. The same shape happens when a moon orbits a planet: let’s help Stemie and Stemia practice a circle so that they can revolve around the Moon. Just scan the QR code or click HERE CHALLENGE 4.Moving in orbits 37 The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. 3. Write a program to make the robot move in circles. And what happens if you write it like that? HELP Discussion! 38 CHALLENGE 4.Moving in orbits The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. 4. And now another challenge. Can the robot ride in a straight line and a circle, like in an athletic track? Use the next scheme as reference. I can: NOT YET MORE OR LESS YES, COMPLETELY List the planets according to the distance from the Sun List the planets according to the size from the Sun Program the robot to go in a circle Program the robot to go in shape like an athletic track Where can these ideas be applied in real word? HALF A CIRCLE STRAIGHT LINE 39 The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. GOALS: I can name what is needed to make a sound, program the robot to play the music and measure the volume. With your help, Stemie and Stemia finally arrived at the Moon, the Earth’s only natural satellite. The Moon orbits Earth in an elliptical orbit, so it is not always at the same distance from Earth. Our friends are so excited that they decide to play a music. To read more about the Moon scan or look HERE You can scan the QR code or click HERE and try different sounds. CHALLENGE Making sounds Please charge my batteries regularly so I can work at my best. 40 CHALLENGE 5.Making sounds The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. 1. Do you know your robot can make a sound or play music? What does it take to play a scale? Try this and then complete. All sounds are caused by mechanical ambient vibrations, although they are usually not visible. When cars collide, their surfaces begin to fibrillate, and we hear the sound of a crash; music from the radio receiver comes from the membrane of its speaker; we speak and sing as the voice strings vibrate in our larynx. Sound waves can only propagate in environments where there are particles: air, liquids, solids. The sound does not propagate in a vacuum. The average speed of sound in the air is 330m/s. Human audible sound is from 16 to 20000Hz. This means that between 16 and 20000 vibrations must occur in 1s and then we can hear. Not everyone will hear a sound of 16 or 20000Hz. CHALLENGE 5.Making sounds 41 The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. 2. Now try to extend the following melody. Maybe you know what song it is? You can change the tones and try to program it. Example: 48 CHALLENGE 6.Flashing lights The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. 1.Try turning the robot's LED on. You will need to write a program like this: RED COLOR GREEN COLOR BLUE COLOR If you want me to light my LED in yellow, you just have to use a block like this one. R G B CHALLENGE 6.Flashing lights 49 The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. If you want to create your own colours, you can find the RGB colour codes HERE. Note: RGB colour codes are coded using numbers from 0 to 255. 2.Write a program for all the colours of the rainbow. And look how it worked for Stemie and Stemia. 50 CHALLENGE 6.Flashing lights The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. 3.The average distance from Earth to the Sun is 1 av = 149,597,870 km. Calculate how long does light and sound take to travel this distance (if there is air). I can: NOT YET MORE OR LESS YES, COMPLETELY Program the robot to turn on the light in every colour of the rainbow Where can these ideas be applied in real word? Do you know why the red colour is at the top? Oh yes! Red is the fastest and has the longest wavelength. It is least absorbed by air, dust, and water. Therefore, we use it for prohibition signs. 51 The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. After their adventures on the Moon, Stemie and Stemia board their spaceship so they can finally reach Mars. Once there, they become very excited to see the highest known mountain in our Solar System – a shield volcano called Olympus Mons, 25 km high, with a diameter around 624 km. If we define a square within this mountain to the edge of its circumference, the square’s diagonal would be equal to the volcano’s diameter – 624 km – with four equal sides, each being about 441 km. They wonder how long will it take to make it around this giant mountain? GOALS: I can name the highest mountain on Mars and program the robot to go in a square and a rectangle. CHALLENGE Creating Sequences and Loops Please charge my batteries regularly so I can work at my best. 52 CHALLENGE 7.Creating sequences and loops The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. 1. Can the robot turn? First, write a sequence of commands to make the robot turn 90 degrees. It's challenging to imagine 624 km. For example, Portugal’s length is about 578 km. So the whole country could fit in this mountain. Turn On motor 1, forwards Turn On motor 2, backwards Amount of time that motors are on Turn motor 1 Off Turn motor 2 Off Amount of time that motors are Off CHALLENGE 7.Creating sequences and loops 53 The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. NOTE: Take a sheet of A4 format and test whether the robot turns correctly. If the turn is too small, increase the turning time or speed. If the turn is too large, reduce it. Stemie and Stemia will help you do this. Think about what you need to change in the program if you want me to turn right? Now that I can Turn, can you make me drive in squares? 54 CHALLENGE 7.Creating sequences and loops The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. 2. Write a sequence of commands so that the robot goes straight for a moment and then turns 90 degrees. Moving forwards for 1 second. Don‘t forget to used the motor speeds you discovered on Challenge 1 Turning 90 degres to the left. Don‘t forget to use the time and speeds that you discovered in the previous problem. CHALLENGE 7.Creating sequences and loops 55 The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. 3. The robot has to go around Olympus Mons. Try to improve the above sequence so that the robot‘s path describes a perfect square. Repeat this sequence 4 times. Repeat 4 times? Hum.. Ah.. of course.. a Square has 4 equal sides. So, that’s what Loops are for! Have you noticed the use of the words Sequence and Program? A sequence of commands, used to perform a certain task, can also be called a program. 56 CHALLENGE 7.Creating sequences and loops The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. Stemie and Stemia do not stop surprising each other with their knowledge of Mars surface. 4. Calculate the area of the rectangle when the robot has to go around Mariner Canyon. Program the robot to go in a rectangle with Sequences and Loops. Don‘t forget that a rectangle does not have 4 equal sides. Remember how to calculate the area of a rectangle. 𝑺 = 𝒂 ∙ 𝒃 Did you hear that Mars is famous for the Mariners’ Canyon? Do you know what it is? Yes, I heard. Mariners’ canyon on Mars stretches for about 4 thousand km. The width of the canyon reaches 200 km and 10km in depth. CHALLENGE 7.Creating sequences and loops 57 The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. I can: NOT YET MORE OR LESS YES, COMPLETELY Name the highest mountain on Mars Program the robot to go in a square Program the robot to go in a rectangle Where can these ideas be applied in real word? 64 CHALLENGE 8.Organizing thoughts The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. I can: NOT YET MORE OR LESS YES, COMPLETELY Program the robot using procedures Where can these ideas be applied in real word? I heard that the first rockets were invented by the ancient Chinese. In the 10th century they were used to launch metal-tipped arrows from a bow. And I heard that in the 17th century Lithuanian scientist Kazimieras Semenavičius was the first to put forward the idea of a multistage rocket and rocket artillery. 65 The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. GOAL: I can program the robot to follow a line. More about the Mariner Canyon scan the QR code or click HERE INFO: Mars is the closest planet to Earth in terms of living conditions. And not only the Olympus Mons is famous, but also the Mariner Valley, a system of canyons parallel to the Martian equator that extends for about 4,000 km. Mariner Valley is much larger than the canyons on Earth, and is the largest known similar formation in the Solar System. Mariner Valley was discovered by the Mariner 9 spacecraft in 1972. CHALLENGE Following trajectories Please charge my batteries regularly so I can work at my best. 66 CHALLENGE 9.Following trajectories The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. Stemia and Stemie want to look around Mariner Valley going along its rim. They find some old and previously unseen tracks and decide to follow them to see where they lead. To follow a line track, they need to use their InfraRed sensors. Do you remember? They are still damaged from the crash. Can you help them to fix it? For that, you will need to have a track to test the sensors. Scan the QR code or click HERE download this track in A3 paper format. CHALLENGE 9.Following trajectories 67 The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. SENSOR POSITION LEFT SENSOR MIDDLE SENSOR RIGHT SENSOR ACTION 0 0 0 DEPENDS ON THE PROBLEM 0 0 1 RIGHT 0 1 0 FORWARD 1 0 0 LEFT 0 0 0 REVERSE 0 1 1 A LITTLE TO THE RIGHT 1 0 0 A LITTLE TO THE LEFT 1 1 1 DEPENDS ON THE PROBLEM How to follow a line? With the 3 IR sensors that Stemie and Stemia have, there are only 23 = 8 possible arrangements of the sensors in relation to the line. Let me summarize…. 68 CHALLENGE 9.Following trajectories The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. 1. Now you have to write a Procedure to follow the line. It may be similar to this example. CHALLENGE 9.Following trajectories 69 The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. Don't forget to write all the other Procedures and the main program as well. The speeds and wait times may have to be adjusted. NOTE: There is some information that Stemie and Stemia already have to allow them to follow the line. If you look deep into their program you will find the following procedure... Try to understand it or ask your teacher to explain. . 70 CHALLENGE 9.Following trajectories The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. 2. Use black sticky tape to cover an irregularly shaped road and go around it following the line. Did you know that lane tracking in today's cars prevents the driver from drifting out of the lane. The driver is warned by an audible signal or steering wheel vibration? Yes! And I also know that robots help people in logistics warehouses by following the line. They find, scan, bring and take goods to the exact places. CHALLENGE 9.Following trajectories 71 The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. I can: NOT YET MORE OR LESS YES, COMPLETELY Program the robot follow the line Where can these ideas be applied in real word? 72 The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. The first time Stemia and Stemie passed throught the asteroid field near Jupiter, they suffered massive damage on their spaceship and themselves. They are revisiting plans and Jupiter is on them but they face the problem that, again, they have to cross the asteroid ring. They know that a collision with an asteroid can be very dangerous but now they are equipped with sensors that allows them to see the obstacles and to bypass them. The only problem is that they don’t know how to used them… GOALS: I can program the robot to detect the object and avoid it in two different ways. CHALLENGE Avoiding obstacles Please charge my batteries regularly so I can work at my best. CHALLENGE 10.Avoiding obstacles 73 The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. The Ultrasonic Sensor for obstacle detection and distance measurement will help you with the important task. Can you teach Stemie and Stemia how to work with the Ultrasonic Sensor? 1. First, create a variable. Scan the QR code or click HERE to find out what the asteroid ring looks like and how it was formed. INFO: An asteroid is a small body of the Solar system, up to 1000 km, orbiting the Sun. Most known asteroids (90-95%) are found in the asteroid ring between Mars and Jupiter. They revolve around the Sun in 3-6 years. There are several gaps in the ring, unevenly distributed, and in some places their clusters are visible. About 15,000 asteroids are known in the solar system. INFO: In computer programming variables are used to store information that can be used later in our program. They are very important in programming. Data like Distance to an object, information on whether the is a line or not and speed can be stored in variables. Others like Age, sex, country, date of birth, eye colour are also examples of variables in other contexts. 80 CHALLENGE 10.Avoiding obstacles The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. CHALLENGE 10.Avoiding obstacles 81 The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. 82 CHALLENGE 10.Avoiding obstacles The European Commission‘s support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein.