Mindstorms Nxt
Welcome to my robot page
Nxt segway
This is my second bot, it is an improved and modified version of the original design, found on nxtprograms.com
First, build the design on nxt programs.com for whichever version of the nxt are using.
Watch the first 2 minutes of this video, basically, the version 2 on the website has just been modified for my needs using the larger tyres and the controller on the computer called nxt vehicle remote.
I cannot present any actual instructions as the robot has been disassembled, but it should be relatively simple to extend the existing 'person' on the Segway in the video using some extra gears, if this isn't possible then don't worry too much. Believe it or not, the two versions of the Segway are actually
very similar so it doesn't actually matter that much. Hardware wise, you would be better to use my version of the program as it averages the values to begin with.
download the program here:
Segway
any problems just e-mail me ron.earth@gmail.com
"When the robot shakes and oscillates, this is because the response is too high (over-correcting), probably because of the larger wheels. To fix this, start by decreasing the Kp gain (value set in the variable write at the beginning of the program). If Kp gets too low, it will eventually under-correct and just steadily fall in one direction, so you can try to zero in on a value that way. Adjusting the other two gains is trickier. Small increases in Ki will allow it to recover from bigger disturbances, but too high and it will quickly become unstable. Increasing Kd may smooth out over-corrections brought on by increasing Ki, but can also lead to instability. So most of your adjustment should be to Kp. Note that the Bluetooth version of the program needs higher gains because the control loop executes slower due to the additional work.
I posted my NXT 1 version yesterday with my re-tuned versions, so you can look at the values I used there. If you use larger tires, you will want to decrease all of the gains proportionally to the difference in tire size.
Dave Parker
Nxt game player
This is my first bot, it can type keys on a keyboard (up, down, left and right arrows) to control a game.
Instructions - When connecting the arm and the base make sure the small cog is pushed in (see image below)
(Using the robot on carpet is best)
These instructions are from Lego Digital Designer (free)
Program - I have tried to expalin the first program to show how it works and show to loops so you can create your own program.
Instructions:
arrowkeygameplayer.lxf (ldd)
Program:
bloxorzl1.rbt (From bloxorz Bloxorz - Level 1)
bloxorzl2.rbt
bloxorzl3.rbt
Have a go at no 4, first write down the keys eg u,l,u,l,l etc on paper then change level 1 to work for the game you want or level 4+
(click to enlarge)