Questions tagged [nxt]

A programmable robotics brick released by the LEGO company in late July 2006 and uses Technic connectors. This was preceded by the original RCX brick, and succeeded by the EV3 brick.

Filter by
Sorted by
Tagged with
2
votes
2answers
4k views

Is there a fix for an NXT reporting “File error!” when running an EV3 program?

I downloaded the new EV3 software from Lego and installed it on Windows 7. The EV3 software runs. I plugged in an NXT using a USB cable. EV3 can edit the memory on the NXT and remove programs/...
2
votes
1answer
476 views

Lego Mindstorms education NXT 9797 software for a Mac laptop [duplicate]

Where can I find the software for a MacBook Air for the 9797 Lego Mindstorms Education NXT Base set?
2
votes
1answer
116 views

How to make NXT bricks communicate information?

Is it possible to connect, in some way, two NXT bricks that has program functions running on both. For example, Brick one would tell brick two that it is okay to start a program. Are there any sensors ...
2
votes
3answers
323 views

How to retrieve a deleted program file from the lego NXT

I have been programming a complex file for my lego NXT. I accidentally deleted my file from the PC, but it is still available on my NXT brick. Is there any way that I can retrieve the file from my NXT ...
2
votes
1answer
824 views

Mindstorm 2.0 & Chromebook?

We have a Mindstorms 2 (not the new one, last gen) and chromebooks... can we use the current software (EV3?) on our old Mindstorm brick? If not, will the old software run on our chromebooks to ...
2
votes
1answer
117 views

Absolute position regulation NXC

I am trying to position the LEGO NXT motor exactly at a certain absolute angle: PosRegEnable (OUT_A); PosRegSetAngle (OUT_A, 0); Wait (500); // to read sensor value ...
2
votes
1answer
198 views

Java BufferedImage with Lejos NXT: Java Heap Space

I'm trying to write a program for my Lego Mindstorm NXT, the program is simple, drawing some lines and saving the image in a .png file. So, I thought I'd use BufferedImage and use getGraphics to draw ...
2
votes
1answer
423 views

Clicking Brick Syndrome after using Raspberry Pi

I have a Mindstorms NXT brick, and when switching it on recently, it just started clicking. I have tried many different ways to fix it, but nothing has worked. I've done a soft reset, hard reset (...
2
votes
3answers
5k views

LEGO Mindstorms NXT - bossa driver prevents firmware upgrade

First of all, this may sound like a duplicate post. But, my Mindstorms NXT 2.0 has been having the "Clicking Brick Syndrome". I have been told that uninstalling the bossa driver then unplugging and ...
2
votes
1answer
386 views

Absolute Turning Motor in NXC

How can I turn my motor to 123 degrees, not for 123 degrees? I tried the PosRegSetAngle("output", "angle") command and didn't work. Documentation for PosRegSetAngle
2
votes
1answer
3k views

Is it possible to connect EV3 and NXT bricks like master/slave configuration via bluetooth?

Can I make a Bluetooth connection between LEGO EV3 bricks and LEGO NXT bricks? and If it is possible how to handle the software to make a chain between them?
2
votes
2answers
2k views

How to install NXT Firmware 1.28?

Lego is giving 1.31 from their website but I need 1.28, how can I install it?
2
votes
1answer
741 views

Accidently Deleted System files on Nxt 2.0. How to restore system files? [duplicate]

I have accidentally deleted the system files from my NXT 2.0. It is making a continuous clicking sound. How to I restore system files. I have the system files, but my computer can't detect it! Please ...
2
votes
1answer
54 views

NXT Program doesn't do what it's supposed to do

Ok, so I have this automatic gearbox I have made and I have 2 motors and 2 touch sensors I want Motor A to spin forever unless Motor B is turning Motor B should turn around 15 degrees and then brake....
2
votes
3answers
4k views

Programming NXT color sensor with NXC?

Currently I am working Lego robot that solves 2x2x2 Rubik's cube. I am programming Lego Mindstorms NXT 2.0 color sensor in BricxCC. I already have RGB data with the command ReadSensorColorRaw. I ...
2
votes
1answer
115 views

NXT shuts down USB on Mac after connecting motors

