-
Posts
1,240 -
Joined
-
Last visited
Content Type
Profiles
Forums
Gallery
Everything posted by Lok24
-
Pybricks Q&A
Lok24 replied to Pybricks's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
That's it, stable is 3.0, in 3.1 "light" will be available! -
Pybricks Q&A
Lok24 replied to Pybricks's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
Hi John, you really did a test with my program? Thanks a lot, you're the first! You have two speed profiles and can change with the center button, no matter how long you press. If you run the program from the browser you can see in the lower section what happens (there appear all speed steps, when pressing green button a "1" or "2" for the selected profile) And yes, it's all beta, and the Pybricks team is working on supporting the LED in the remote (like the one in the hub), this not released yet in Pybricks beta. If so you could then i.e. show different colors for the profiles. And blinking when hub(!) battery level is low. And so on. -
But using tacho motors you can run with rotations/sec and the load balancing does the rest. They promised for this year.....
- 26 replies
-
- power functions
- remote
-
(and 2 more)
Tagged with:
-
Yes, but not on a big layout, or you have to take your WIN 10 laptop with you ....
- 26 replies
-
- power functions
- remote
-
(and 2 more)
Tagged with:
-
Powered up App not compatible?
Lok24 replied to Lok24's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
I'm no expert for this. What I know: - the processor is 64 bit - OS is 32 bit - Boost App is changed on same day and can still be updated, new version works fine - Control+ App is changed on same day and can still be updated, new version works fine So the Galaxy tab can't be that wrong? And the Smartphone too? With all other apps running as usual? -
Hi @sp1984 most of the things are already mentioned. - PU offers the possibility to use motores which allow load control. With PF trains you can't drive slowly without stopping in curves or switches. - Trains don't stop necessarily when getting out of BT control, and they dont't have only 10 steps to run. this is a property of the hub firmware only and/or using the remote or Powered Up App. It is not a property of Powered Up itself. - Battery control is easy as well, because software can ask the hub about battery level. - There are no extension cables with PU - no limitation to 8 channels What means: it depends on your neeeds and requirements. PU offers a lot' more possibilities. Find an idea of using Powered up here:
- 26 replies
-
- power functions
- remote
-
(and 2 more)
Tagged with:
-
Powered up App not compatible?
Lok24 replied to Lok24's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
Hum. More complex graphic than control+ (which is still available for update)? Perhaps we get an answer via LAN. -
Powered up App not compatible?
Lok24 replied to Lok24's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
Just got an answer from service, here's a google translation: "it looks like the 32Bit devices are unfortunately no longer compatible with the Powered Up App" Is there any Idea why they don't support any longer, but for Boost and Control+ they do? -
Control your trains without smart device - with Pybricks
Lok24 replied to Lok24's topic in LEGO Train Tech
That's the idea When starting it is blue, when loading i.E. red, but only with 30% brightness, if remote connected "Color.GREEN*10" or even "Color.GREEN*0", if connection is lost red again . -
Pybricks Q&A
Lok24 replied to Pybricks's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
Hi, just programmed a solution without the use of control.limits, but it designed for trains, find the article here and the program and description here: https://github.com/falk12/MotorControl the construction of the program is unusual, feel free to ask or discuss (then in a seperate thread?) Thanks to the Pybricks crew, it's really great! -
Hi all, we all remember the discussion about the 10277 and how to control smoothly with a LEGO remote control. With the current beta release Pybricks provides the opportunity to connect the remote to a hub and load the control programm permanently into the hub. Brilliant, thanks to the Pybricks team. For those who need a ready to use application program for "Motor Control": here is my first approach for the city hub (see link below) No programming needed ! Some of the features: - Connect 1 or 2 motors of any kind to Port A and/or B - In the first section you find same parameters to customize the control You can use two profiles to set minimum speed maximum speed accelerate in steps of ... wait for next acceleration step(in ms) - You can set the rotation for each of the motors, i.e. opposite - Accelarates continously when holding button (or not, configure it) - Assign buttons to functions as you like - „Switch“ between Profil_A and Profil_B (ie. to move very slow) - Watchdog stops motors when loosing remote connection, or continues driving when connection is lost, you can reconnect the remote by pressing the green button - Set Color and brightness of Hub LEDs Please note: if you use any tacho motors (like boost or technic) it uses load control, so no slowing down or even stopping in curves when speed is slow or load to high. It's really awsome! Just have a try and let me know what you think about it, thanks. progams, installation and instructions (all in german)
-
Hi, Ah, incredible. But yes, there's a small grey line behind the left whell, the bottom of the Hub obviously. Do you have a picture from "inside"? With my Köf III I had to mount the motor vertically....
-
Hi, That's really nice! That small but detailed! Two questions: no hub inside? The wheels are LEGO?
-
Pybricks Q&A
Lok24 replied to Pybricks's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
Hi, thanks, I may do that. Thought it would be possible here as well, as you wrote You're also welcome to post ideas and requests for new Pybricks features. Feel free to get creative here! From beginnig of the discussion in Dec 20 here https://github.com/pybricks/support/issues/186 specifying the address was mentioned and it was agreed on the first day that this is urgently needed. The background is that on exhibitions you have a dozen of remotes belonging to different users and models that might connect. So did I, it is a very great step foward and I'm really happy with that. But yet it's not completed, and as it's on your list "in work" https://github.com/orgs/pybricks/projects/10#card-63705066 it seemed to me that it is - in a way - priorized. Same is with light, I have no chance to show the different modes the remote is in for complex models (i.E.using a 4-Port Hub with one remote) without using the LEDs in the remote. Or to show battery level of hub, or so on.... So: no new needs! What about a "disconnect"? -
Pybricks Q&A
Lok24 replied to Pybricks's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
Yes, that's what I do now ;-) LEFT_DOWN,RIGHT_DOWN, LEFT_UP , RIGHT_UP, DOWN, UP, BEACON aren't used? Yes, I have some code here that does a reconnect, but with any remote I assume, because "address" cannot yet be checked, true? -
Sorting Robot
Lok24 replied to Tomas TECHNIC's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
Nice construction! -
Pybricks Q&A
Lok24 replied to Pybricks's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
Thanks. The remote is not documented in code.pybricks.com, but in beta, and there I only found a method called "pressed". And the class "buttons" without further description, this is why I thought it's not quite finished yet, sorry. -
Pybricks Q&A
Lok24 replied to Pybricks's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
@Pybricks I started with Pybricks more than a year ago and published some articles and examples. But It never satisfied my needs without the connection to a remote control, thats why I switched to ESP32. Now, as the remote is available, I restarted, thats why the questions pop up right now, and the intention is not to critise what's missing, but to learn about the possibilites. My most requested feature is the completion of the class remote, like address (using and reading) or Button Up/released, reconnect and so on. (and, as already discussed, a very simple time line somewhere: "what's new") -
Pybricks Q&A
Lok24 replied to Pybricks's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
Thanks for your response, Yes, but this is general for all downloads, which is not desired at all. I'll see if it is possible to set up different profiles (like in FF) to solve this. And when I open a file "x:\myprog.py" the download (=save) always proposes "main.py" and not "myprog.py", thats what I meant, sorry for any missunderstanding. Isnt't there something while downloading the source code to the hub to insert source code from a file? How could I use the same routines in different progs without copying them manually? That was my idea/intention. -
Pybricks Q&A
Lok24 replied to Pybricks's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
Thanks , I use Chrome and the page https://code.pybricks.com/ , there is no menu but only the symbol for "download file" (floppy disk)? Do you use something different? -
Pybricks Q&A
Lok24 replied to Pybricks's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
Hi @Mr Jos, thanks for the solution, but that doesn't use the control limits, if I understand correctly. My solution is as expected: while True: pressed = FB.buttons.pressed() if Button.LEFT_PLUS in pressed: v = 1000 MotorA.stop() MotorA.control.limits(acceleration=100) if Button.LEFT_MINUS in pressed: v = 0 MotorA.stop() MotorA.control.limits(acceleration=1000) MotorA.run(v) Slow acceleration, quick deceleration. For a longer program you might better duplicate the .run and insert into the conditions directly after the .control.limits I want to avoid any "wait" commands, as they block the further execution, I use StopWatch() instead so program runs as fast as possible. Did someone find out how to save the code with a name other than "main.py"? Or how to import classes from local stored files like "c:\py\MyClasses.py" -
Pybricks Q&A
Lok24 replied to Pybricks's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
Thanks @Mr Jos I see. The idea was to accelerate slow, but to "brake" faster. Perhaps I could add a stop and then immidiately the run commend again, we'll see, -
Pybricks Q&A
Lok24 replied to Pybricks's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
Yes but not any time? FB = Remote() MotorA = Motor(Port.A) MotorA.control.limits(acceleration=500) # < --- works while True: pressed = FB.buttons.pressed() if Button.LEFT_PLUS in pressed: v = 1000 if Button.LEFT_MINUS in pressed: v = 0 MotorA.control.limits(acceleration=1000) # <------- Errno 16 Device or resource busy wait(100) MotorA.run(v) -
Compact Locomotives with Large Technic Motor 88013
Lok24 replied to ejayb's topic in LEGO Train Tech
As I understood all seven motors support speed - only Train motor and wedo 45303 do not, as they have no sensor. All infos in the link mentioned above: https://www.1000steine.de/de/gemeinschaft/forum/?entry=1&id=452684#id452684 -
Compact Locomotives with Large Technic Motor 88013
Lok24 replied to ejayb's topic in LEGO Train Tech
That's why I mentioned the 88008...