How to align to a wall with Ultrasonic Sensors. Remove complexity (part 4)
We explore some common mistakes when a program is developed and becomes complex. We then try to remove part of this complexity.
- #166
- 16 Nov 2015
We explore some common mistakes when a program is developed and becomes complex. We then try to remove part of this complexity.
Arriving at a final solution. There is still room for improvement on using the Mindstorms Ultrasonic Sensor for aligning to walls, but we hope the whole five videos could give you a good idea of how to start with a problem and reach a solution.
In the first LEGO tutorial we started following a wall with the Ultrasonic Sensor. In this tutorial we would improve the program, remove the zig zag movement and make it very smooth.
Tasks for STEM classroom and home exercise to get you used to using the LEGO Mindstorms Touch sensor. Solve them, build a program, record a video and upload your solutions below.
Follow an object using the LEGO Mindstorms Ultrasonic Sensor. Object moves away, the robot moves with the object. The program is very useful if you are doing STEM classes and you want to demonstrate results. People react very well to a robot following you like a dog for example.
Tasks for school STEM classes or home exersie. Try to solve them to submit your solutions below.
Stop on detecting an object with the Ultrasonic sensor and move after detecting there is no object. Join of the previous two video tutorials in one
We create a program for detecting when the Touch Sensor was Pressed/Released. Move until it is pressed, continue when it is released.
The robot detects an object. After the object is remove we want to make the LEGO robot move forward.
Implementing the next logic for aligning to the border when we approach the border from the right.
EV3-G program for following and object with the LEGO Mindstorms EV3 robots
These programs are examples of programs that complete the tasks from the third lesson of 3.0 course. The programs are designed for the Vauld Door Robot.
This program lets the robot Safe be opened with a password, and demonstrates how passwords can be stolen.
EV3-G program for using the ultrasonic sensor and detecting objects with it.