Skip to content

FrancoBarbaro/EV3_Gyro_Boy_MicroPython

Repository files navigation

EV3_Gyro_Boy_MicroPython

Self-balancing program for the EV3 core set model "Gyro Boy", based on the original LEGO® MINDSTORMS® Education EV3 Classroom block code program. You can download this software in the official LEGO® Education site.

LEGO® MINDSTORMS® EV3 Brick Robot Setup

To get my Lego Midstorms EV3 Brick robot set up I followed the instructions from ev3dev.org

Configuring Python for EV3 Development

Getting Python configured correctly for EV3 Development can be challenging because your OS may already have different (and perhaps old) versions of Python installed. I followed the instructions from this blog post, which made it really easy and worked seemlessly: The right and wrong way to set Python 3 as default on a Mac.

Configuring VSCode

To configure my development environment I first followed the instructions on the Lego Education site, under the section Visual Studio Code (Steps 4-5).

I installed the following Extensions.

  • LEGO® MINDSTORMS® EV3 MicroPython - this allows you to create MicroPython projects on VSCode and lets you create Run configurations so you can download and run your program in the EV3.

  • ev3dev-browser - this lets you connect to your EV3 robot, browse, download, and delete files on your robot.

  • ms-python.python - this provides code formatting, syntax checking, and code completion (Intellisense) for the Python programming language.

Finally, I installed the ev3dev2 Python stubs so that I can have code completion (Intellisense) for this API. This is incredibly helpful to discover functions and classes available in the API and to simplify the development process. To get the stubs installed I followed the instructions under the Code Completion section on the README.md of the vscode-hello-python repository.

Other Helpful Resources

These sites provided me with helpful information to help me get my program completed and working.

About

Self-balancing program for the EV3 core set model "Gyro Boy"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages