Instructables

Control Lego NXT with wiimote

Contest Winner
Picture of control Lego NXT with wiimote
Ever want to build your own RC vehicle? Now you can. Your in control of its design, and as simple to use a Legos, because it is Legos. All you need is a Lego NXT, a computer with a Bluetooth dongle, and control software


I am 17 years old.
 
Remove these adsRemove these ads by Signing Up

Step 1: Materials

Picture of Materials
You will need:
*standard NXT kit
*computer with bluetooth
*wiimote

Step 2: Step 1

Picture of step 1
This part is best explained visually. View pictures for guidance.

Step 3: Step 2

Picture of step 2
SSPX0168.jpg
View pictures for guidance.

Step 4: Step 3

Picture of step 3
SSPX0171.jpg
View pictures for guidance.

Step 5: Step 4

Picture of step 4
SSPX0173.jpg
View pictures for guidance.

Step 6: Step 5

Picture of step 5
View pictures for guidance.

Step 7: Step 6

Picture of step 6
SSPX0191.jpg
View pictures for guidance.

Step 8: Step 7

Picture of step 7
View pictures for guidance.

Step 9: Step 8

Picture of step 8
View pictures for guidance.

Step 10: Step 9

Picture of step 9
View pictures for guidance.

Step 11: Step 10

Picture of step 10
View pictures for guidance.

Step 12: Step 11

Picture of step 11
View pictures for guidance.

Step 13: Step 12

Picture of step 12
View pictures for guidance.

Step 14: Step 13

Picture of step 13
View pictures for guidance.

Step 15: Step 14

Picture of step 14
SSPX0184.jpg
View pictures for guidance.

Step 16: Step 15

Picture of step 15
SSPX0186.jpg
SSPX0187.jpg
View pictures for guidance.

Step 17: Step 16

Picture of step 16
View pictures for guidance.

Step 18: Step 17

Picture of step 17
SSPX0190.jpg
View pictures for guidance.

Step 19: Step 18

Picture of step 18
View pictures for guidance.

Step 20: Step 19

Picture of step 19
View pictures for guidance.

Step 21: Step 20

Picture of step 20
SSPX0196.jpg
SSPX0197.jpg
SSPX0198.jpg
View pictures for guidance.

Step 22: Step 21

Picture of step 21
View pictures for guidance.

Step 23: Step 22

Picture of step 22
SSPX0001.jpg
View pictures for guidance.

Step 24: Step 23

Picture of step 23
View pictures for guidance.

Step 25: Step 24

Picture of step 24
View pictures for guidance.

Step 26: Step 25

Picture of step 25
View pictures for guidance.

Step 27: Step 26

Picture of step 26
View pictures for guidance.

Step 28: Step 27

Picture of step 27
View pictures for guidance.

Step 29: Step 28

Picture of step 28
View pictures for guidance.

Step 30: Step 29

Picture of step 29
Plug left cable into port b. The picture is wrong.

Step 31: Step 30

Picture of step 30
Plug the right cable into port c. The picture is wrong.

Step 32: Software

Picture of software
download glovepie from:
http://glovepie.org/glovepie_download.php

download the controller:
http://www.norgesgade14.dk/bluetoothremote.php


 After downloading extract the files.

Step 33: Turn brick on

Picture of turn brick on
IMG_0078.JPG

Step 34: Find Bluetooth

Picture of Find Bluetooth
IMG_0081.JPG
use left and right keys until Bluetooth is centered.

Step 35: Select Bluetooth

Picture of select Bluetooth
Once you find the Bluetooth icon hit the orange button.

Step 36: Find On/Off

Picture of Find On/Off
Use the right and left arrows to find On/Off

Step 37: Turning on Bluetooth

Picture of Turning on Bluetooth
Select On if not already.

Step 38: Finding visibility

Picture of Finding visibility
While in the Bluetooth menu find the visibility icon.

Step 39: Make it visible

Picture of make it visible
Select On if not already selected.

Step 40: Start

Picture of start
click on the orb or hit super on your keyboard.

Step 41: Control

Picture of Control
Start the control panel.

Step 42: Bluetooth

Picture of Bluetooth
double click the Bluetooth icon.

Step 43: Add device

Picture of add device
Select add device from the menu bar.

Step 44: Find device

Picture of Find device
After clicking on add new device a window will open. Other devices than your brick may appear. Wait until your NXT brick is found to double click on it. My bricks name was Sean, so I clicked on it.

Step 45: Pairing

Picture of pairing
A window will open asking for the device's password.
UNDEAD_DC4 months ago

hi nice thanks for this going to try this when i got home.

lil question could it also get to work with the IR camera? and when i paste your code in GlovePie and klick run it just closes without a message

abrown971 year ago
On step 56 what control program are we supposed to open. I successfully downloaded both MonoBrick (which is just two .dll files) and Glove Pie but I cannot run it because d3dx9_33.dll is missing from my computer for some reason. So my main question is what do you mean by open the control program because I am unable to find it.
I did everything. The wii remote is connected with glovepie but nothing happens with the nxt. The nxt is connected with the blue tooth please help?
Robotman_21 year ago
That's pretty cool! It looks like you've essentially used your computer as a "translator" that takes the sensor data from the wii remote and then send out motor commands to the NXT. Nifty!

A great writeup about what the "translator" program is sending down to the NXT over bluetooth can be read here:
http://www.robotappstore.com/Knowledge-Base/Programming-LEGO-NXT-Mindstorms/92.html

This is a great step by step tutorial of how to send down commands to the NXT. Additionally there are a bunch of free apps you can download for your computer and other mobile devices. If you can any questions - post your questions up there!

Hope this helps,
Robotman_2
rolerball2 years ago
What control sofware did you use ?
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!