Questions tagged [programming]

Questions about programming the various LEGO programmable bricks, including Mindstorms (EV3, NXT, and RCX), Wedo and Scout, in either the provided languages and editors, or more advanced languages.

21 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
2answers
199 views

How to mirror an EV3 motor?

I want to get one EV3 large motor to copy the other. So if I move one half a rotation the other copies.
4
votes
0answers
639 views

Daisy chaining EV3 with RobotC

I'm trying to run EV3 programs with RobotC and trying run on EV3 Daisy Chaining. I have three independent EV3 bricks labelled A,B,C. I want, according to the color reading by the color sensor on ...
3
votes
0answers
356 views

Creating custom blocks using EV3 block developer kit

I am trying to develop a custom block using ev3 block development kit but I get nowhere. I created the XML files according to the documentation and the VIX file but it does not compile, I cannot ...
2
votes
0answers
51 views

How to get Lego Mindstorms EV3 expansion set (45560) programmes in Scratch

I bought recently Mindstorms EV3 expansion set (45560) and found out that the available programs are written in old LabView-style programming language: https://le-www-live-s.legocdn.com/sc/media/files/...
2
votes
0answers
67 views

Lego Mindstorms Software: “Error code: 4”

After updating my EV3 Brick's firmware from V1.09E to V1.10E and reinstalling the Teacher Edition of the Lego Mindstorms EV3 software (even though I'm not a teacher), I decided to recover my Brick's ...
2
votes
1answer
43 views

EV3 program runs fine when connected to PC but does not respond when copied to the brick

I am building the race car mentioned in the LEGO Mindstorms discovery book using an EV3 brick. The problem I am facing is that the driving program runs fine when the brick is connected to the PC via ...
2
votes
0answers
105 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 counter clockwise to one another (if one plays ...
2
votes
0answers
62 views

EV3 software crashes when coding color sensor switch, how can I fix this?

When students use the switcher block to program the color sensor on their Chromebooks, the app crashes. We have all accessibilities turned off and ChromeOS updated. What other troubleshooting steps ...
2
votes
0answers
44 views

NXT Mindstorms software glitch

My FLL team was doing some practice programming exercises this morning. One group wrote a program using color sensors, no issue. The next group opened a new program window and attempted to open a ...
2
votes
0answers
1k views

Bluetooth connection to EV3 from Java on Linux/Android

I would like to connect to my EV3 from PC (and then Android) via Bluetooth. I was able to connect to NXT with LEGO-MINDSTORMS-MINDdroid which uses direct LCP commands but as far as I know the ...
2
votes
0answers
197 views

NXT (NXC) Programs are too slow

I am using Bricx Command Center to write some NXC code for a side project. I am working with the MindSqualls C# Library in Unity and am trying to figure out some ways to use the NXT robots in an event-...
2
votes
0answers
369 views

How to determine orientation of a EV3 gripper?

I have built the EV3 Gripper using the manual. I am programming an ev3 brick using ev3dev. I need to determine the angle/direction/orientation of the robot programmatically, before I can issue a ...
2
votes
0answers
219 views

After adding a MyBlock icon to the EV3 palette of MyBlock icons, how can the new icon be associated to an existing MyBlock?

After following the advice given in adding a MyBlock icon to the EV3 palette, can the icon be associated to an existing MyBlock? Something better than copy/paste the contents of the existing MyBlock ...
1
vote
1answer
50 views

Online link to the LEGO NXT firmware (v1.31) source code or IAR ARM LEGO development tools?

I am looking for the source code to latest NXT firmware (v1.31). I found the binary image is on LEGO site: https://www.lego.com/en-us/themes/mindstorms/downloads, but no links to firmware source code ...
1
vote
1answer
137 views

Where's the iNXTG app for programming NXT from iPad?

I'm trying to find the old iNXTG to program NXT bricks via iPad but it is no longer available in the Apple Store. Does anyone know if there exists an archive for programs like that? The problem is ...
1
vote
0answers
98 views

Function in EV3 Basic

I have been programming in basic for ~30 years. I want a translation of the following code into EV3 Basic: function index( x , y ) return x + y * ( maxx , + 1 end function sub look for i = 0 ...
1
vote
0answers
506 views

Loop interrupt stops all loops, not just the one designated

I have been using loop interrupts for a while, and not had an issue... until now. And it is driving me nuts. My program has 2 main loops, titled "touch" and "end" with two more nested in the "touch" ...
0
votes
1answer
68 views

Where to start with a custom firmware for the NXT

In the process of hardware hacking with my NXT 2.0 I Found no easy way to connect the device as a USB storage device. Is there a specification that states how the NXT interacts over USB, or should I ...
0
votes
0answers
67 views

Confusion with error symbol and coding

I am making a colour sorter robot. However, when I'm trying to detect colour with the colour sensor it displays an error message. The error symbols look like ev3 programming blocks and then an ...
0
votes
0answers
39 views

Bluetooth connection between EV3 brick and MacBook Pro fails after 2 seconds

As I was adviced, I searched for same questions before posting mine but although some are similar, I can't make their answer useful for my problem. I have a Mindstorms EV3 Education brick and a ...
0
votes
0answers
54 views

Using switch block with Hitechnic color block

Can I compare the Hitechnic block --> measure --> color output in a switch block? For example, if the Hitechnic color sensor is seeing black, then do something, else do another thing. If not, then how ...