LEGO MINDSTORMS Education EV3 Getting Started

LEGO MINDSTORMS Education EV3 Getting Started

Micropython
Hide thumbs Also See for MINDSTORMS Education EV3:

Advertisement

Quick Links

Getting Started with
LEGO
MINDSTORMS
Education EV3
®
®
MicroPython
Version 2.0.0

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MINDSTORMS Education EV3 and is the answer not in the manual?

Questions and answers

Summary of Contents for LEGO MINDSTORMS Education EV3

  • Page 1 Getting Started with LEGO MINDSTORMS Education EV3 ® ® MicroPython Version 2.0.0...
  • Page 2 TABLE OF CONTENTS Installation ............................................Creating and Running Programs ............................. LEGO, the LEGO logo and MINDSTORMS are trademarks of the LEGO Group. ©2019-2020 The LEGO Group.
  • Page 3 Getting Started with LEGO MINDSTORMS Education EV3 MicroPython Version 2.0.0 ® ® This guide shows you how to get started with writing MicroPython programs for your LEGO  MINDSTORMS  EV3 ® ® robots. You’ll learn to do this in two steps: •...
  • Page 4: What Is Needed

    • A mini USB cable, like the one included in your EV3 set. The typical configuration of this equipment is summarised in Figure 1.1. LEGO, the LEGO logo and MINDSTORMS are trademarks of the LEGO Group. ©2019-2020 The LEGO Group.
  • Page 5: Preparing Your Computer

    2. Follow the on-screen instructions to complete installation. 3. Launch Visual Studio Code. 4. Open the ‘extensions’ tab. 5. Install the EV3 MicroPython extension as shown in Figure 1.2. LEGO, the LEGO logo and MINDSTORMS are trademarks of the LEGO Group. ©2019-2020 The LEGO Group.
  • Page 6: Preparing The Micro Sd Card

    Select your micro SD card. Make sure that the device and size shown correspond to your micro SD card. c. Start the flashing process. This may take several minutes. Do not remove the card until the flashing process is complete. LEGO, the LEGO logo and MINDSTORMS are trademarks of the LEGO Group. ©2019-2020 The LEGO Group.
  • Page 7 Make sure the EV3 Brick is switched off. Insert the micro SD card you have prepared into the micro SD card slot on the EV3 Brick, as shown in Figure 1.4. LEGO, the LEGO logo and MINDSTORMS are trademarks of the LEGO Group. ©2019-2020 The LEGO Group.
  • Page 8 To switch off the EV3 Brick, use the Back Button to open the shutdown menu and then select ‘Power Off’ using the Centre Button, as shown in Figure 1.5. Main Menu Power Off Press the Back Button Figure 1.5: Switching off the EV3 Brick LEGO, the LEGO logo and MINDSTORMS are trademarks of the LEGO Group. ©2019-2020 The LEGO Group.
  • Page 9 2. Wait for the Display and Brick Status Light to switch off. 3. Remove the micro SD card. 4. Switch on the EV3 Brick. LEGO, the LEGO logo and MINDSTORMS are trademarks of the LEGO Group. ©2019-2020 The LEGO Group.
  • Page 10: Creating A New Project

    2.2. Enter the name of the project in the text field that appears and press Enter. When prompted, choose a location in which to store this program and confirm by clicking choose folder. LEGO, the LEGO logo and MINDSTORMS are trademarks of the LEGO Group. ©2019-2020 The LEGO Group.
  • Page 11: Opening An Existing Project

    Next, navigate to your previously created project folder and click OK. You can also open your recently used projects using the Open Recent menu option. LEGO, the LEGO logo and MINDSTORMS are trademarks of the LEGO Group. ©2019-2020 The LEGO Group.
  • Page 12 • Switch on the EV3 Brick. • Connect the EV3 Brick to your computer using the mini USB cable. • Configure the USB connection as shown in Figure 2.5. LEGO, the LEGO logo and MINDSTORMS are trademarks of the LEGO Group. ©2019-2020 The LEGO Group.
  • Page 13 Back Button on the EV3 Brick. If your program produces any output with the print command, this is shown in the output window. LEGO, the LEGO logo and MINDSTORMS are trademarks of the LEGO Group. ©2019-2020 The LEGO Group.
  • Page 14 Now that you’ve run the basic code template, you can expand the program to make a motor move. First, attach a Large Motor to Port B on the EV3 Brick, as shown in Figure 2.7. LEGO, the LEGO logo and MINDSTORMS are trademarks of the LEGO Group. ©2019-2020 The LEGO Group.
  • Page 15 This program makes your robot beep, rotate the motor and beep again at a higher-pitched tone. Run the program to make sure it works as you expected. LEGO, the LEGO logo and MINDSTORMS are trademarks of the LEGO Group. ©2019-2020 The LEGO Group.
  • Page 16 To do so, find the program using the file browser on the EV3 Display and press the Centre Button to start the program as shown in Figure 2.9. LEGO, the LEGO logo and MINDSTORMS are trademarks of the LEGO Group. ©2019-2020 The LEGO Group.
  • Page 17 Open file browser Open project folder Run your program Go to previous folder Figure 2.9: Starting a program using the buttons on the EV3 Brick. LEGO, the LEGO logo and MINDSTORMS are trademarks of the LEGO Group. ©2019-2020 The LEGO Group.

Table of Contents