After successfully connecting our NXT to my Macbook Air and upgrading firmware to 1.31 we built our first robot. We plugged in the motors to ports A, B & C and now we get an Error stating that USB ...
2
votes
2answers
396 views

Robot that searches for lights

I use Lego Mindstorms NXT 2.0. I want to schedule my robot to move to where there is light αnd then when it finds it (a large amount of light, for example 80%) to stop and move another motor for 30 ...
2
votes
2answers
386 views

Is the NXT forward compatible with EV3 sensors and motors?

Is it possible to use EV3 sensors and motors with the NXT intelligent brick? I've read that the EV3 is backward compatible with NXT motors and sensors, but does vice versa work as well? Is the NXT ...
2
votes
1answer
1k views

What's the sight of the ultrasonic sensor according to the distance of the object?

Hey I'm programming a sumobot for a first-year university Civil Engineering project. We should need the sight of the ultrasonic sensor according tot the distance of an object. For example, the sensor ...
2
votes
0answers
38 views

MindSqualls - can I connect more than one NXT brick using USB?

To access my NXT brick connected via USB with the MindSqualls library, I do the following: var brick = new McNxtBrick(NxtCommLinkType.USB, 0); The 0 is serialPortNr. If I were to buy a second NXT ...
2
votes
0answers
59 views

Rearing off to the left without telling it to

I've started to build a robot, but when it drives it veers off to the left even though I'm just telling it to go straight. I think I need to do something to the motors but I don't know what or how. I'...
2
votes
0answers
37 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
41 views

How can I read NXT logfiles?

I used the logfile feature to collect light intensity values. How can I get a view to this data? On the NXT brick I only found: "delete" or "send" but not "show". I tried "send" when I had an USB ...
2
votes
0answers
145 views

Reading NXT Touch Sensor with Monobrick Communication Library

In my program, I need to detect if a touch sensor is activated. Here's some of my code: var nxt = new Brick<Sensor, Sensor, Sensor, Sensor>("usb"); nxt.Connection.Open(); nxt.Sensor1 = new ...
2
votes
0answers
587 views

Programming NXT ultrasonic sensor with EV3 software [closed]

How can I program the NXT ultrasonic sensor with EV3 software? When I pick the block for the ultrasonic sensor, it tells me it is not compatible.
2
votes
0answers
255 views

Unable to turn on NXT. Completely Frozen

I recently downloaded a file on my NXT and when I used it, it didn't work. The motors started to make sounds like they were jammed, one stuck and now it won't even turn on. I tried the reset button ...
2
votes
0answers
188 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
91 views

HiTechnic Color Sensor analog

HiTechnic sales support said that HiTechnic color sensor hasn't been manifactured yet. Currently it's out of stock in HiTechnic shop. Is there any analog of this sensor except NXT/EV3 color sensors?
2
votes
0answers
55 views

Block Platform parameter is not instantiated in Simulink

I used Simulink to write a program for LEGO Midstorms NXT. I can post the design if needed. The problem is that when I want to run it on hardware, it gives the following error: Lego mindstorms NXT ...
2
votes
0answers
64 views

How to Return a Motor to a specific value [duplicate]

I've created an arm robot using Mindstrom NXT that can find an object pick it up and move it to an new and random location. My problem is that I would like for the motor to, at the end of the program, ...
2
votes
0answers
329 views

Ideas for large NXT projects [closed]

I currently have 6 NXT sets. Can anyone think of some large scale projects that I could attempt using most of the NXT bricks and pieces together?
2
votes
0answers
67 views

Can you use four movement bricks on one NXT? [duplicate]

Possible Duplicate: How can I use more than three motors with one NXT brick? I want to make a tank out but it needs 4 movement bricks but I only have one NXT. Here are the parts: It can move and ...
1
vote
1answer
123 views

Program for NXT golf robot not looping properly

This is what I made: I will put this robot straight in line with the ball I have to make this robot go forward and once it reaches the ball, I have to make it stop and hit the ball with the swing ...
1
vote
2answers
232 views

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

I have a basic LEGO Mindstorms kit which I wanted to use for testing a very simple object-avoidance project. I am trying to find a relatively simple way to flash the brick and upload scripts to it ...
1
vote
2answers
115 views

