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
3
votes
1answer
500 views

What are the memory requirements of EV3-G software blocks running on NXT bricks?

The NXT brick has about 130K memory available for user programs. With the newer firmware required for downloading EV3-G programs that memory has been reduced to 118K. How much memory is used by the ...
3
votes
2answers
664 views

NXT shuts down in 5 minutes

I have an NXT brick that will always shut down after 5 minutes. No, it is not the sleep timer. Documentation from the NXT Hardware SDK, page 17, states that if the ARM7 processor does not send back ...
3
votes
1answer
487 views

No response when controlling the Mindstorms EV3 brick over Bluetooth

I am trying to control the EV3 using direct commands over a Bluetooth connection. There are no issues pairing the brick with a PC or phone, and opening the serial connection works fine, but sending a ...
2
votes
1answer
396 views

List of parts to buy for to “upgrade” existing Mindstorms NXT 1.0 to Mindstorms EV3 set?

Is there a list of parts available I need to buy to "upgrade" an existing Mindstorms NXT 1.0 (8527) set to a Mindstorms EV3 set?
2
votes
2answers
483 views

How to use the ultrasonic sensor on mindstorm NXT

I've been struggling for some time on this. I'm trying to code the robot to move when the distance is above a certain integer and stop when the distance becomes lower than the certain integer. I'm ...
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
566 views

Lego Mindstorms education NXT 9797 software for a MacBook Air [duplicate]

Where can I find Mac OS compatible software for the Lego Mindstorms Education NXT Base set (9797)?
2
votes
4answers
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
118 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
2answers
626 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 ...
2
votes
3answers
618 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
920 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
125 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
207 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
432 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
1answer
412 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
752 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
122 views

how to send direct command to ev3 brick

I am new to ev3 python but am working on a project. I was reading about NXT-python that " It works by sending the direct commands detailed in LEGO's "Blue-tooth Development Kit" to the NXT brick" I ...
2
votes
1answer
94 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
1answer
55 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
1answer
784 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 ...
2
votes
3answers
5k 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
120 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
398 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
399 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
343 views

Why can't I install the NXT software on macOS High Sierra?

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 ...
2
votes
0answers
38 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
155 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
760 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
302 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
196 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
93 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
56 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
68 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
165 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
358 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
120 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
1answer
845 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
132 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
1k 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
54 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
169 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
71 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
251 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 ...