As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [python]

Python is a high-level programming language designed to be easy to read and simple to implement. It is open source, which means it is free to use, even for commercial applications. Python is considered a scripting language and is often used for creating Web applications and dynamic Web content.

Filter by
Sorted by
Tagged with
1 vote
1 answer
104 views

Is it possible to control the EV3 brick with a GUI on PC? If so hows the best way to go about it

I've been interested in controlling a machine remotely through a GUI and I am stuck in between picking Python or Java to do this project in but I also think the way I'm going about this would be all ...
Louie7's user avatar
  • 11
4 votes
2 answers
136 views

How to change colour of the bluetooth/charging RGB LED in the hub?

I have the Mindstorms set 51515 - Robot Inventor. I want to display the progress of a robot's work using the LEDs. How can I change the colour of the RGB LED that the hub uses to indicate the ...
Wolfi_HD1's user avatar
3 votes
2 answers
289 views

Camera for Spike or Mindstorms for Streaming

I have made a few EV3/Spike robots that can be controlled remotely. They are controlled by either a PS4 controller or using a dashboard I built on a website. I'm running Python on the LEGO. However, ...
Adam's user avatar
  • 31
5 votes
1 answer
96 views

EV3 manual recording for displacement

So I'm doing this project using an EV3, here are the tasks of the project: We have to save the path that the robot will take manually ( we will move the robot by hand and it'll save the movements) so ...
Majed M.Alharthi's user avatar
6 votes
1 answer
1k views

Control Lego Technic Control+ Hub via Python

Is it possible to control the Lego Technic Control+ Hub with Python? I have tried using Pybricks but that didn't work well for me.
user avatar
6 votes
1 answer
132 views

EV3 .py to .rbf?

So, I need to send an rbf file from my computer to e-mail for a tournament. I'm currently using python with the ev3 microPython setup and vscode. The question is, where or how can I get the rbf file ...
vicc's user avatar
  • 63
1 vote
1 answer
68 views

Why is my EV3 status light pulsing? (ev3dev)

I am using EV3 micropython (ev3dev?). When I upload the below program to my EV3, I see on the screen the usual play button image which looks approximately like the below ASCII art: ...
technicguy1's user avatar
6 votes
1 answer
334 views

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

I am writing an EV3 micropython program meant to test my remote, but it does not work. When I run it, I see no errors at all. Instead, I just see a "play" symbol and the program continuously ...
technicguy1's user avatar
2 votes
0 answers
231 views

How do I make a single arm double tap a piano key?

I am trying to make a Lego play piano from ev3, where I have connected two arms to a single motor on either side using Lego elements. Both the arms move counterclockwise to one another (if one plays ...
Bishes Upadhyaya's user avatar
10 votes
2 answers
388 views

Is it possible to use EV3 MicroPython with Windows 7?

I have been trying to get python on my EV3 brick using an EV3 MicroPython SD card image as described on the Lego website. The EV3 brick seem fine with its new OS. Instead my problems are at the ...
Danielle's user avatar
  • 101
2 votes
1 answer
274 views

how to send direct command to ev3 brick

I am new to ev3 python but am working on a project. I was reading about NXT-python that " It works by sending the direct commands detailed in LEGO's "Blue-tooth Development Kit" to the NXT brick" I ...
user11770's user avatar
1 vote
1 answer
1k views

How to make a point coordinate system for EV3

I'm trying to make a internal coordinate system for an EV3 Python project I'm doing, but at a complete loss on how to do it. It needs to keep track of how it moves (with wheels) in an X, Y coordinate ...
ryn0129's user avatar
  • 11
3 votes
2 answers
4k views

How to instruct Mindstorms EV3 from PC conditionally?

I want to direct my LEGO Mindstorms EV3 creature from my PC conditionally (ev3dev, Python). The idea is that the program runs on the computer, collects real-time data from different sources, processes ...
Fredrik's user avatar
  • 131
1 vote
2 answers
907 views

How to flash a LEGO Mindstorms brick and program it in another language

I have a basic LEGO Mindstorms kit which I wanted to use for testing a very simple object-avoidance project. I am trying to find a relatively simple way to flash the brick and upload scripts to it ...
Nathan's user avatar
  • 11
1 vote
1 answer
248 views

LEGO servo (88004) controlled by Raspberry Pi using python pigpio

I'm trying to control a LEGO servo (88004) using a Raspberry pi. I would like to use pigpio to get a more precise control (no shaking, like with gpio PWM). It's work with a regular servo (3 wires). ...
Jonas Primdahl's user avatar
7 votes
2 answers
3k views

How to connect two LEGO Bricks EV3 by USB using python

For some project, I have to use 7 motors with ev3 bricks. So I would like to connect 2 bricks using USB-USB link, and make them communicate, in python. But I don't know how to do that, I've tried ...
Mathieu41's user avatar
0 votes
1 answer
161 views

Bazooka blast ev3 Mindstorms using Python

I would like to shoot balls with the ev3 Lego robot. How can I code it using Python? Which components do I need for that and which function and motor use ?
epays's user avatar
  • 11
1 vote
1 answer
542 views

How to receive response from direct_command_reply from EV3 using Python?

I've established and tested a Bluetooth connection (by playing a tone) between EV3 and Mac running Yosemite with Python 2.7.11. I used file write as in bt.write(tone) in Python to play the tone ...
Aakaash Vaasan's user avatar
5 votes
1 answer
2k views

Can't send multiple commands to EV3 using Python

I want to use Python to send commands to an EV3 brick. In C++ things work as expected - for instance, this starts the motor on port A and then stops it after a while: #include <unistd.h> #...
Parzival's user avatar
  • 153