Search found 26 matches

by dad-and-adam
28 Dec 2010, 11:46
Forum: Robot Building
Topic: NXT Newbie needs lots of help with Tilted Twister!
Replies: 3
Views: 7348

Re: NXT Newbie needs lots of help with Tilted Twister!

Hi,
I don't have experience with the Tilted Twister but have a suggestion.
Is there a way to verify that the sensor is initially detecting the correct colors?

Dave
by dad-and-adam
26 Dec 2010, 13:02
Forum: Mindstorms Hardware
Topic: Ultrasonic verses infrared distance sensor comparison
Replies: 7
Views: 13097

Re: Ultrasonic verses infrared distance sensor comparison

Hi, I have the DIST-Nx-Long-v2. It's range is from 300 to 1400 mm. Its the longest range IR sensor offered by MindSensors. -It's only a probelm if a person wants to measure something farther away than 140 cm (55 inches). It was holes for mounting to lego connectors and uses the standard NXT cable an...
by dad-and-adam
25 Dec 2010, 11:30
Forum: Mindstorms Hardware
Topic: Ultrasonic verses infrared distance sensor comparison
Replies: 7
Views: 13097

Re: Ultrasonic verses infrared distance sensor comparison

Merry Christmas, The sensor's center of rotation was at X, Y coordinaters of 0,0. The scan was started at 90 degrees left (pointed along the negative X axis) and went to 90 degrees right (pointed along the positive X axis). The sensor would rotate and stop in two degree increments. After being stopp...
by dad-and-adam
24 Dec 2010, 14:41
Forum: Mindstorms Software
Topic: Cosine function
Replies: 14
Views: 17322

Re: Cosine function

Yes. the ultrasonic sensor "sees" the nearest object in a fairly wide field of view. One technique is the rotate the sensor to find directions where the distance value increases significantly. The obect is then assumed to be the average of those directions. -This only works is there are no...
by dad-and-adam
24 Dec 2010, 13:49
Forum: Mindstorms Hardware
Topic: Ultrasonic verses infrared distance sensor comparison
Replies: 7
Views: 13097

Ultrasonic verses infrared distance sensor comparison

Hello, A while ago I did a comparision test of an ultrasonic and infrared distance sensors. Each sensor was mounted to an NXT device about 30 inches from a wall. One test was done with the wall only. Another test was done with a rectangular block of wood about 10 inches away from the wall and 20 inc...
by dad-and-adam
24 Dec 2010, 12:23
Forum: Mindstorms Software
Topic: Cosine function
Replies: 14
Views: 17322

Re: Cosine function

(We're quite struggling with the ultralight sensor because it seems to measure the distance in a fairly wide range instead of one line straight forward.) I'm assuming you meant ultrasonic sensor. An infrared distance sensor (such as sold by MindSensors) has a very narrow "field of view". ...
by dad-and-adam
23 Dec 2010, 00:41
Forum: Mindstorms Projects
Topic: Lego Mindstorms NXT working on solar energy
Replies: 15
Views: 22520

Re: Lego Mindstorms NXT working on solar energy

Wow. You have made a lot of progress in one day.
Have you been able to test the program? Does it accomplish the desired task?

Dave
by dad-and-adam
21 Dec 2010, 16:38
Forum: Mindstorms Projects
Topic: Lego Mindstorms NXT working on solar energy
Replies: 15
Views: 22520

Re: Lego Mindstorms NXT working on solar energy

Hi,
There is an excellent NXT-G tutorial at http://www.ortop.org/NXT_Tutorial/
It covers a lot a basics like reading sensor values and how to have the program make decisions. That tutorial may help you get further along. Let us know if you are still stuck.

Dave
by dad-and-adam
21 Dec 2010, 16:30
Forum: Mindstorms Software
Topic: Cosine function
Replies: 14
Views: 17322

Re: Cosine function

I'm only a little familiar with C. In NXC, for cos() or cosd() to work, must a header file be used? Something like #include <math.h> before the task main. If so, perhaps the include line or math.h is missing. Or maybe something is wrong with the "math.h" file. Could that be the problem? Dave
by dad-and-adam
21 Dec 2010, 15:43
Forum: Mindstorms Projects
Topic: Lego Mindstorms NXT working on solar energy
Replies: 15
Views: 22520

Re: Lego Mindstorms NXT working on solar energy

"Have you been able to determine what small steps are needed to lead to the final solution?" You mean, how to program it or? Before programming, it must be known what is desired. So a list of small steps generally comes first, and then programming is done to accomplish each step. Each ste...