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

6
votes
2answers
162 views

Mindstorms start block is missing

the start block is missing on my mindstorms NXT 2.0 programming space. i cannot run any program without it. i have tried, restarting the programming window, placing a block and even just undoing to ...
5
votes
1answer
173 views

Gunner bot programing

I just build the RCX Gunner Bot using the instructions from this web site. I had to build something different to the one we built in the class, I added a touch sensor and light sensor, so the bot ...
5
votes
1answer
458 views

What can cause programmed NXT 2.0 motors to misfunction when small resistance is applied?

I have robot built per the Alligator tutorial included with Mindstorms NXT 2.0. Everything works correctly if I hold it off the ground and make sure there is no load on the two leg motors. However, if ...
5
votes
1answer
522 views

RobotC for RCX cannot find USB IR Tower

I have looked for similar question but found null. So here I am asking. I have Win7, a RobotC fo RCX and Mindstorms for RCX (both are old version, but available free). I borrowed an old LEGO kit ...
7
votes
1answer
404 views

How can I power an NXT motor without the NXT brick?

I know almost nothing about robotics, so I was wondering how can I power the nxt motor without using the nxt brick, and how can I send signals to it?
5
votes
1answer
474 views

Program a full rotation of a NXT motor in X seconds

I'm interested in mimicking the functionality of the Arqball Spin, at $60 it isn't cheap so I'd like to make the most out of my Mindstorms parts. I'd like to use NXT-G to program a motor to rotate ...
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
257 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
209 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
481 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
3k 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
236 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
312 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
3k 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
6k 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
1k 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
459 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
19k 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
933 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.