exxo Posted August 19, 2019 Posted August 19, 2019 Hi. I'm not sure what I'm writing in the right topic, but I’ll ask. I wanted to order powered up (hub with 4 port, L and XL motor) on the bricklink.All L and XL motors that are on sale marked "Not Applicable". Also, one of the available three sellers selling HUB has such a mark.I asked what this means and one answered me: "It means that the motor is only applicable with the powered up battery box andcontroller. Not with the older motor and controller system from lego."Is it possible to connect only the hub with the application for a smartphone and control the engines, or is it necessary to have a lego gamepad to connect to the application? Quote
Lok24 Posted August 19, 2019 Posted August 19, 2019 (edited) Hi @exxo "not applicable" is in the most left column, which means: "no color defined in BL", thats all. There is only application from LEGO, Control+, and yes, that requires only a smart Device (Phone or Tablet) But: the App is designed for the 42099 set, so it only works, if two XL and on L motor are connected to the correct ports. And the motors work with all PoweredUp Hubs. But not with all Apps...... Edited August 19, 2019 by Lok24 Quote
AVCampos Posted August 19, 2019 Posted August 19, 2019 34 minutes ago, exxo said: All L and XL motors that are on sale marked "Not Applicable" Most likely that means the colour. The sellers didn't specify what the motors' colours are. 34 minutes ago, exxo said: Is it possible to connect only the hub with the application for a smartphone and control the engines, or is it necessary to have a lego gamepad to connect to the application? So far, the Control+ hub (I'm assuming that's the one you're referring to, since you wrote it has four ports) can only be controlled by the Control+ app, which, like @Lok24 wrote, only works with the motor configuration of the 42099. However, if you have a phone-compatible gamepad (that connects via USB or Bluetooth), you can use BrickController 2 with any hubs and motors connected in any way you want: Quote
GianCann Posted August 19, 2019 Posted August 19, 2019 (edited) Exploring the LEGO App APK file, i've found several firmware file: Edited August 19, 2019 by GianCann Quote
PF Remote Posted August 19, 2019 Posted August 19, 2019 2 hours ago, GianCann said: Exploring the LEGO App APK file, i've found several firmware file: Hi, I have already posted such firmware files, but do you have an idea how to install them by a command? BTW.: Have you used a decompiler? Quote
exxo Posted August 19, 2019 Posted August 19, 2019 8 hours ago, AVCampos said: @Lok24 However, if you have a phone-compatible gamepad (that connects via USB or Bluetooth), you can use BrickController 2 with any hubs and motors connected in any way you want: Ok, ill try. Also, why wedo 2.0 hub can't connected to powered up app? Program just does not see the hub. Testing on IOS 12.3.1 and android 5.0. Iphone does not even see the bluetooth settings as a new device. Androiв in the bluetooth settings sees, connects, but after about ten seconds the hub itself disconnects. Quote
GianCann Posted August 19, 2019 Posted August 19, 2019 6 hours ago, PF Remote said: , I have already posted such firmware files I'm sorry for the duplicate :( 6 hours ago, PF Remote said: do you have an idea how to install them by a command? No. But i hope in a someone that find the way to do it. Or better, i hope also in a full documentation from TLG. 6 hours ago, PF Remote said: BTW.: Have you used a decompiler? Nope... Quote
GianCann Posted August 23, 2019 Posted August 23, 2019 I have opened the Boost Sensor. This use the STM8S1054K chip with the LQFP32 pinout (8 pin for side) Note: the numbers I write on the cable conform to the image of this post, but on the PCB are inverted. Quote
GianCann Posted August 23, 2019 Posted August 23, 2019 (edited) I try to "play" with the smart hub. I cut a LED cable and i connect the pin 5 & 6 (and gnd) to USB to Serial TTL adapter. After, i connect to smart hub via Bluetooth and send a command to subscribe notification. When plug the cable to smartphone i obtain this message: 0f 00 04 00 01 06 00 00 00 00 00 00 00 00 00 It's a Port Information Message (04), for port A (00), Information mode (01) and capability (06). 06 = 00000110 = Logical Combinable, Input (seen from Hub). I try to send bytes from serial monitor but, obviously, not knowing the "wired" protocol, I was not able to receive any notification on the bluetooth side. I try also to send one byte (and relative checksum) with command 0x81, 0x50 (WriteDirect) but without success. :( Edited August 23, 2019 by GianCann Quote
GianCann Posted August 24, 2019 Posted August 24, 2019 14 hours ago, GianCann said: It's a Port Information Message (04), for port A (00), Information mode (01) and capability (06) I'm sorry... i wrote a wrong thing. This is a "Device attach" message. 01 is "Attach event" 06 is "Device type" (determinate by resistor value). However, if you send a Port Information Request to the Hub, the same message is returned as reply. In this case, 01 is "Information mode and 06 is capability ;) Quote
PF Remote Posted August 26, 2019 Posted August 26, 2019 Hi @GianCann, the frimware stuff is very interesting;) But do you know, how to get the version of the firmware that is installed on the HUB through a command? I know you need to read it but first you have to write a command, so it will be showed in the code that you read? Quote
GianCann Posted August 26, 2019 Posted August 26, 2019 (edited) Che command for request the FW Version is: 0x04 0x00 0x01 0x03 0x05 0x00 0x01 0x03 0x05 Read here to know how to decode response: https://lego.github.io/lego-ble-wireless-protocol-docs/#ver-no Edited August 27, 2019 by GianCann Quote
Lok24 Posted August 27, 2019 Posted August 27, 2019 Hi @PF Remote yes, you have to sent a notification request first char-write-req 000f 0100 And then ask for the FW-Version char-write-req 000e 0500010305 Quote
PF Remote Posted August 30, 2019 Posted August 30, 2019 Hi, thank you very much, I am completly inside programming of my app right now, so I have forgotten to check the forum. But stillI I am testing out how to connect to more than one device, in MIT app inventor it s much easier to do it, than in Android Studio with Java, but the disadvantage of MIT app inventor, that there aren t so many possibilities for changing the design of the app and there are also several other disadvanteges. Quote
GianCann Posted September 3, 2019 Posted September 3, 2019 Which is the best way to check if a motor is stalled? I noted that if block a tacho motor i get a message "port feedback" (0x82) with value 0x2C, and the the current on the relative port is shutdown. The payload of port feedback is a "bit field" and 0x2C in binary is 101100 From LWP documentation: Bit 1: 0x01 Buffer Empty + Command In Progress Bit 2: 0x02 Buffer Empty + Command Completed Bit 3: 0x04 Current Command(s) Discarded Bit 4: 0x08 Idle Bit 5: 0x10 Busy/Full But bit 6???Bit 6: 0x20 ??? Someone have more information? Quote
Philo Posted September 9, 2019 Posted September 9, 2019 A "Powered Up" update of my website... The Powered Up connector Mechanical characteristics, pinout and signal description. The Powered Up serial link protocol An overview of the dialog between Powered Up hubs and "intelligent" devices. Power consumption of LEGO Bluetooth elements Quote
Great Ball Pit Posted September 21, 2019 Posted September 21, 2019 On 9/9/2019 at 11:04 AM, Philo said: A "Powered Up" update of my website... Thank you for the research and information! Quote
Lebostein Posted October 24, 2019 Posted October 24, 2019 It is possible to pair the Train Remote Controler with the Control+ Hub? Quote
Lok24 Posted October 25, 2019 Posted October 25, 2019 (edited) Not yet, but is planned for the future by LEGO. For today there must be something in between like a smartdevice or PC or microcontroller to "translate" the commands from the handheld to the hub (I'm talking about the technic hub, Control+ is the app and more a sign for PoweredUp in the technic theme) Edited October 26, 2019 by Lok24 Quote
Lebostein Posted October 25, 2019 Posted October 25, 2019 Hm... very strange. At the moment I see no option to run a Technic-Motor on the Technic-Hub!! I purchased the Hub and two motors (XL,L) on Bricklink. The Control+App is useless, there is no "Standalone"-Mode to run or configure the motors for an own model or MOC. The App is only useful If you have the Liebherr and all Motors are connected to the provided slots... Quote
Lok24 Posted October 25, 2019 Posted October 25, 2019 (edited) Yes, all correct. With pure LEGO you can use that only as you described. This might be one of the reasons why these parts aren't avaible in the stores and shops yet. But what is strange with that? You can use programs from other sources to use that all. I.E the Brick automation project, Brick Controller 2 or the proramming libraries for different languages. Edited October 25, 2019 by Lok24 Quote
Lebostein Posted October 26, 2019 Posted October 26, 2019 19 hours ago, Lok24 said: Yes, all correct. With pure LEGO you can use that only as you described. This might be one of the reasons why these parts aren't avaible in the stores and shops yet. But what is strange with that? You can use programs from other sources to use that all. I.E the Brick automation project, Brick Controller 2 or the proramming libraries for different languages. That is no argument. They sell these components with a Set and why I should not build my own creations based on these Set? Thanks for the hint with Brick automation. I have never heard of that. I think the reason is I never click on Facebook links during a Google search (I have no Facebook Account) . And it seems the project is presented on Facebook only. Works that with Wine (I use Mac OS and Linux only)? Thanks. Quote
Lok24 Posted October 26, 2019 Posted October 26, 2019 1 minute ago, Lebostein said: That is no argument. They sell these components with a Set and why I should not build my own creations based on these Set? Sure you can do that. But you did not buy a set. And if you don't want to use it with the Control+ App or non-Lego-software you shouldn't buy it. The Brick automation Projekt has nothing to do with facebook? You find it here: https://www.eurobricks.com/forum/index.php?/forums/topic/169318-control-all-your-powered-up-power-function-sbrick-devices-with-a-single-software/ It is designed for Win 10 only. Perhaps it would be easier to help if you describe what you want to do ...... Quote
AVCampos Posted November 1, 2019 Posted November 1, 2019 I've just noticed, on the inside of my C+ hub, what appears to be a rubber button. Could this be used to detect a rechargeable battery, just like on the EV3? Quote
GianCann Posted November 1, 2019 Posted November 1, 2019 4 minutes ago, AVCampos said: Could this be used to detect a rechargeable battery, just like on the EV3? Yes! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.