Bluetooth Conection PC-NXT1-NXT2

I want to connect, via Bluetooth, one PC with a NXT brick and then have that NXT communicate with another NXT. So I send a message from the PC to NXT1 and have NXT1 send a message to NXT2. Is this ...
1
vote
2answers
597 views

Programming with Lego Mindstorms EV3

I know this question was asked in the past, but I want an up-to-date answer. What is the best way to program with the NXT with a oriented object programming language? Ideally C#, C++ or Java (maybe ...
1
vote
1answer
803 views

Raw RGB data to Color?

I'm trying to convert the raw RGB values from a Colour Sensor into HSL but it doesn't seem to be working: R = rgbn[INPUT_RED]; G = rgbn[INPUT_GREEN]; B = rgbn[INPUT_BLUE]; var_R = ( R/255 ); var_G = ...
1
vote
1answer
60 views

How to connect an NXT brick to the LEGO programmer application on an iPad?

Can you connect a NXT brick to an iPad via either USB cable or bluetooth? For me neither seem to work even though the EV3 brick (and the LEGO programmer application) should be backwards compatible. ...
1
vote
1answer
822 views

How can I connect the LEGO Mindstorms NXT with an iPad?

I'm looking to take advantage of the older generation LEGO Mindstorms NXT robots by developing a companion app for the iPad. I'm aware that non-jailbroken iPads cannot communicate with the robot via ...
1
vote
1answer
53 views

Run an NXT 2 program that will continue until no power is left in batteries

I want to run an NXT 2 program that will continue until no power is left in batteries. I want it to rotate slowly so that a sculpture can be turned for as long as possible. It seems to go for a few ...
1
vote
1answer
162 views

How can I get a replacement of LEGO NXT Green City Challenge Activity Pack CD-Rom?

I purchased the LEGO Mindstorms NXT Green City Challenge Pack on LEGO many years ago. Now, I wanted to use back this challenge pack, but I found that I've lost the CD Rom and the class that I am using ...
1
vote
1answer
67 views

Interface between keyboard and NXT mindstorm

I want to make an NXT program that handles key presses from a user. First, I'd like a message to display asking the user to choose a key on the keyboard (S or M), and then depending on the chosen key ...
1
vote
1answer
759 views

“file error!” appears on nxt why?

I tried to upload this program to my NXT, but for some reason I am not able to run it properly as it terminated with the message file error!. No idea why. I am trying to read a .txt file into a char ...
1
vote
1answer
229 views

Is it possible to use a LEGO NXT ultrasonic sensor for a LEGO train crossing?

I was looking at LEGO NXT components, and I found the ultrasonic sensor. I was wondering that if I put off to the side of the track, the nose of my train would activate the sensor, thus operating the ...
1
vote
1answer
397 views

I can’t run the NXT 1.0 program software on my Mac version 10.6

How do I fix this? I run the install program, restart my computer, go to the “Applications” folder and there is a folder named “LEGO MINDSTORMS NXT”. I open the folder and there are three “options”: a ...
1
vote
0answers
50 views

iNXTG app 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
1answer
82 views

How to send through Bluetooth motor angle position and mirror that position on another motor?

I've built a steering wheel that checks the servomotor position using NXC function - MotorRotationCount(). Now, I want to send that position to second brick using Bluetooth and apply that servomotor ...
1
vote
0answers
257 views

Why can't I install the NXT software?

I just got an Mindstorms EV3 for Christmas, and learned that you can have the NXT communicate with the EV3 in the NXT software. I tried to install the NXT software on my Mac, but all that happens is a ...
1
vote
0answers
818 views

LEGO Mindstorms EV3: Camera recommendation for lane tracking

I am planning to build an autonomous car in LEGO Mindstorms that will use ultrasonic or infrared sensors for collision avoidance and in the future also a camera for line tracking. I am now wondering ...
1
vote
0answers
27 views

Mindstorms nxt screen not lighting up [duplicate]

I just pickup up this set at a garage sale and put in new batteries. The initial start up noises were indicated and there are clicking noises but the screen is not lighting up. Is it broken or do I ...