12 votes
Accepted

Where can one find the documentation for the LEGO Mindstorms Robot Inventor software?

Official Docs Word Blocks The Word Block Descriptions for the block language (Scratch) are under Help & Support in the Settings. Settings are found by clicking on the gear icon on the home page. ...
10 votes
Accepted

Where can I find documentation on the LEGO Wireless Protocol for Powered Up devices?

LEGO calls this communication protocol the "LEGO Wireless Protocol" (LWP). The documentation is publicly available at https://lego.github.io/lego-ble-wireless-protocol-docs/. There is also a GitHub ...
10 votes
Accepted

Why did the light block change in SPIKE v2.0.0+?

With the introduction of the SPIKE Essential set, this element was introduced: It's a matrix of 3x3 colored LEDs. It has similar functionality as the 5x5 light matrix on the SPIKE hub, so the same ...
8 votes

EV3 Brick Error Symbols?

I know that this question is old, but if someone else has this question, I have found that these error messages often appear when you are either trying to access a non existent array (i.e. you copied ...
8 votes

Is it possible to use 5 motors on an EV3 brick?

A sensor port can't directly output to a motor. The sensor drivers can't provide enough power to supply a motor. You have a couple options: Daisy-chain two EV3s together. The first can control the ...
  • 1,350
8 votes
Accepted

EV3 not recognizing resistance correctly (MicroPython)

Here is the schematic of an input port on the EV3 (available on official LEGO MINDSTORMS download page): And this is the implementation of the resistance() method from Pybricks MicroPython: STATIC ...
7 votes

How to make an exact 16 degree turn?

This is actually a surprisingly difficult task. If you search for similar questions over on the Robotics stack exchange, you will find very smart people who can't even get it right with thousand-...
  • 1,350
7 votes
Accepted

Is it possible to re-flash the LEGO Spike Prime Hub with Mindstorms Robot Inventor Hub Firmware while retaining all functionality? And if so, how?

Yes, this is possible. Just connect the SPIKE Prime hub to the MINDSTORMS Robot Inventor App. The app will tell you that the firmware needs to be updated. Follow the instructions in the app to update ...
6 votes
Accepted

How do you program mindstorms to keep doing a task until either the IR OR the colour sensor state changes

One way of doing this is using a loop and interrupting it. How it works: The "Loop Interrupt" block stops all blocks running inside of the loop, so by interrupting the loop after either wait block, ...
6 votes

Can you extract a program from the EV3 brick to the computer?

Update: There is a tool at http://ev3treevis.azurewebsites.net/ that can be use to create a new .ev3 file from a .rbf file recovered from an EV3 brick. Some information will be lost, but at least ...
6 votes

Which programming environments or APIs are available for the LEGO BOOST?

Boost and the other Powered Up components (the new City trains, the app-controlled batmobile, and WeDo 2.0) are controlled via Bluetooth. Any environment that can send bluetooth commands can be used ...
6 votes
Accepted

How to use REPL on the 51515 hub?

I've used rshell for this. It's available on PyPI, so it can be installed using: sudo pip3 install rshell You may need to provide the device to connect to such as: rshell -p /dev/ttyACM0 To get a ...
  • 37.4k
5 votes

EV3 Brick Error Symbols?

I had the same problem. I figured out that this is caused by something trying to read something on a numeric array that was not there. well, if that is the problem, use an array function as append and ...
5 votes

Is it possible to edit a MyBlock input parameter value?

It is possible now (since version 1.3.0) by pressing the button at the upper left corner of the block:
5 votes

Making an ATM with an EV3

The possible solutions involve realizing that you can multiply the number of possible inputs by implementing long clicks, double clicks, click-and-holds, simultaneous clicks, etc. on the buttons. If I ...
  • 14.7k
5 votes
Accepted

How can EV3 Gyro sensor drift be handled?

There are two options that I can think of. Do the "hardware" fix before every run of the robot to reboot the sensor along with the "software" fix to zero it. Don't use the Angle reading at all. To ...
5 votes

How can EV3 Gyro sensor drift be handled?

My team put their software fix in a loop with a small wait that cycles until the d/s = 0, then reset it to 0. Here's a simplified version: It works like a charm. We don't mess with the hardware reset ...
  • 51
5 votes

How can I make an EV3 vehicle follow an elliptic equation?

I think it would be more realistic to have the robot drive in a straight line but have a linkage to the foci of the ellipse that "pulls" the robot towards the center of the ellipse just as orbiting ...
5 votes

How can I create custom EV3 blocks (developer mode)?

You only need the official LEGO MINDSTORMS EV3 software. LEGO provides a "EV3 Block Developer Kit" on the MINDSTORMS downloads page. This contains some minimal instructions on creating blocks. It ...
5 votes
Accepted

Is the EV3RSTORM from Lego Mindstorms programmable using a real programming language?

The EV3 brick runs a linux kernel so it is extremely compatible with many different programming languages. 3rd-party support packages for basically any language you can think of have been made, and ...
  • 1,350
5 votes
Accepted

Why doesn't my LEGO Micropython remote control program work?

You can get community support for Pybricks at https://github.com/pybricks/support. ir.buttons(1) returns a list of pressed buttons, so in this particular program if ir.buttons(1) == Button.BEACON: ...
5 votes

Programming on a chromebook with EV3

Can you just install Scratch? MIT supports EV3 directly
  • 7,312
5 votes

Programming on a chromebook with EV3

The new Scratch-based software from LEGO Education is called EV3 Classroom. The link on the LEGO Education EV3 downloads page for Chromebooks takes you to the EV3 Classroom app at the Google Play ...
5 votes

How to get a random value in the LEGO Mindstorms Robot Inventor software

Under operators, there is a block "Pick Random" where you can specify to pick an integral number between x to y... x and y you can type... So for a random direction, set it between 0 and 359 ...
5 votes

Where can one find the documentation for the LEGO Mindstorms Robot Inventor software?

Recently following web-page appeared: https://lego.github.io/MINDSTORMS-Robot-Inventor-hub-API/ I learned it from David Lechner (https://github.com/gpdaniels/spike-prime/issues/7#issuecomment-...
  • 151
4 votes

Is there a microphone that works with Mindstorms EV3?

There is a (new?) LEGO brand sound sensor (9845) for $35 on the LEGO store. I don't know if it's suitable for your particular application but sounds plausible. Using the NXT Brick (sold separately), ...
  • 149
4 votes

Making an ATM with an EV3

Use a Motor as Input You may be limited by the amount of touch sensors you can use, but you have one very useful form of input that you may not be aware of. EV3 motors have the ability to provide a ...
  • 17.5k
4 votes

How can EV3 Gyro sensor drift be handled?

The Gyro is a tricky sensor to use, but at yesterday's FLL competition in Elk River, at least 5 teams had worked out the issues to their satisfaction. I'm revealing their answers here. It is unfair ...
  • 1,321
4 votes
Accepted

What are the programming languages that can be used on Lego Mindstorm EV3?

With ev3dev pretty much any programming language you can run or compile for the ARM board can be used. All you really need to be able to do is read and write to a file. This is because ev3dev is based ...
4 votes
Accepted

How to make Lego Mindstorms EV3 robot go in reverse when move steering input comes from proximity sensor

Multiply the output of the proximity sensor by -1.

Only top scored, non community-wiki answers of a minimum length are eligible