Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 3631

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.

2 votes

NXT brick not executing programs correctly

It could be at the microprocessor level, meaning that the execution of the program is wrong, or it could be at the motor driver port, meaning that the NXT tries to drive the motor attached to the specific …
zovits's user avatar
  • 17.3k
2 votes

How to program light sensor to follow moving light using NXT

If I were you, I'd make it this way: The leader robot has a very bright light shining backwards, but not in a tight beam, rather a wide cone, so it can be seen from the back easily. The follower rob …
zovits's user avatar
  • 17.3k
1 vote

How to turn the NXT at an angle with NXC

This depends on the exact configuration of your robot, including but not limited to the distance between the wheels (if it's a differential drive robot), the diameters of the wheels, the gearing (if a …
zovits's user avatar
  • 17.3k
4 votes
Accepted

fgetc() moves pointer one step forward

The most basic solution would be to store the character read by fgetc, for example, instead of: if(!isspace(fgetc(handle))) you'd write: char val = fgetc(handle); if(!isspace(val)) This way if t …
zovits's user avatar
  • 17.3k
1 vote

"File error!" appears on NXT, but why?

Most probably the problem is that the array is declared, but not initialized. The program does not know how much memory to allocate for this specific array and therefore there is no available storage …
zovits's user avatar
  • 17.3k
2 votes
Accepted

Programming with Lego Mindstorms EV3

When we did NXT programming in university we used NXC (http://bricxcc.sourceforge.net/nbc/) as our primary language. … This is a C-stlye language, not exactly object-oriented, but seeing that NXT programming is practically equivalent to microcontroller programming, C is much better suited to this task in my opinion. …
zovits's user avatar
  • 17.3k
2 votes

Finding certain positions in a room?

There are a few different but related problems here. Position Your robot should be able to know where it is in the room. This can be achieved in a few ways: Using the ultrasonic sensor as a sonar, …
zovits's user avatar
  • 17.3k
0 votes

Return a robot to its start position?

For code references see these resources: http://social.msdn.microsoft.com/Forums/en-US/100f8d4a-df1c-49b8-9dea-b01948b06def/lego-nxt-motor-encoder-updates? … forum=roboticstroubleshooting http://www.lejos.org/nxt/nxj/tutorial/AdvancedTopics/Advanced_Hardware.htm …
zovits's user avatar
  • 17.3k
15 votes
Accepted

How can I make a precise one-way clutch using Technic elements?

Would this solve your problem? Depending on the direction of the input, only one axle will turn.
zovits's user avatar
  • 17.3k