I have a competition on the 20th and the robot has to be done by Tuesday, any help would be appreciated. Thank You
That is truly an excellent question! Unfortunately, I am not entirely sure of the answer, so therefore I wish you the very best of luck in finding it! Hopefully, there will be someone who knows this! Once again, good luck!
Ive seen people on youtube do this but i dont know how. I am making a car that drives all by its self and i dont want it to fall down stares
I don’t know for sure but it seems logical that if the sensor points downwards and is extended a bit then when over ground it will see darkness but when it starts to go over a drop (the stairs) then it will be opened up for it to detect light.
i am doing a project of making self balancing NXT segway robot using gyro sensor balance on two side way wheels so if any one can know how to integrate the output plz tell me….
There are various forms of integration. Perhaps more important is to state the reason for this. I guess you want a servo system that balances the robot based on the gyro angle and a "set point"..
This type of feedback control is called PID control, short for Proportional Integral Derivative. Sometimes it is called a 3 term controller. This is a large subject, but on the other hand there seems to be web sites that include software that implements such control for NXT Segway robots available. See the links below, and maybe follow further links to find something that suits your setup. You may need floating point arithmetic to make the calculation easier. This type of control is also known as a position servo. I am not sure this is the ideal way to do this, but there are examples that do, so that means it works. PID control is widely used in industrial systems.
The PID type of control relies on the error between the set point and the actual position to move the motor that corrects the position. Proportional control closes on the desired position, slowing as it gets closer to the set point, till the motor stops when the error is small. Integral is used to learn from previous history. It is like manually re-adjusting the set point once the robot is positioned, to get closer to the desired position. Derivative anticipates, by determining the position is close to the set point, so the motor can slow and be ready to stop just before it actually gets there. These controls are usually performed on the error signal, the difference between the required position and the actual position. There will be a setting (constant) for each of these 3 terms, which has to be tuned for best operation, such as fastest settling, minimum overshoot and smallest error.
While the second link uses a light sensor to measure distance for vertical, it is not much to translate to angle from a gyro. The set point is of course the angle that is read when the gizmo is balanced, or maybe slightly off balance will work too, with a lot of jiggling around..
If you want to integrate for some other reason, it might be something like adding all the changes in angle (starting from some reference point) to get the current angle, but I would think the gyro has absolute angle outputs which give the current angle. Integration is often used to find "the area under the curve".
I want to get the new lego nxt 2.0, but im wondering if i should buy the light sensor too if the color sensor doesn’t measure ambient and reflective light like the light sensor.
No, I don’t think it can.
please do relpy
thanks
Without knowing more detailed information about your situation, I’m going to go out on a limb here and guess that it has to do with the programming. If the programming isn’t done right, it might appear that the sensors stop working even though they haven’t lost any functionality.
The best way to test the sensors is to use the factory programmed sensor tests that came pre-loaded on the NXT block. They tell you which sensor to plug in and then give direct feedback from the sensor (by sound or by displaying something on the screen) so you can see whether its working. If you’ve erased all the programs at any time, though, they won’t be on your NXT.
The link below shows you how to test the sound sensor. On the page are links to directions for testing each of the other sensors.
The Lego NXT robot I have only has one light sensor and that’s all that is allowed in the competition and I need to know how to have the light sensor follow a black line when it picks it up.
http://video.google.com/videosearch?hl=en&source=hp&q=How+do+I+make+my+%22Lego+NXT%22+Robot+follow+a+black+line%3F&um=1&ie=UTF-8&ei=W6ENS4DMFIfiML610dAC&sa=X&oi=video_result_group&ct=title&resnum=4&ved=0CBUQqwQwAw#hl=en&source=hp&q=How+do+I+make+my+%22Lego+NXT%22+Robot+follow+a+black+line%3F&um=1&ie=UTF-8&ei=W6ENS4DMFIfiML610dAC&sa=X&oi=video_result_group&ct=title&resnum=4&ved=0CBUQqwQwAw&qvid=How+do+I+make+my+%22Lego+NXT%22+Robot+follow+a+black+line%3F&vid=-4182275806214271950
the sensors of my lego mindstorms nxt kit do not work. i have tried the try me program also but they fail to work. i tried to use them with my friend’s kit and they worked. only the touch sensor works with my kit. what shall i do???
well at the back of the instructions of it there should be a lego part list and there should be a number and call it and say how it doesn’t work and ask if you can get a replacement (if you say that you just bought it that day then it might be free)
Interresting facts with the concept:
- Moving light sensor can replace multiple sensors in theory
- I had to compensate sensor movment backlash from software
- Algorythm 1.0 restricts to the seen top speed
- Corrects course on slide ends, thus it can easily loose path (aka 2 wide samples per second)
Future possible improvements:
- Smaller backlash from hardware
- Automatic backlash calibration
- More intelligent driving algorythm
- Continuous sampling, and path adaptation
- Lost line situation handling
Duration : 0:1:6
Read the rest of this entry »
Technorati Tags: follow, follower, following, LEGO, light, line, mindstroms, moving, NXT, robot, sensor
I am supposed to make a small autonomous hovercraft for engineering class (in college). We decided to have a single styrofoam skirt and use the Lego NXT Set for all the work (sensors, motors, etc). As of now, we will have 2 fans at the back of the hovercraft for thrust. I was wondering, what we could do for turning the hovercraft. We have the following options for turning:
1. Have 2 thrust fans, and turn one of them off to turn in that direction direction (for ex. turn the left one off to turn left).
2. Have 1 small fan each on the front corners of the hovercraft in addition to 2 fixed thrust fans. Turn them on as needed to shift the hovercraft left and right.
3. Use rudders in the thrust fans to steer the hovercraft.
Which one do u think is the most effective way to steer the hovercraft (and why)? I have a feeling #2 might be best b/c it’s like front wheel drive in cars. #1 and #3 are like rear wheel drive, although #3 appears pretty convincing… what do you think?
In #2, the side fans in the front corner would be facing outward (perpendicular to straight motion), not downward. Just wanted to make this clear.
I would stick with the rudders. Although i have no experience in this matter i do consider myself mechanically inclined. i would be led to believe the front fans would be very clumsy. and the dual fans in the back would be to slow to steer. i look at airplanes,blimps and air boats all using a form of a rudder to steer.
Demonstration of the new HiTechnic compass sensor for the NXT, implemented as a south-pointing chariot… on a turntable
Duration : 0:0:38
Read the rest of this entry »
Technorati Tags: compass, HiTechnic, LEGO, NXT, robot, sensor