Tuesday, December 11, 2012

The way to Control a Mindstorm That has a Wii Remote

Lego Mindstorms NXT are programmable robotics kits first released by Lego in 2006. You'll be able to overcome your Lego Mindstorms kit having a remote through the Nintendo dsi gaming system. By connecting both Wii Remote as well as the NXT for a computer via Bluetooth, you can use the GlovePIE and OnBrick software to program your Wii remote to regulate the Mindstorms system. After some tinkering, it will be easy to impress your buddies by controlling your Mindstorms system using your Wii remote.



Download Software

1. Download and put in a Bluetooth program including BlueSoleil, Bluetooth Linux or Mobile Witch Bluetooth Remote device.

2. Download the GlovePIE and OnBrick software for programming your Wii remote and NXT (see Helpful information on links).

3. Double-click on the desktop icon to perform it.

Connect the Wiimote and Mindstorms on your Computer

4. Click the "Hunt for Devices" button to teach the program find a new Bluetooth device. Click on the "Next" button to start with searching. While doing so, press from the small red sync button in the rear of your Wii remote ( http://www.vdealbox.com/wii-accessories/wii-controller.html ). Maybe you have to get rid of the spine for easier access.

5. Get the Wii remote titled "Nintendo RVL-CNT-01" or possibly a similar title. Pick the remote and while holding in the sync button again, right-click and select "Connect As Human Interface Device."

6. Navigate to "Bluetooth" within the Mindstorm NXT menu and press "Search." The NXT should locate your pc. Decide on a port then find the choice hunt for Bluetooth devices from a computer.

7. Produce a passcode for the NXT when prompted. Choose a simple sequence of numbers. Go into the passcode into your pc when prompted from the Bluetooth software. Click "OK" to get in touch your laptop towards Mindstorm NXT. Follow the onscreen instructions to try and do the task.

Program the wii controller and NXT

8. Run GlovePIE by double-hitting the desktop icon.

9. Copy and paste the subsequent script to the GlovePIE software: Leds = 9 Key.F1 = Wiimote1.Left Key.F2 = Wiimote1.Right Key.F3 = Wiimote1.Up Key.F4 = Wiimote1.Down Key.F5 = Wiimote1. Click "Run" as well as the first and fourth lights on the wii controllers should illume.

10. Run OnBrick and click the therapy lamp titled "Left," then go through the "Motor" tab. Alter the "ZigZag" box to motor A forward 30 degrees by clicking "Clear All" then selecting the 1st blue "A" symbol, then clicking the plus and minus symbols beside where it says "A forward degrees" until the value is 30. Click "OK" to continue. Click the box titled "Tune" whilst in the "Motor" tab click "Clear All" and adjust the value from the second blue A box to "A backward 30 degrees" when using the plus and minus arrows.

11. Repeat the procedure with the "Bump" box changing the motor value for motor B ( the initial blue B symbol) to "B forward 30 degrees" remembering to decide on "Clear All prior to making the adjustments." Do identical for your "Object" box changing the motor value for motor B (the other blue B symbol) to "B backward 30 degrees." Alter the "Circle" box to motor C (the 1st blue C symbol) "C forward 50 degrees."

12. Demand "Coms" tab and affect the port on the port you selected when connecting your NXT for a computer. Click "Open" for connecting towards NXT. Run GovePIE and then click around the OnBrick Window. The wii nunchuck should now control the NXT. Utilize directional pad to go plus the "A" button to fireplace the motor.

No comments:

Post a Comment