Skip to main content
7 votes

EV3 manual recording for displacement

If your robot has wheels, then measure or calculate the circumference of the wheels. Then you just have to count the rotations of the axle and multiply by the circumference to get the total travelled ...
zovits's user avatar
  • 16.2k
5 votes

How to connect two LEGO Bricks EV3 by USB using python

You can create a network connection between two EV3s using USB + ev3dev. Just enable tethering (the "Gadget" checkbox) on one of the EV3s. Connect the USB cable to the USB peripheral port on that ...
David Lechner's user avatar
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: ...
David Lechner's user avatar
4 votes
Accepted

Control Lego Technic Control+ Hub via Python

Yes, it is possible to remote control a Technic Control+ hub with Python using a library such as pylgbst or bricknil. You can also write MicroPython programs that run on the hub directly using ...
David Lechner's user avatar
4 votes

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

Short answer: You can't. Longer answer: It should be possible to do with custom firmware, but it's (a) not worth it, (b) difficult from a technical standpoint, and (c) a bad idea. Disclaimer: besides ...
IvanSanchez's user avatar
  • 8,734
3 votes

Camera for Spike or Mindstorms for Streaming

You probably want to look into suppliers for copter drone parts - the kind that RC hobbyists attach to drones or RC cars to fly/drive from a first-person point of view. These are called FPV ("...
IvanSanchez's user avatar
  • 8,734
3 votes

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

As far as I know, this is not possible with the default firmware and APIs currently. The primary hub LED is exposed as hub.led, but I don't believe that the other LED is accessible from user code. It ...
jncraton's user avatar
  • 40.6k
3 votes

How to instruct Mindstorms EV3 from PC conditionally?

If you are running ev3dev on the EV3, you can use RPyC to remotely execute Python code on the EV3. Resources: Python-ev3dev. Working with ev3dev remotely using RPyC EV3 PYthon. RPyC
David Lechner's user avatar
2 votes

How to connect two LEGO Bricks EV3 by USB using python

I have not tried this for myself. But as far as I know ev3dev does not support EV3 USB daisy chaining. EV3 serial to EV3 serial over sensor ports should work. e.g. as an example https://github.com/...
anonagain's user avatar
2 votes

Bazooka blast ev3 Mindstorms using Python

ev3dev works pretty well for that purpose, and all you need is a microSD card. You'll need to use the Motor class. It work with both large and medium motors, and either can be use to shoot balls, so ...
Lulhum's user avatar
  • 206
2 votes

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

I've had great success with Bricx Command Center or BricxCC (as mentioned in this post) on my NXT using NXC (which is easy to pick-up when you already have a C/C++ foundation like you've mentioned). ...
Nita's user avatar
  • 235
2 votes

Is it possible to use EV3 MicroPython with Windows 7?

The official answer is NO. EV3 Python only supports Windows 10 or version 1803 or newer. The page from the Documentation listing the system requirements are linked below: EV3 Documentation - Minimum ...
Nils Munch's user avatar
2 votes

Camera for Spike or Mindstorms for Streaming

You could use a smartphone to do this. They are lightweight and have a camera and Wi-Fi all in one package.
David Lechner's user avatar
2 votes

How to make a point coordinate system for EV3

What you're trying to accomplish is called Odometry, and fortunately it's a pretty common task in robotics so there's a lot of information available on how to do it. The short answer is, it's ...
MindS1's user avatar
  • 1,372
1 vote

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

For mobile devices, there is an official LEGO app called LEGO® MINDSTORMS® Commander that can do this (Android, iOS, Fire, Windows). If you want to write your own app, you will need to use the EV3 ...
David Lechner's user avatar
1 vote
Accepted

EV3 .py to .rbf?

I don't think an .rbf file is ever generated, the microPython engine installed on the flash disk interprets and executes the .py file directly. .rbf files were executable files generated by the EV3 ...
Michael Verschaeve's user avatar
1 vote
Accepted

Why is my EV3 status light pulsing? (ev3dev)

That is just the default state of the light when pybricks-micropython starts. You can get help with Pybricks programming at https://github.com/pybricks/support.
David Lechner's user avatar
1 vote

how to send direct command to ev3 brick

This isn't exactly sending direct commands to your robot, but LEGO Education recently released a python stack for the EV3 brick. I haven't tried it; but as I understand it, it's an alternative ...
Joubarc's user avatar
  • 21.2k
1 vote

How to instruct Mindstorms EV3 from PC conditionally?

It's definitely possible and feasible to communicate from a program on your PC through bluetooth with an EV3 brick, several example projects can be found on the internet. Assuming you want to code ...
Michael Verschaeve's user avatar
1 vote

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

In my experience, most 3rd-party firmware can be flashed to the NXT brick using the standard NXT-G software "Firmware Update Tool." As others have mentioned, BricxCC with NXC is also a great option. ...
MindS1's user avatar
  • 1,372
1 vote

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

I figured it out :-) Using pi.set_PWM_dutycycle(c1, 128) # PWM 1/2 on makes it move. In hindsight kinda obvious :)
Jonas Primdahl's user avatar

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