Free Program Nxt Robot Maze Program

Labyrinth Robot Problem: Get through the maze. ® MINDSTORMS® Education NXT software and base set. NXT software and base set 9797 Thinking about Programming. Java Program To Print Pyramid Of Stars more. Shinji Ikari Raising Project Game English. Maze-Solving Mindstorms NXT Robot We already know. NXT Robot PowerPoint presentation free to. - LEGO Mindstorms NXT WEB http://robot-programming.
I teach several classes and camps for kids ages 8-14 using Mindstorms EV3/NXT. I teach small classes (about 8-12 students) with two kids, one robot, and one computer. We usually start out with the basics: robot parts, terminology, intro to the programming workspace, and basic robot movements. From there I start them on a series of maze-based challenges. I have had several different mazes over the years, there are two that work the best for me and my students. Version 1 is made with foam core, duct tape, and decorations: Version 1a: Maze The side walls are cut from foam core and the hinges are duct tape.
Using foam core and duct tape allows the maze structure to be foldable and very lightweight, which is great for travel and storage. You can make it as large or small as you need – just make sure you have enough space for the robot to travel and turn without hitting the walls (~15 inches wide for the LEGO Education Robot Educator Model), and that the walls are high enough (~12 inches) for a ultrasonic sensor to detect it. To secure the maze walls, I position one side against my room’s wall, and/or use masking tape to secure it to the ground. As you can see from the condition of the maze, it has been used many, many times. The design also allows for bending it into other shapes like a corral. Webley Spectre Manual/ Download Last Version.
I use this sometimes with the ultrasonic sensor for other lessons. Version 1b: Unfold the maze to make a corral for other challenges Version 2 was created using LEGO 2×4 bricks: Version 2: Student built design We started by planning a basic shape that would allow enough space for the robots to travel and turn. Then the students built it.
In this example you can see how we added various colored lines for sensors. Students love creating their own designs, but remember to allow extra time for building. Programming the maze Here are some suggestions for programming the maze challenge starting with basic moves, leading into an exploration of sensors. Move blocks – Students can solve the maze using basic move blocks to go forward and turn using rotations/degrees.
Eventually they learn the perfect steering and duration numbers for a 90-degree turn for their robot design. Once they understand that then it’s only a matter of figuring out the different distances between turns. They will learn about the challenge of consistency and that frustration and failure is part of the process. For example: • They need to have a consistent starting position (use tape and marks) • They need to be able to start the program without moving the robot (suggest adding a 0.5 second wait block at the beginning of the program) • Reduced speed is better • Some turns are more accurate than others (another lesson) • The robot will flip or go off course if the wheels get too close to the wall. So many good lessons!
Sensors: Ultrasonic – They can use the “wait for distance” (using ultrasonic sensor) to drive forward until it comes within a certain distance (inches or centimeters) from the wall, and then turn. They will have to figure out what that distance will give the robot enough space to turn and not run into the wall. Sensors: Touch – If your walls are stable enough, they could use the touch sensor to navigate through the maze. The challenge will be for them to figure out how to turn if your robot is touching the wall and whether “pushed” or “push/release” mode works best.
Sensors: Light/color facing down – You can add colored or white/black tape to the maze flooring so they can use the “wait for light/color” mode. As you can see in the pictures above, I always place the tape lines at the inside corners of the maze instead of in the middle space. This forces them to have to think about where to turn in relation to where the line is and where they have space to turn. It means that they will have to move forward a bit past the line and then make the turn.