-
Posts
1,234 -
Joined
-
Last visited
Content Type
Profiles
Forums
Gallery
Everything posted by Lok24
-
Help with lego coding
Lok24 replied to MTBRICKS's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
Ah you edited your post and inserted a picture. No, the second cannot work, cause the loop is missing. As you cant see my picture I don't know how to help. Did you try a right click? A hint: use the both motor blocks most right. And the proper joysticks, which are the two most right symbols, one is for driving, one for steering. -
Help with lego coding
Lok24 replied to MTBRICKS's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
Then just adjust the ports. Change the A in the left icon to AB and the B in the right Icon to C. Dont know, sorry. -
Help with lego coding
Lok24 replied to MTBRICKS's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
Ok here is my program I just wrote for you, and it doest what I expect ;-) Motor A : drive, motor B: steering -
Help with lego coding
Lok24 replied to MTBRICKS's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
With the sliders you can adjust this via the options. And the joysticks work too. Two pictures would be helpful. The triangles offer logical 1 or 0 , like a button, the rounded ends deliver ranges (e.g. 0 - 100) On all Icons. -
Help with lego coding
Lok24 replied to MTBRICKS's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
The current control blocks are here: https://www.lego.com/en-us/service/help/power_functions/power_functions/lego-powered-up-programming-blocks-kA06N000000g04eSAA?locale=en-us What do you mean with "joysticks"? You use "Create" when starting and then "controller", and place sliders on the screen? A picture of your work would be very helpful. -
Powered Up app toolbar icon
Lok24 replied to idlemarvel's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
Copy the selected Icons... -
88005 Powered Up Lights and 88012 Technic Hub
Lok24 replied to idlemarvel's topic in LEGO Train Tech
But you know that you can buy them from LEGO online? 88005 ? Or did I miss something? -
Normally there is no need to update the firmware manually. And if so : just start the powered up app and connect the technic hub, FW-Update starts immediately if necessary. Or set the Hub in bootloader mode and connect. It is very simple. The method described in the earlier postings above is only a method to do a manual update with the Control+ App
-
Programing help
Lok24 replied to aaaaaa_aa's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
you can use the motors as a sensor (rotations in degrees) - get the value when you start - get the value when object detected - move back with the difference of the two -
Powered up app, last version.
Lok24 replied to HectorMB's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
Thy are not global, but for each project explicit. -
Powered up app, last version.
Lok24 replied to HectorMB's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
Did you turn all functions on (via the options "..." on the right and the 1 to 3 blocks in the menu, the most left option) -
Pybricks Q&A
Lok24 replied to Pybricks's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
Without any speaker? Suppose not. -
Pybricks Q&A
Lok24 replied to Pybricks's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
That's the problem. I have routines in my program, which raise an event when time ist over Yes ..... ;-) -
Pybricks Q&A
Lok24 replied to Pybricks's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
Just wanted to explain that I use this already ;-) So do I ;-) Take a simple loco, adjust and then couple 20 waggons..... That's my favoured idea, yes -
Pybricks Q&A
Lok24 replied to Pybricks's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
@vascolp Thanks for posting my code ;-) The problem is (example): - assume the motor is "defined" with 1300 - and the "real" max ist 1000 (battery, load etc) - remote controls 100 steps (vmax) Here are the some steps controlled by the remote and the results for run(v): Step / v 50 800 60 900 70 1000 80 1100 90 1200 100 1300 This has two effects: with the last three steps there is no change in speed of motor and even worse: When reducing the speed with remote nothing happens..... So I'd had to use the speed() to check the real speed and block the remote for further increase of v, remaining at 70. Other ideas? -
Pybricks Q&A
Lok24 replied to Pybricks's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
Hi all, I want to control a motor in 100 steps. And use run(v) command. The problem : v is in deg/s So I have to calculate v to get the max value for v for a specific motor. using dc(100) and speed() gives something about 1300 or 1600, depending on type of motor. But: isn't that depending on battery voltage? Are there "standard" values for the different types of motors? Long story short: how do I get the max deg/s ?