Lego EV3 Cruise Control

Welcome back the sixth class for this season. Today we are working on cruise controller. The main task is to send speed command by pressing the touch sensors. Left one for accelerate the car, right one for decelerate the car. We can also display the speed on dashboard. We also introduced a very important concept, sub-routing(a program inside a program), in lego world, we call it “my building block”. The custom build blocks can help us reuse some of the code we built for the project. From now on, we can use lego pre-built blocks, or we can make our own. We used two in this class. For next two classes, we are going to use at least four blocks. There are no limits if you can build more functional blocks. We are going to introduce some simulated game rules. We will give scores if your robot can finish some tasks. Thank you again for your corporation. 

Leave a Reply

Your email address will not be published. Required fields are marked *

Play2Learn Education