Python for EV3


Program in Python with EV3

You can now use your EV3 Brick to unleash the power of Python programming using MicroPython. You can start programming straight away by installing the EV3 MicroPython image onto any micro SD card and inserting it into the EV3 brick. Switching back to the standard LEGO® MINDSTORMS® EV3 firmware is as simple as removing the EV3 MicroPython micro SD card. To get you started, full documentation and sample API code can be downloaded at the link below.


How to get started


  1. Download and flash the EV3 MicroPython image onto a micro SD card
  2. Insert your micro SD card into the SD card slot on the EV3 Brick and turn it on
  3. Download, install, and launch the free Visual Studio Code editor on your computer
  4. Install and activate the LEGO Education EV3 extension
  5. Connect the EV3 Brick to your computer and start to code


You will find a detailed description of the above steps in the EV3 MicroPython documentation PDF (link below).

Getting Started (Steps 1-3)

Visual Studio Code (Steps 4-5)