-
Posts
1,234 -
Joined
-
Last visited
Content Type
Profiles
Forums
Gallery
Everything posted by Lok24
-
Advanced Lego robotics
Lok24 replied to pekka111's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
To be pedantic : "Control+" is just a LEGO App to be used with many motorized technic sets, no hardware at all, never "Powered Up" is the name of the of "electric product" family (same plug, same LWP), including hubs, motors, sensors, among all themes like System , technic, Mario, Duplo "Technic hub" is just one hub among others within the "powered up" product line "Mindstorms" was for decades the product name for "programming and robotics", with many different hardware. But all history. "SPIKE" is the actual "education" product, similar to PU, but not the same. -
Advanced Lego robotics
Lok24 replied to pekka111's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
Mine ist not part of the model, ist just lying on shelf, since a long Time , just a USB-C power Supply needed. If I start a model, the Hub there connects automatically, very simple for me. -
Advanced Lego robotics
Lok24 replied to pekka111's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
I have no SPIKE set But: the "normal" Powered Up hubs can be fully controlled by BLE. So there ist nothing that must be "compatible" except BLE. The idea is not (!) to used some motors directly with them, but control the motors via BLE and receive sensor values via BLE with the microcontroller. The advantage of the M5 STACK ATOM: housing, two switches and a 5x5 led matrix. About 15$ . SPIKE is different: you write a program and load it into the SPIKE hub and start it on the hub. But : you can do that as well with Pybricks with any webbrowser. But then using python. So : any self-sufficient solution: pybricks + python + hub + motor = 30$ With external program (ESP) : ESP + C++ + hub + motor = 45$ -
Advanced Lego robotics
Lok24 replied to pekka111's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
It's very expensive, no parts sold be LEGO, only sets. Is there a reason to buy SPIKE? The simple hubs use the same connectors, same motors and sensors. What should the arduino or ESP do, what the hub/Spike can't do? Perhaps you give an example of a robot or machine? -
Advanced Lego robotics
Lok24 replied to pekka111's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
There isn't much 3thrd party. You should know that all the motors report the angle and the current speed back. And therefore it's not that simple to connect them to a Pi+ A very simple and cheap solution is to use the normal Powered Up Hubs (4 Ports, about 15$). For controlling you can use i.E. pybricks or some ESP like the M5 Tack Atom. Here is my example: https://www.doctor-brick.de/threads/powered-up-mal-ganz-ohne-smartphone.13797/ An here is a library for the LWP and C++ https://github.com/corneliusmunz/legoino/blob/master/README.md https://github.com/corneliusmunz/legoino I would to today not recommend a Pi, nor Buwizz, nor EV3, nor NXT. You net an ESP, a Hub, a motor, which makes around 50$ No soldering at all, only programming. Or without ESP: Pybricks Documentation — pybricks v3.5.0 documentation Here ist the LWP https://lego.github.io/lego-ble-wireless-protocol-docs/ -
It is absolutely not necessary to use the control+ App, there are many other options. But the Control+ App offers lots of other possibilities like learning and programming movements, position indicator, display overload and so on. And: all functions can be run simultaneously, where as the 8043 is not(!) completely remote controlled, you always have to change functions at the model itself (Drive/grab). Sorry I was wrong. No, the complete opposite, it's very impressive to see it work.
-
... LEGO published the wireless protocol and offers the possibility to load any FW to the hubs ;-) Or control that all with some ESP. BTDT. LEGO motors with feedback function (and so much better to be controlled) are available for less then 10 USD. And the Pybricks solution is installed in less than 5 minutes. All plug and play.
-
Hi, I used BAP since 2019 on exhibitions and was in contact with Vincent from the beginning. I never had the BLE traffic problem, but that trains run out of range. But yes, it's a pretty powerful tool. And I did not understand "display" as "exhibition" but as "shop window" And that the 4 Motors and 3 trains are independent form each other. Perhaps @jacey98penny can explain in detail. The central question: is there a requirement to manipulate that all? Or really just on and than three hours later off, with all 4 motors periodically running? To answer a question: yes , the 4 motors can be handled by on hub, but the are no extention cables ...................
-
there is one difference: with pybricks you need a really small program (see example below, for a train) All other solutions need more complex programming and any external device (tablet, mc, PC or other) from pybricks.pupdevices import DCMotor from pybricks.parameters import Port from pybricks.tools import wait train_motor = DCMotor(Port.A) # port Motor is connected while True: train_motor.dc(50) #speed wait(10000) #time motor running, in milliseconds train_motor.dc.stop wait(10000) #time train stops, in milliseconds
-
Free vs Paid Instructions for MOCs
Lok24 replied to Milan's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
Where is the problem? If someone offer it for free it's ok. If someone else thinks they have to be paid for it' s ok, too. Where is there any conflict? -
Pybricks Q&A
Lok24 replied to Pybricks's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
Hi all,can't find ".append" to add elements to a listIs any special import required? Thanks, found a solution. -
Nice! what is elctrical, signals too?
-
Control+ is just a fixed app for specific sets only. Do you mean "SPIKE PRIME" when mentioning "Spark? Just use any Powered-Up Motor have a look at Bricklink, less then 20,-- https://www.bricklink.com/v2/catalog/catalogitem.page?P=bb0959c01#T=S&C=85&O={%22color%22:85,%22ss%22:%22US%22,%22cond%22:%22N%22,%22iconly%22:0}
-
Control your trains without smart device - with Pybricks
Lok24 replied to Lok24's topic in LEGO Train Tech
You can connect the hub to the browser and then start the program from within the browser. -
Control your trains without smart device - with Pybricks
Lok24 replied to Lok24's topic in LEGO Train Tech
Yes, but starting the program from browser(!) shows what it does and what is connected in the lower part of the screen. So : what happens? -
Of course. This is explained here: https://www.youtube.com/watch?v=AMBWV_HGYj4
- 7 replies
-
- pid
- line tracking
-
(and 1 more)
Tagged with:
-
Hi, the basic idea is: Loop: When sensor is white then change direction of steering Wait till sensor is black That's all ;-)
- 7 replies
-
- pid
- line tracking
-
(and 1 more)
Tagged with:
-
Some intelligence ;-) Let's look for one track: " a bit after" depends on length of train .... What if trains comes from the other direction? And what might happen if two trains meet there, one closing and a second later the other one opening? In short: it is pretty complex, as you wrote