15

There is now official documentation for the Bluetooth protocol used by the Powered Up product line: https://github.com/LEGO/lego-ble-wireless-protocol-docs The community has created some tools to interact directly with Powered Up and Boost hubs. Here is one example: https://github.com/nathankellenicki/node-poweredup That tool supports basically every ...


13

Here are some disassembly pictures and tips. Tools needed: 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 ...


7

There's a node.js library that can connect to the Move Hub and control attached peripherals: https://github.com/nathankellenicki/node-poweredup This should allow you to write scripts and programs that can control the motor from your Mac.


6

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 ...


6

Official docs: https://lego.github.io/lego-ble-wireless-protocol-docs/ https://github.com/LEGO/lego-ble-wireless-protocol-docs Discussion: https://www.eurobricks.com/forum/index.php?/forums/topic/162288-powered-up-a-tear-down/&page=3 Inofficial modules: NodeJS: https://github.com/nathankellenicki/node-poweredup Python: https://pypi.org/project/...


5

No, the Robot Commander app downloads and runs a program on your EV3. If you already have a program running, it will be stopped and the program downloaded by the commander app will run instead.


5

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 ...


4

I was able to remove the screws properly with a Torx T9 screwdriver from our Duplo Train Push & Go Motor (28743).


3

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. ...


3

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.


3

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 ...


3

Carl, 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 ...


3

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 ...


3

Based on the answer to this question and some experiments with other hubs and other motors today (Boost hub + Boost motor + small PoweredUp hub), it seems that the WeDo motors really lack any ability beyond "Run with power X". Given that the WeDo motor is the same model that is built into the Bat Mobile, I would expect that the PoweredUp app would ...


2

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 "...


2

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 ...


2

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) at test_bluetooth.Bluetooth.main(Bluetooth.java:186) After that, it's just going through the motions to try and open a port on a remote device... From ...


2

Communicating with the NXT from the LEGO MINDSTORMS EV3 software is not supported. From http://www.lego.com/en-us/mindstorms/support/faq/: 3.10 Is the LEGO® MINDSTORMS® EV3 Home Edition Software backward-compatible with NXT Hardware? Yes. You can program your NXT Intelligent Brick using the new LEGO MINDSTORMS EV3 Home Edition Software. However, not all ...


2

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 ...


2

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 ...


2

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. https://github.com/BrianPeek/legoev3 Sadly this ...


2

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 ...


2

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.


2

The MonoBrick C++ library that you linked is for NXT, not EV3. You can find the MonoBrick C# Library for EV3 here. It works with USB, Bluetooth and Wi-Fi and can manipulate files.


2

There is an Android app called EV3 mailbox that can send messages to the EV3 brick. You can trigger your program to run in different ways by sending out different mailbox messages.


2

https://bitbucket.org/Thad_Hughes/cortex/src 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 ...


1

You can find some information on I2C in FPGAs on fpga4fun. There are lots of I2C cores on OpenCores, too. The biggest challenge would be how to connect your FPGA to the peripherals. My advice is to get a tiny development board like this one, and then you need to supply power to it, but this can be battery-powered since FPGAs are typically low-powered. You ...


1

You will not be able to do this with the official LEGO firmware, but it will be possible with ev3dev or possibly another 3rd-party OS for EV3. Search the web for "linux bluetooth hid emulation". There are plenty of examples. I haven't tried any of them, so I can't recommend any specific one here. I can recommend using the python programming language with ...


1

You should always be using the latest firmware. If you have an EV3 brick that was produced in mid 2015 or later, it may have a newer Bluetooth chip that requires firmware v1.07 or higher. See https://bricks.stackexchange.com/a/7237/3498 for an unofficial firmware changelog. If updating the firmware does not fix the problem then the name of the comm port ...


1

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.


Only top voted, non community-wiki answers of a minimum length are eligible