Jump to content

Lok24

Eurobricks Counts
  • Posts

    1,240
  • Joined

  • Last visited

Everything posted by Lok24

  1. And, additionally: The Boost Motor does the same, it's set 0 if programm starts The EV3 Motor has no absolute position, but you can "run until stalled".
  2. The limitation in the firmware is there when connecting(!) to the control+ App, so it might be possible that these routines also influence other connection methods in any way. Just send the two commands: char-write-req 000f 0100 char-write-req 000e 0500010305
  3. Hi, thanks for your response. 1.) All Hubs can be scannend and connected, LED is on, IP-Adress is shown in app . 2.) All Hubs show same behaviour: - If they work with slider under "device", they work with gampad too. - If they don't work with slider under "device", the don't work with gamped as well. 3.) Technic Hub: I was wrong, it doesn't need three motors, but two XL on A+B. Otherwise (A only) it does't work (no slider, no gamepad) Removing B-Motor: no reaction an A any more. But: it needs the motors connected when connecting it to the LEGO Control+ App, so there might be some issues in the FW of the Hub concerning that. 4.) Smart Hub is scanned and found, connected, but Sliders and gamepad show no reaction with any motor (Boost, train) 5.) They all work with my raspberryPi, a python program and are all simultaniously controlled be the LEGO PU Handheld 6.) No WeDo Motor supported? It should work with the same command? 7.) Here's the same, if I understand correctly: https://github.com/imurvai/brickcontroller2/issues/8
  4. Hi, sorry, it's still not working, V 1.7. FW: 3x Smart Hub 1.1.00.0004 2x Move Hub 2.0.00.0017 1xTechnic Hub 1.0.00.0020 Technic Hub only works porperly if three motors according to 42099 are attached, but this is ssurely port of the FW. With all SBrick, Move Hub and technic Hub all motors can be controlled in the "device" section. With all three Smart Hubs no motor at all (WeDo, Boost, Train) can be controlled in the "device" section. Strange!
  5. Hi, I only took the photo from tutorial, as I wrote, to show in which screen I am. I got no Buwizz at all But: today I enforced some FW-Upgrades, and it seems that it's better now. Move Hub, Technic Hub and SBrick seem to wok, Smart Hub No 4 not yet, what FW would you expect there? But I'll have to investigate tomorrow, today I want to finish the new "Controller" function in the PoweredUp App Thanks for today, I'll report if any probs.
  6. 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
  7. Yes. I'm in that screen (Picture taken from tutorial): But adding them to a creation doesn't move anything except SBrick, too
  8. Yes, thanks, works fine. The other problem is worse: Only SBrick works when using the sliders, none of LEGO Hubs(smart, technic, move) Why? Any ideas?
  9. Thanks, " That's one small step for a man"..... Now controller test works, and I can add the devices. But: only SBrick works when using the sliders, none of LEGO Hubs(smart, technic, move) Why? Any ideas? Defining Creations: a name is required, but no keybord appears when game contoller is connected? Ah, have to disconnect controllerto do this... I' m lost, any help is welccome.
  10. Hi all, got a game controller called TRAMANI CT-BT3000, connected to my tablet, but controller-test shows no reaction at all. What does work is that with 1 and 3 I can adjust volume of the tablet. So it seems to work and is connect. What else can I check?
  11. 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......
  12. Hi @PF Remote 1.) a pair of leds connected to Port B of Smart Hub (port A is the motor) 2.) Yes, to enable the user to drive two engines independet / simultaniously without connecting/disconnecting I know very many people who are looking for this. Button A,B,C,D to connect to a Hub,or, if already connected, send command to this hub Good luck for your interesting project!
  13. Hi @PF Remote What is urgently needed: - for Android 5 and above - Slider to set speed (for 1 motor , 2 on a hub, 2 on different hubs, reverse one) with every type of motor - hold speed when not touched (optional) - Button to turn on LED (on same hub) - switch to support 2-5 locos - stop when BT is lost (optional) So: Something simple!
  14. Assume you have a program that "translates" the commands of a LEGO Handheld 88010 to a Smart Hub. (I showed many examples here and had that with me on exhibitions, similar to your app) If you stop the program it takes approximately two seconds, and handheld and Smart Hub are paired! Which in my case disallows to restart the program, cause devices are busy..
  15. Hi, disconnect should be char-write-cmd 0x0b 04000201 Perhaps you look at the js-project of @Mr Hobbles or the documentation of @treczoks, both found here
  16. As far as I now there is no method, the process is started automatically, obviously when number is higher than the one installed on the hub. And cannot be avoided!
  17. You can add a 88010 Handset and assign the machines etc to the buttons. Last exhibition I had one(!) handset, two locos and six PF motors for switches, crossing and signals with me, all driven by BAP (with the assigment of MAC, as shown above)
  18. Yes, that's what I understood. But you traced the commands, so I hoped you see what it does..... LabView for EV3 doesn't have such a command neither, but if you look at Micropython for EV3: stalled() // Check whether the motor is currently stalled. or even better: run_until_stalled(speed, stop_type=Stop.COAST, duty_limit=default) Spooky!
  19. Thanks alot, I always wondered how that works with the head of vernie (boost) when starting the app. Is there a command "run 20 for 1 sec" or is there a sequence "run 20 / if motor stalled / Stop"? The second would really be great because you can calibrate your modell without sensors (or better: the motors work as sensors then). I tested that with the new EV3 and it really works fine.
  20. Hi all, Technic Hub and motors work without any problems, but hub shows no sliders. Attached one L and on XL , within code you can use them easily
  21. Hi all, first of all: I really appreaciate the idea of @Cosmik42 to built a tool that is easy to handle without any knowledge of MAC-addresses or other special skills. But as discussed, in some cases it might be useful to to assign the addresses and dedicate them to specific hubs. Please find the global code for such a scenario below. All Objects are defined first, then the dedicated MAC-Adresses. (Please feel free to do this in C# lists, it's just to show how it works) After that we have "start", which does all the work. So you have to insert in every event code the command start(Hub); Thanks for your interest. And many thanks to Vincent for that really useful software // define the Hubs public static Hub Lok1; public static Hub Lok2; public static Hub Handset; // define the addresses public static string Lok1_adr = "00:16:53:af:77:c3"; public static string Lok2_adr = "90:84:2b:10:79:0a"; public static string Handset_adr = "a4:34:f1:ce:5c:45"; // ----start---------------------------- static void start(List<LegoTrainProject.Hub> HubList) { // Show all Device-IDs log("All Device-IDs"); log("-------------------"); for (int i=0;i<HubList.Count;i++) { log(HubList[i].DeviceId); } // Show all Conncted and assigned Hubs log("Assigned Hubs"); log("-------------------"); for (int i=0;i<HubList.Count;i++) { if (HubList[i].IsConnected) { int p = HubList[i].DeviceId.IndexOf("-")+1; string MacAdr = HubList[i].DeviceId.Substring(p); string name = "Not assigned"; if (MacAdr==Lok1_adr){Lok1 = HubList[i];name="Lok1"; } if (MacAdr==Lok2_adr){Lok2 = HubList[i];name="Lok2";;} if (MacAdr==Handset_adr){Handset = HubList[i];name="Handset";} log(String.Concat(name, " " , MacAdr, " from Hub No "),i); } } log("-------------------"); } // ---Log----------------------------- static void log(string a="", int i = 99999) { if (i == 99999) { MainBoard.WriteLine(a); } else { string tt = Convert.ToString(i); MainBoard.WriteLine(a+ " "+ tt); } }
  22. And, as another plus: you have a dashbord showing what happens, that's really helpful. Connection between Handheld, BAP and Hubs is fine, as well. What I didn't find out yet: - if you can read the angle of a motor using "raw value" - how to access the Hub-List via global code - use a project on another PC But my konwledge of C# is near to zero....
  23. Yes. the account is my wife's account....I use it for my MOCs... Yes, first version was funny too, but my models are always build for a specific purpose and exhibition, thats the reason for the differences.
  24. Hi, the model you mention above is mine as well and was presented in this forum by me here in 2015: baywa-warehouse-and-working-fork-lifter and the technical details: Technic There are some differences: The small one from BayWa is completely automated, but has no function. The new one is a little bigger, is controlled completely manually and has the function to tilt the fork and therefore looks very naturally. And the load may be heavier. It was designed and build for an exhibition in June where a complete layout was remote-controlled, but all manually switched via one(!) a PoweredUp handheld, including 2 locos, crossing, signal, switches. spill, fork lifter via the EV3 remote-control, visitors could play with it, turntable manually Freight was handled via a card system similar to FREMO
  25. Not at all, my Raspberry/python uses the PoweredUp handheld to control two locos with powerdeUp Smart Hub and 6 PF-Motors on two SBricks (switches, signal, crossing), all with only one handheld. I posted pictures here some time ago. There are no restrictions at all, all protocolls are public. Last exhibition in June I had that with me. That was my idea too, but it is really the most comfortable way to have a slider on the screen.
×
×
  • Create New...