There is now official documentation for the Bluetooth protocol used by the Powered Up product line:
The community has created some tools to interact directly with Powered Up and Boost hubs. Here is one example:
That tool supports basically every ...
Yes, this is definitely possible! You can connect up to 7 different NXT devices from one computer and one Bluetooth dongle (theoretical limit). I have tested this with the RWTH - Mindstorms NXT Toolbox for MATLAB) successfully with 5 NXTs on Linux and with at least 2 NXTs on Windows.
In real life, it depends on your Bluetooth hardware. Your Bluetooth stack ...
Here are some disassembly pictures and tips.
Either a precision flat-head or Philips screwdriver: There are two flat-head/Phillips hybrid screws that hold the the battery cover down. These two screws do not come completely out the battery cover.
T9 Star Key: There are six T9 star screws. Four on the corners of the housing and two hidden ...
There's a node.js library that can connect to the Move Hub and control attached peripherals:
This should allow you to write scripts and programs that can control the motor from your Mac.
I'm teaching an after school robotics program and the kids are using the LEGO MindStorms Education Core Set #45544. I was dealing with the same situation when I had to connect 10 EV3s to Bluetooth or Wi-Fi and I couldn't distinguish from one EV3 to the next. Anyhow, I figured out how easy it was to give each brick it's own unique identifying name. You want ...
The NXT actually uses IEEE 794 32-bit floating point number format in little endian byte order. I like using this site for conversions.
So, to decode your messages:
TX: 00 09 00 05 60 EA 00 00 00
Byte 0: 0x00 - response required
Byte 1: 0x09 - write message command
Byte 2: 0x00 - Mailbox 1
Byte 3: 0x05 - Message size of 5 bytes
Bytes 4-7: 0x60 0xEA ...
Those answers above do all work. If I were looking for fast speed, I would probably use USB, however if you robot moves around, then bluetooth is probably the best solution (the slowest thing in the loop is the NXT anyhow :P). If your Bluetooth hardware on your computer supports multiple devices, then simply address each associated COM port per device.
The RWTH documentation about initiating connections has a sub-chapter called "Using multiple NXTs" which can be found here: PC to NXT Communication - Using multiple NXTs
The C++ communication from norgesgade14.dk claims to support: "Open and close connections with multiple NXT units" on its overview page.
So it should be possible to do this, though I can't ...
I have got that problem too. And this is a bug in the NXT 2.0 system, So there are two solutions:
1- Using the USB Cable instead of Bluetooth as it give no errors and it is faster also it keeps your battery life for longer time.
2-Update your NXT Firmware frequently as the LEGO may be fixed the problem.
The hidden button under the NXT battery seems to be a reset button, which has to be pressed for 7 seconds to have any effects. I assume it resets the brick in its factory condition, but I didn't find any specific documentation from LEGO on it.
However, there was an issue a few years back which caused the brick to freeze and click permanently (which was ...
I have the same problem with Mountain Lion and Mindstorms that I bought for Christmas. I have discovered the following so far:
This is a known problem that Legos has not taken any action on. I believe it is related to two things: different bluetooth chips and Lion / Mountain Lion OS changes.
The Macs with Broadcom Bluetooth chips supposedly will ...
You can use any programming language you like to remotely control the NXT provided that it can access a serial port of your computer. The Bluetooth connection on the NXT provides a virtual serial port. You can see this by opening "Devices and Printers" and double-clicking on the NXT (provided that you have already paired it). Then have a look at the "...
Also - check what device you are working with. I know the iPhone doesn't recognize the NXT because it's not an "officially supported" Bluetooth device. The only way to get your iPhone or iPod to work is to "jailbreak" them. I'm not too sure if this extrapolates to all apple products either.
I would agree with the user above. Revert to the original ...
I assume you've tried this, but hopefully it will help someone. Make sure that your computer has been added to the brick's trusted devices and your brick has been added to your computer's trusted devices. I haven't got the link to work with "anonymous" devices before; you need to go through the process of entering the PIN.
LEGO's Bluetooth support page has a limited amount of support for Bluetooth errors. It mentions further Bluetooth support can be found in the user guide on:
Pages 36-45 for NXT 2.0
Pages 28-37 for NXT 1.0
Where can I find instruction booklets?
You may also get in contact with LEGO's customer support.
Looking at the stack trace in the exception you've posted, the error seems to be coming from a call to RemoteEV3.createRegulatedMotor:
at lejos.remote.ev3.RemoteEV3.createRegulatedMotor(Unknown Source)
After that it's just going through the motions to try and open a port on a remote device...
Having a ...
There are many possible ways of doing this. I am a contributor to the ev3dev project, so I am a bit biased in that direction.
To do this with ev3dev, I would install the nxt-python package on the EV3 and use it to remote control the NXT.
If you want to stick with the standard firmware, another possibility would be to relay bluetooth mailbox messages ...
Maybe you should look into using a multiplexer to add additional sensors to an NXT brick.
The Hitechnic Sensor Multiplexer lets you connect 4 sensors using only 1 of the NXT connection.
The same thing can be done with motors. For example using the Mindsensors NXTMMX, you can add 2 additional motors per multiplexer (even better, if you daisy-chain the ...
There is always the .NET API for Windows 8/ if you don't mind programming an app yourself (this would work for Windows/Windows Phone 8). The sample provided would allow you to control the individual ports of the brick but it doesn't take much to change this to control multiple ports from one button press.
Sadly this ...
According to the online documentation, Bluetooth commands are supported for NXT but not for EV3.
On the other hand RobotC is supporting Bluetooth upload/debugging. This means that it is accessible. My first instinct would be to look at how RobotC did it (if the code is available). My second instinct would be to find if somebody already hacked the EV3 ...
Here's something in NXC and python that routes from NXT1 to NXT2 through the PC; emulating a non-master/slave config between all three devices. Has the added benefit of a seamless pairing method.
It could be helpful to give a little more detail (what languages you are using, what direction(s) of communication ...
Bluetooth communication from the Mac to the EV3 is done using RFCOMM. This means that the EV3 appears as a serial port on the Mac. Namely /dev/tty.EV3-SerialPort. To send and receive messages from the EV3, you read and write to this virtual file. Bluetooth will show as "connected" as soon as you open this file. You can find some code examples here.
As far as I know, this is not possible using the current stock firmware. The battery box can only pair with one device. The UI on the battery box is a single button, and for simplicity the device is either in a mode where it is looking for a device to pair with (flashing light) or already paired (solid light). There isn't a way to pair it with another device ...
You can remotely start and stop programs from the NXT software. So create a simple program that just has a few display blocks and an empty loop at the end to keep the program from stopping then run the program.
Yes, it sounds like it does not like your Bluetooth for some reason. Usually, there is a physical switch on laptops that let you disable bluetooth. If there is not a physical switch, there should be a way to do it via software, either via the bluetooth notification tray icon or special Bluetooth software that came with the laptop.
Try turning off/disabling ...