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.

learn more… | top users | synonyms

4
votes
1answer
2k views

Can you program an RCX using the Mindstorms NXT 2.0 software?

I was asked to teach a robotics class and found several RCX bricks in storage. Can I use these bricks with the Mindstorms NXT 2.0 software? If not, what would be the software I would need to use the ...
5
votes
1answer
2k views

How to control a RCX from a Mindstorms NXT

I have both an RCX and an NXT. I would like to control the RCX brick from the NXT (and possibly communicate back to to the NXT from the RCX). I would like to avoid purchasing the Mindsensors RCX to ...
8
votes
1answer
249 views

NXC Saturation algorithm for limiting motors?

What is a good algorithm in NXC for control saturation? I want to make sure my motors don't turn past a certain angle, or they will break the model. I could do something like: if (angle > 45) ...
6
votes
0answers
197 views

PosRegEnable - How to change motor parameters?

I want to set PID parameters for a faster 'attack' when using PosRegEnablePID() on a motor. I am compiling with nbc/nxc 1.2.1 r4 mac osx fatbinary using -Z2 and -EF flags. But the compiler says: # ...
6
votes
1answer
456 views

NXT brick output ports not working properly

My NXT brick will not let motors run. When I download a program the motor will move forward and backward and then stop - sort of a wiggle. Another motor will not work at all. This happens for all ...
16
votes
3answers
2k views

Can you program Lego Mindstorms with the Scratch programming language?

My child is learning programming using Scratch in school. Can she program her Mindstorms using Scratch?
6
votes
1answer
220 views

NXT motor power accuracy

When turning the motors, how precise is the speed parameter? I am programming in the NXC language (standard firmware) and wishing to know how many decimal points will be taken, if any, and whether the ...
6
votes
1answer
294 views

Is it possible to display large text on an NXT using LabVIEW?

In RoboLab and using RobotC, it's possible to write LARGE text to the screen of the NXT. In RoboLab, this can be done by just typing [\big] at the beginning of a string constant which is wired into a ...
10
votes
4answers
2k views

Can I control 2 NXT bricks from a computer using bluetooth at the same time?

I am thinking about starting a project involving controlling the movement of a mindstorms robot depending on some input from a Kinect device; however the robot will require at least 6 motors. I have ...
5
votes
1answer
2k views

Mindstorms 2.0 can't download to NXT brick with error 142023

Using Mindstorms education 2.0 on a Windows 7 computer I can't seem to get the program to see the NXT via USB or bluetooth dongle. When connected by USB nothing appears in the NXT window with device ...
17
votes
4answers
5k views

How to calibrate NXT motors to travel the same distance?

The motors included with the NXT are not all created equal - when given the same input power level, they do not always go the same distance or turn at the same rate. I measured this by creating a ...
9
votes
2answers
977 views

Can we program Nxt2 in C++ under Visual studio 2010?

I'd like to know if it is possible to develop C++ software for NXT2 using Visual Studio 2010 as IDE. I know there are small online projects for NXT but I can't find nothing about NXT2.... Any ...
9
votes
4answers
3k views

How to make Mindstorms respond differently, depending on which sensor is triggered?

I am new to Mindstorms (but in my day job I am a programmer). I want to make my robot do one thing if the touch sensor on port 1 is pressed, and do something different if the touch sensor on port 2 ...
9
votes
2answers
424 views

Why does this program work in LabView when targeted to computer but not to NXT?

I have a program written in Labview for my LEGO Mindstorms NXT 2.0. When the target is set to the computer, the program works just fine. However, when I set the target to the NXT, the program doesn't ...
31
votes
6answers
17k views

Is there any other way to program the Lego Mindstorms NXT other than the provided software?

I'm curious to know if there is any way to program the NXT other than the provided software. I don't necessarily have any issue with the software. Does the program created by the software translate ...
15
votes
1answer
897 views

Can I write programs for the LEGO RCX 2.0 in Java/C++?

Is there a library which makes it possible to write LEGO Mindstorms programs for RCX 2.0 in Java or C++? With the LEGO software it takes so much time to write good programs.