Nxt controller program


















Stay informed about special deals, the latest products, events, and more from Microsoft Store. Available to United States residents. By clicking sign up, I agree that I would like information, tips, and offers about Microsoft Store and other Microsoft products and services.

Privacy Statement. NXT Simple Remote. See System Requirements. Available on PC Mobile device. Show More. People also like. WinDroid Lollipop Free. Windows Insider Free. Xender Free. Microsoft Authenticator Free. Update Central Free. Firmware Update Check - Update assistant for legacy Win.

Additional information Published by Ferdinand Stueckler. Published by Ferdinand Stueckler. Copyright Ferdinand Stueckler.

Developed by Ferdinand Stueckler. See the Challenges section at the end of the building instructions for details.

Hold the axle in with one finger to keep it from falling out. Insert the thumb control plate over the axle angled beams pointing up , and secure it with the bushing as shown below. Push the thumb plate back and forth to make space to put the two rubber pieces on each side as shown below. The rubber pieces are used to push the thumb control back to the center position when you let go.

If you think that this makes the thumb control too hard to push, you can remove them and keep the control centered manually with your thumb when necessary. Make sure that the light sensor is centered over the gray beam in the center of the thumb plate when the thumb control is centered, as shown below.

Use the two longest wires to connect the light sensor to port 3 and the touch sensor to port 4 on the NXT. This wire clip will help keep the two wires organized and reduce tangling. This program could also be used along with the controller built in this project to control other robots that you create.

See the Challenges section below for details. Using the Game Controller. Once you have completed the three calibration steps, you are ready to drive. Driving works as follows:. When the touch sensor button is pressed and held down, the robot will drive forward and the left thumb plate will steer the robot left and right while it is driving. The more you move the thumb plate, the sharper turn the robot will make.

When the touch sensor is not pressed, the thumb plate will pivot the robot left and right in place. The more you move the thumb plate, the faster the pivot movement will be. While driving, the NXT display will draw a center line and a moving circle to indicate the position of the thumb plate, and display the word "Pressed" whenever the touch sensor button is held down. How the Controller Works.

When the left thumb plate is centered, the sensor sees the gray beam. When the thumb plate is all the way to the left, the sensor sees the white beams. When the thumb plate is all the way to the right, the sensor sees the black rubber pieces. When the thumb plate is moved slightly to either side, the sensor sees a mixture of two colors, which will give intermediate values between the ends. The Game Control program is long and complex and contains a lot of Math blocks to calculate various numbers that are needed to make the light sensor work as an "analog" steering control.

If you are getting good at NXT programming, try looking at this program and reading the comments to see if you can understand how any parts of it work. Don't worry if you don't understand how the calculations with the Math blocks work, just take a look at the other parts. The Game Control program along with the controller built in this project can be used to control other two-motor driving robots that you design and create yourself. Try building another robot to control with it.

Here is what you will need to do: Your robot should have two motors used to power it, with the motor connected to port B on the left side of the robot and the motor connected to port C on the right side. As in building step 22 above, connect the wire that leads to the light sensor of the game controller to port 3 on the NXT and the wire leading to the touch sensor to port 4. Use the Game Control program and try it out. If your robot goes backwards instead of forwards when the touch sensor is pressed, here are four different ways to fix it choose only one : Turn the NXT brick around on your robot so that the whole robot faces the other way this is probably the easiest fix , or Rebuild your robot so that the motors are upside-down from the way they were, or Rebuild your robot so that the motors are turned around front-to-back from the way they were, or Modify the Game Control program to change the Move blocks to go the other direction.



0コメント

  • 1000 / 1000