Thanks. This was a huge help to understanding how sensors work. I couldn't figure out how to make a motor stop and start when a sensor detected something. Now I can :) t
Awesome. I subscribed to your channel. Looking forward to seeing what you'll make with Pybricks! And thank you so much for supporting the Pybricks project by signing up for block coding!
I also used PyBricks to program my motorized tram. It was very difficult to distinguish tan from yellow or red from reddish brown :D However, I didn't have a "best match" function back then. So it was very hard to distinguish all these colors.
Great video, I currently use PyBricks for my trains, but manually program the hubs, the block method looks cool. Do you have a schematic for building the switch point please? Your version looks compact to what I’m currently using 😃
Hi, can you run multiple trains at once with motorized switches, etc, to automate a huge layout completely with Pybricks? Or can you only program/run one train hub at once?
Sure you can! Once a program is saved on the hub you can run it again without a connection. Just press the green button. So at that point they run all by themselves and you can move onto the next... But yes, you can even code multiple at the very same time.
Great... i bought spike essential for my kids, but also spike prime for me. Do you have an overview what parts synergize with pybricks? Can i also use buwizz or cada parts? Or only lego motors/battery Packs?
All official parts from Spike Prime, Spike Essential, Powered Up, Boost, and recent technic sets work seamlessly together. You can even use them together in one large build. You can browse around the documentation to see all devices and available blocks: docs.pybricks.com/en/latest/
@@pybricks the link shows a 404 page? I think i will stick to prime blocks though they are so expensive. During christmas holudays i gonna join you as a patreon :)
Thank you! We're not quite up there with proper video creators like you, but we're trying and learning. New mic on the way 😁. We're super excited to finally release this feature. We hope this will make it even more accessible for non-coders. More train videos coming up!
Can the blocks be automatically be converted into Python code if needed? For example, I start making the program using blocks, and then decide I want to continue to edit it using Python.
Possible in theory, at least the brick is powerful enough. Right now we're focusing on the current hubs. But with enough supporters, we may be able to support NXT and EV3 as well at some point. =)
The one in the video works like this: wait for train detection (a low distance measurement), then turn the switch. Then wait for the train to pass (wait for large distance measurement).
Plus 1 to this - it has no trouble recognizing the colors (I make it print them also) but drives straight past them. I have the track and background added
@@paulharris4256Chrome, Edge, or any other browser that supports Bluetooth. note that you can try out everything for free, so just give it a go - See the website for this :)