Questions tagged [lego-mindstorms-ev3]

Use this tag if your question is concerned specifically with LEGO Mindstorms EV3. Otherwise, use the [lego-mindstorms] tag.

EV3 is the current incarnation of the LEGO Mindstorms robotics kit. EV3 includes the microcontroller and the software to program it.

Use this tag if your question is concerned specifically with LEGO Mindstorms EV3. Otherwise, use the tag.

77 questions
12
votes
2 answers

How to program LEGO Mindstorms EV3 using C language?

First of all, I'm new for this and I need a little help! I have a LEGO Mindstorms EV3 robot, I downloaded (LEGO Mindstorms EV3 Home Edition) to control the EV3. Unfortunately, I couldn't find the source code for the EV3 in the mentioned software.…
user4568737
5
votes
3 answers

FileNotFoundException: Could not load file or assembly System.IO.Ports

Yesterday I've worked on a project and got this exception: System.IO.FileNotFoundException: Could not load file or assembly. The system cannot find the file specified. Then I've Googled for hours what the problem could be but didn't find a…
H. Pauwelyn
  • 13,575
  • 26
  • 81
  • 144
4
votes
2 answers

How can Mindstorms EV3 communicate with my PC via Bluetooth?

I am programming a EV3 in microPython 2. I have another python 3 program running on a laptop and this program should send data to the EV3 wirelessly. Is it possible via bluetooth? If it isn't possible how should I do it?
4
votes
2 answers

Lego Robot for collecting table tennis balls

I have a goal to build a robot that can collect table tennis balls and put them into the goals A and B seen to the left and right side of the added picture. For info, the course is rectangular with one single obstacle; a four-walled cross. For now…
David
  • 667
  • 4
  • 18
3
votes
2 answers

I'm using VS Code to program an EV3 with python but I'm having trouble getting my infrared sensor to work

The code I'm using is: #!/usr/bin/env python3 from ev3dev2.motor import LargeMotor, MoveSteering, OUTPUT_B, OUTPUT_C, SpeedDPS from ev3dev2.sensor.lego import InfraredSensor from sys import stderr from time import sleep motorB =…
3
votes
1 answer

Bluetooth on the EV3

Before I get started. Yes, I could use leJOS, ev3dev, or some others, but I'd like to do it this way because that is how I learn. I am using the CodeSourcery arm-2009q1 arm toolchain. I fetched the required libraries (bluetooth) from here:…
2
votes
1 answer

Send Data between EV3 and PC

I am programming a roboter, and it needs to send data between the EV3 and my laptop (Windows) I run pybricks on the EV3, which enables me to code in python. I already did research, but the only things that are remaining are some blogs from 2014 that…
2
votes
0 answers

How would I use an older (v1) version of the Hi Technic NXT Infrared Seeker v2 in ev3dev with micropython?

ev3dev version: 4.14.117-ev3dev-2.3.5-ev3 ev3dev-lang-python version: All output of dpkg-query -l {python3,micropython}-ev3dev*: Desired=Unknown/Install/Remove/Purge/Hold |…
2
votes
0 answers

How to use queues with micropython and ev3dev

I am in need to use some sort of thread-safe queue in micropython running on an ev3dev device. I am trying by using the uasyncio module but although it seems to be recognizing the library correctly when I try to use the Queue I get strange behavior.…
2
votes
1 answer

How does the stalled() function work in Pybricks-MicroPython

MicroPython 2.0 beta 5 Trying to understand how the stalled() function on the motor works. I run a motor at dc of 100, and hold the wheel so that it cannot move. But the stalled function doesn't fire, indeed whatever I do I don't seem able to get it…
2
votes
0 answers

Robotc - Finding balls, grab and drop

I have to solve a problem with EV3, using language C with ROBOTC. I am trying to find a ball in the field, grab it and drop in the triangle area. I'm using a ultrasonic sensor in front of the robot. My solution for now is: Turn 360 degrees and find…
OnScreen
  • 47
  • 8
2
votes
1 answer

Cannot connect to Pixy with ev3dev

I have a pixy 2 that I'm trying to connect with the following code pixy = Sensor(address=INPUT_1) assert pixy.connected, "Connecting PixyCam" Unfortunately I cannot connect to my Pixy 2 and don't really know what to do. Connecting to a…
David
  • 667
  • 4
  • 18
2
votes
1 answer

EV3: How to import ev3dev for Python

I am attempting to program my Mindstorms EV3 using Python and have installed ev3dev Brickman to my EV3 on a microSD card. I am using a Macbook Pro (OS X 10.11.6) and Python 3.5.1 however when I attempt to perform the from ev3dev.ev3 import * it…
Darren
  • 41
  • 4
1
vote
0 answers

Lego Mindstorms - Server Client messaging between PC and Ev3

Disclaimer, this question has already been asked by Liam K. However the answer does not resolve the issue. We followed the official Lego Mindstorms tutorial https://pybricks.com/ev3-micropython/messaging.html#server-and-client on messaging between…
1
vote
1 answer

Threading on EV3 micropython

I am trying to write some code for my EV3 brick. I am really struggling to get multithreading to work. I am using threading module, it throws no error but function that are supposed to run on another thread aren't run at all. My code: …
1
2 3 4 5 6