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 ...
9
votes
Accepted
Can you program Lego Mindstorms with the Scratch programming language?
If you wish to program the EV3 with Scratch, then check out this project on github:
https://github.com/koen-dejonghe/ev3-scratch-helper-app
This software is a so-called helper app, that interfaces ...
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
Pass sensor or motor port number as a parameter
Yes, it is possible to pass the port number as a parameter to a sensor or motor block via data wire. It's just that it's manually selected by default. To change this, go to the port of the sensor or ...
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 ...
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
Accepted
EV3 parallel MyBlocks, but only one working
I could not find this in the help file, but according to this thread "Another little known characteristic of MyBlocks is that they aren't re-entrant. No two copies of the same MyBlock can be running ...
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-...
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 ...
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
Accepted
Is there a time mechanism that can be added to an NXT program?
To get the actual time of day, you can use the mindsensors.com Realtime Clock Sensor.
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
Accepted
Execute program programmatically
This is more of a LabView answer than a Mindstorms answer, but you should be able to create a SubVI that represents a task, and then you can place that in the main VI.
This help document might be ...
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 ...
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 ...
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 ...
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
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-...
5
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 ...
4
votes
Is there any other way to program the Lego Mindstorms NXT other than the provided software?
I started coding using NXT software and later EV3 and lately I have switched to java using leJOS. EV3 software ( and NXT ) is great for quickly hacking your ideas but when things get ugly the ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
programming × 199ev3 × 107
mindstorms × 73
nxt × 57
motor × 20
ev3-g × 17
software × 13
bluetooth × 9
nxc × 9
nxt-g × 8
labview × 8
rcx × 7
robotic × 7
sensor-colour × 7
remote-control × 5
sensor-ultrasonic × 5
spike-prime × 5
ev3dev × 4
python × 4
robotc × 4
robot-inventor × 4
pybricks × 4
scratch × 4
monobrick × 4
electronics × 3