Pybricks
Pybricks
  • 55
  • 245 419

Відео

Arduino Alvik communicating with LEGO Spike Hub via Bluetooth
Переглядів 6784 місяці тому
See pybricks.com/project/ for details
Wireless messaging between MicroPython (and LEGO) boards with BLE
Переглядів 4684 місяці тому
Easily communicate between MicroPython boards that support BLE using the micropython-bleradio library. See pybricks.com/project/micropython-ble-communication/ for a detailed tutorial.
Controlling the Lego Duplo Train using Pybricks
Переглядів 3754 місяці тому
Full instructions over at pybricks.com/project/
How to make a mission menu on Spike Prime with Pybricks (FLL / WRO)
Переглядів 8014 місяці тому
Instructions: pybricks.com/project/spike-hub-menu/ Normally, only one program is saved on the hub. This usually makes it easy to find and start your latest project. And it's especially practical on hubs without a display. But the SPIKE Prime Hub and the MINDSTORMS Robot Inventor hub have plenty of space for multiple programs. Downloading multiple programs is useful in competitions like FLL or W...
Creating force feedback with the Xbox Controller and LEGO Spike Prime using Pybricks
Переглядів 1,6 тис.4 місяці тому
When you connect the Xbox Controller to your LEGO Technic hub or LEGO Spike hub, you can read the buttons and analog inputs, but also control the builtin rumble actuators. This lets you create haptic feedback, which can be great for immersive remote control driving! In this example, we used the rumble block to make the controller vibrate when the motor experiences load. Full code and tutorial: ...
Driving the LEGO® Technic Liebherr Crawler Crane LR 13000 (42146) with the Powered Up remote
Переглядів 4225 місяців тому
In this project, we will show you how to control the LEGO® Technic Liebherr Crawler Crane LR 13000 (42146) with the Powered Up remote. This lets you control it with high precision without looking at your phone. You'll also learn how to control two Technic hubs using just one remote. Step by step instructions: pybricks.com/project/technic
Driving the LEGO® Technic Liebherr Crawler Crane LR 13000 (42146) with the Xbox Controller
Переглядів 4675 місяців тому
In this project, we will show you how to control the LEGO® Technic Liebherr Crawler Crane LR 13000 (42146) with the Xbox Controller. This lets you control it with high precision using the analog inputs, all at the same time. Step by step instructions: pybricks.com/project/technic
LEGO® Technic 4X4 X-treme Off-Roader (42099) with the Xbox Controller
Переглядів 6475 місяців тому
In this project, we will show you how to control the LEGO® Technic 4X4 X-treme Off-Roader (42099) with the Xbox Controller. This is a fun way to drive the truck around without having to look at your phone screen all time time. You can also use this setup to create your own remote-controlled cars with Pybricks. You can check out the full tutorial including ready-to-use code over at pybricks.com/...
Driving the LEGO® Technic Audi RS Q e-tron (42160) with the Xbox Controller
Переглядів 2,2 тис.5 місяців тому
In this project, we will show you how to control the LEGO® Technic Audi RS Q e-tron (42160) with the Xbox Controller. This is a fun way to drive the car around without having to look at your phone screen all time time. You can also use this setup to create your own remote-controlled cars with Pybricks. Step by step instructions: pybricks.com/project/technic-42160-xbox/
Driving the LEGO® Technic Off-Road Buggy (42124) with the Xbox Controller
Переглядів 6485 місяців тому
In this project, we will show you how to control the LEGO® Technic Off-Road Buggy (42124) with the Xbox Controller. This is a fun way to drive the car around without having to look at your phone screen all time time. You can also use this setup to create your own remote-controlled cars with Pybricks. Step by step instructions: pybricks.com/project/technic-42124-xbox/
Driving the LEGO® Technic Top Gear Rally Car (42109) with the Xbox Controller
Переглядів 4085 місяців тому
In this project, we will show you how to control the LEGO® Technic Top Gear Rally Car (42109) with the Xbox Controller. This is a fun way to drive the car around without having to look at your phone screen all time time. You can also use this setup to create your own remote-controlled cars with Pybricks. Step by step instructions: pybricks.com/project/technic-42109-xbox/
Driving the LEGO® Technic Top Gear Rally Car (42109) with the Powered Up Remote
Переглядів 3716 місяців тому
In this project, we will show you how to control the LEGO® Technic Top Gear Rally Car (42109) with the Powered Up (Train) Remote. This is a fun way to drive the car around without having to look at your phone screen all time time. You can also use this setup to create your own remote-controlled cars with Pybricks. Step by step instructions: pybricks.com/project/technic-42109-powered-up-remote/
Driving the LEGO® Technic Off-Road Buggy (42124) with the Powered Up Remote
Переглядів 6246 місяців тому
In this project, we will show you how to control the LEGO® Technic Off-Road Buggy (42124) with the Powered Up (Train) Remote. This is a fun way to drive the car around without having to look at your phone screen all time time. You can also use this setup to create your own remote-controlled cars with Pybricks. Step by step instructions: pybricks.com/project/technic-42124-powered-up-remote/
Driving the LEGO® Technic Audi RS Q e-tron (42160) with the Powered Up Remote
Переглядів 2 тис.6 місяців тому
Driving the LEGO® Technic Audi RS Q e-tron (42160) with the Powered Up Remote
LEGO® Technic 4X4 X-treme Off-Roader (42099) with the Powered Up Remote
Переглядів 3436 місяців тому
LEGO® Technic 4X4 X-treme Off-Roader (42099) with the Powered Up Remote
Lego Trains coordinating departure for collision avoidance using Pybricks
Переглядів 2 тис.6 місяців тому
Lego Trains coordinating departure for collision avoidance using Pybricks
Combining LEGO hubs to use more motors (hub communication part 2)
Переглядів 1,2 тис.7 місяців тому
Combining LEGO hubs to use more motors (hub communication part 2)
Control LEGO Technic and Mindstorms with the Xbox Controller
Переглядів 3,7 тис.8 місяців тому
Control LEGO Technic and Mindstorms with the Xbox Controller
How to drive LEGO Technic with the Train Remote using Pybricks
Переглядів 5728 місяців тому
How to drive LEGO Technic with the Train Remote using Pybricks
Testing multiple #LEGO trains with #Pybricks #shorts
Переглядів 7078 місяців тому
Testing multiple #LEGO trains with #Pybricks #shorts
How to make LEGO Mindstorms, Technic, Spike and City hubs communicate via Bluetooth using Pybricks
Переглядів 2,6 тис.9 місяців тому
How to make LEGO Mindstorms, Technic, Spike and City hubs communicate via Bluetooth using Pybricks
Trying to build the slowest LEGO train, even with load.
Переглядів 6809 місяців тому
Trying to build the slowest LEGO train, even with load.
How to make smart Lego Train layouts
Переглядів 19 тис.10 місяців тому
How to make smart Lego Train layouts
This Lego robot can balance on a ball
Переглядів 4,5 тис.10 місяців тому
This Lego robot can balance on a ball
First look at block coding with Pybricks
Переглядів 2,8 тис.10 місяців тому
First look at block coding with Pybricks
This all-terrain LEGO robot can climb obstacles like no other
Переглядів 2,9 тис.Рік тому
This all-terrain LEGO robot can climb obstacles like no other
LEGO Mindstorms EV3 meets RCX from 1998
Переглядів 2 тис.Рік тому
LEGO Mindstorms EV3 meets RCX from 1998
Controlling a LEGO Duplo Train with SPIKE!
Переглядів 7 тис.Рік тому
Controlling a LEGO Duplo Train with SPIKE!
LEGO Powered Up Hub to Hub communication with Pybricks
Переглядів 4,6 тис.Рік тому
LEGO Powered Up Hub to Hub communication with Pybricks

КОМЕНТАРІ

  • @maks-xn6rg
    @maks-xn6rg 10 днів тому

    HI, can you say please if Color and Distance Sensor (88007) compatible with Prime/Inventor hub?

    • @pybricks
      @pybricks 9 днів тому

      If you use Pybricks then yes!

  • @Jigmie
    @Jigmie 22 дні тому

    because if you can connect it to spike hub using cable i will buy the lifetime license immediately

  • @Jigmie
    @Jigmie 22 дні тому

    I just would like to know is it possilbe to connect a spike hub to pybricks using cable connection?

    • @pybricks
      @pybricks 20 днів тому

      We support only Bluetooth, since this is the easiest in practice. It is however possible to disable Bluetooth if necessary (this will disable Bluetooth but not enable USB).

  • @feridbuljugic
    @feridbuljugic Місяць тому

    Grey EV3 meets Yellow RCX

  • @bencis6084
    @bencis6084 Місяць тому

    Is comunication work also if BOOST should transmit ?

  • @GavrihlKarpathios
    @GavrihlKarpathios Місяць тому

    can you please post the code ?

  • @_.why.not._
    @_.why.not._ Місяць тому

    Does the app support the new porche gt4 hub?

    • @_.why.not._
      @_.why.not._ Місяць тому

      it would be really cool.

    • @sergeypavlov4814
      @sergeypavlov4814 14 днів тому

      Technic Move Hub uses Bluetooth wireless MCU as the main chip, just like WeDo 2.0. There's no point in adding support for it.

    • @_.why.not._
      @_.why.not._ 14 днів тому

      @@sergeypavlov4814 thank you for your reply sir👍

  • @tomt453
    @tomt453 Місяць тому

    Does the location of the hub on the bot help with turns and the gyro functionality?

    • @pybricks
      @pybricks Місяць тому

      @@tomt453 it doesn't matter for the gyro, but good weight distribution certainly helps.

  • @あだ名はハリネズミ
    @あだ名はハリネズミ 2 місяці тому

    I've rewritten the software on lego 51515hub, do you know how to get it back?

    • @pybricks
      @pybricks 26 днів тому

      Directly below the install option, there is the restore option. This puts the original back.

  • @wojciechmocek4586
    @wojciechmocek4586 2 місяці тому

    @pybricks Why hub is not being added to settings section?

  • @eseopu
    @eseopu 2 місяці тому

    NO COMPATIBILITY ON IPAD? REALLY? REEAAALLLYY?

  • @eseopu
    @eseopu 2 місяці тому

    why is it saying your web browser is not supported while i am on chrome on ipad

  • @田川洋子-b4c
    @田川洋子-b4c 2 місяці тому

    It’s like scratch team but Lego group

    • @musoandafan965
      @musoandafan965 Місяць тому

      its not by Lego, it's 3rd party. You need to pay to use the code blocks so not like scratch which is free 🙃

  • @Mohamedalhussainie-t1q
    @Mohamedalhussainie-t1q 2 місяці тому

    Does it work with the Lego huracan Lamborghini 42196

    • @pybricks
      @pybricks 2 місяці тому

      I don't think that set has motors, right? I suppose you could make your own vehicle if you add motors.

    • @Mohamedalhussainie-t1q
      @Mohamedalhussainie-t1q 2 місяці тому

      Kay thank you

  • @Ekipsogel
    @Ekipsogel 3 місяці тому

    I can't get my controller to connect to my hub

  • @3DKiwi
    @3DKiwi 3 місяці тому

    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

    • @pybricks
      @pybricks 3 місяці тому

      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!

  • @andreafavero71
    @andreafavero71 3 місяці тому

    Super!

  • @KRAKERSIK1000
    @KRAKERSIK1000 3 місяці тому

    Thanks man ,luv u!

  • @legogonegaming
    @legogonegaming 3 місяці тому

    I have done everything described in this video which was very helpful btw, but when I press the button on the hub again it turns red and when I turn the controller on it connects and turns green like it’s supposed to, but then when I press the forward or reverse button on the controller it does nothing and starts flashing blue and I have redownloaded the program fully several times but it still doesn’t work it keeps saying the requested operation is not valid in the current state and to check the traceback and gives errors on code lines 268, 95, and 464. Can someone please help me fix this. Thanks very much.

    • @pybricks
      @pybricks 3 місяці тому

      Can you post the code you've tried at our forum over at github.com/orgs/pybricks/discussions? Thanks!

  • @shadowfax3505
    @shadowfax3505 4 місяці тому

    Edit: I was mistaken, you can still use the python section for free. Just set it to python when creating your project. Guys, unfortunately they've made it all behind a paywall now. I went to try to change one of my python programs and it wouldn't let me access the python section without paying for the block programming section first. Only thing they would let me do for free is restore the old firmware, so at least I can still control my sets with my phone...

    • @pybricks
      @pybricks 4 місяці тому

      Nothing has changed to Python. It's free. It's even open source, so you could even make a complete copy if you wanted to. Block coding is completely optional, and we're super grateful for everyone who has supported us that way. Not everyone may realize it, but this is what makes all the free stuff possible, and we'd love to keep making more exciting free features. It sounds like you've opened a *block* project and then tried to edit the generated *Python* code. That doesn't work, since changing the blocks would immediately change the code again. To use Python, just open an actual Python project :)

    • @shadowfax3505
      @shadowfax3505 4 місяці тому

      @@pybricks Oh ok! Thanks for the quick response. I hadn't used pybricks in awhile and I didn't see the option for the python. I haven't used pybricks and python used to be the default.

    • @pybricks
      @pybricks 4 місяці тому

      ​@@shadowfax3505and it remembers your setting, so Python will be the default for you. If you want to update your same comment on racing bricks channel video about this, that would be nice. There's no paywalls for any of the original features features :)

  • @SadSadDeadM
    @SadSadDeadM 4 місяці тому

    You're doing incredible work. Is there any chance to support other language like GO? What would have to be done to add support for it?

    • @pybricks
      @pybricks 4 місяці тому

      We'd need a big enough community interested in using it :-) But if your existing GO application can work with BLE, you can already use it on the other end, and communicate with the LEGO boards too.

    • @emmetbrickhacker5029
      @emmetbrickhacker5029 4 місяці тому

      Did you tried this with microbit? Im courious, if it works. Can you please make tutorial, how to connect Circuit Cubes with LEGO hubs via BLE?

    • @pybricks
      @pybricks 4 місяці тому

      @@emmetbrickhacker5029 All you need is a MicroPython board with BLE. There are so incredibly many, that we can't test them all :) The oldest MicroBit iteration doesn't let you control Bluetooth like this I think, but the newer versions might.

  • @matsu9790
    @matsu9790 4 місяці тому

    What a cool functionality ;) is somewhere block diagram for example?

    • @pybricks
      @pybricks 4 місяці тому

      Yep - link in description! :)

  • @PoweredUP_
    @PoweredUP_ 5 місяців тому

    I'm amazed by the precision it has, that's great

  • @blockpartyrobotleague
    @blockpartyrobotleague 5 місяців тому

    How do you set this up in Pybricks? I want to control the motors on two separate hubs with the remote, but I'm having trouble figuring out how (even after watching your hub communication tutorials...) EDIT: I think I might have figured it out, so no worries!

    • @pybricks
      @pybricks 5 місяців тому

      We've got a few example projects coming to our site soon, since the big Technic sets also use that technique :)

    • @blockpartyrobotleague
      @blockpartyrobotleague 5 місяців тому

      @@pybricks Sweet, thanks!

  • @誓空地藏
    @誓空地藏 6 місяців тому

    Hello, I am using Pybricks, and I am programming in Scratch mode. However, I am having trouble using Scratch to write a line-following program. I can write the same way in the Lego programming, but I can't do it in Pybricks. Can you please tell me how to do line-following in Pybricks?

    • @pybricks
      @pybricks 6 місяців тому

      Thanks! Could you ask this on our discussion forum over at github.com/orgs/pybricks/discussions please? We can post examples and screenshots there, which is not possible in the UA-cam comments :)

  • @samuelstokes5229
    @samuelstokes5229 6 місяців тому

    fuck pybricks you charge us to use something you call free fuck yall

  • @itamarguzi2347
    @itamarguzi2347 6 місяців тому

    Can I control a city hub with the Xbox controller? Same as video but only 2 motors, one for drive, and one for steer? I tried to run a program on the hub, and I got an error with the controller

    • @pybricks
      @pybricks 6 місяців тому

      The City Hub cannot connect to the Xbox controller unfortunately.

  • @pybricks
    @pybricks 6 місяців тому

    The code used is here! github.com/orgs/pybricks/discussions/1575#discussioncomment-8963773 Just upvote this if you'd like to see a step by step tutorial!

  • @fabianpv4782
    @fabianpv4782 6 місяців тому

    Great demo. Do you have a git repo on which you share the code. I think you used the color distanse sensor. I have some trouble with them. I cannot get them working with more than three colors😢. Great video, thanks

    • @pybricks
      @pybricks 6 місяців тому

      Could you post your code at the forum? Thanks! github.com/orgs/pybricks/discussions

    • @paulharris4256
      @paulharris4256 6 місяців тому

      I had the same issue. I had to actually measure the colour values for each colour that I wanted to use and then code the sensor to look specifically for that colour. I worked in Python code, not the block coding.

  • @jacobroebuck5648
    @jacobroebuck5648 6 місяців тому

    Awesome. Is there a tutorial for this somewhere?

    • @pybricks
      @pybricks 6 місяців тому

      This video is a combination of two techniques: - Making trains respond to colors: ua-cam.com/video/kwnSbnlhOkA/v-deo.html - Hub to hub communication, see ua-cam.com/video/WzmcihSV2YE/v-deo.html and ua-cam.com/video/liv37b7PXUQ/v-deo.html Have fun!

  • @swanny6627
    @swanny6627 6 місяців тому

    Where can i find some example code of combining remote control with autonomous control. With no need for the pc to be contected once program is installed.

    • @pybricks
      @pybricks 6 місяців тому

      Here's one example: pybricks.com/projects/sets/technic/42099-off-roader/powered-up-remote/ There's more if you navigate through the rest of the projects :)

  • @thorbjrnhellehaven5766
    @thorbjrnhellehaven5766 7 місяців тому

    Can you explain about the individual license? I appreciate that it is single user, but can I use it on my desktop computer at home on day, then my laptop the next day? Does the license need to be released from one device to use with another device? I have previously payed for other software, where it was tied to a device, and license had to be released to use on another device, causing a loss when with a system failure.

    • @pybricks
      @pybricks 7 місяців тому

      You can use it across multiple personal devices without deactivating. We'd like to keep things simple for the user so you can focus on the creative aspects of coding :)

    • @thorbjrnhellehaven5766
      @thorbjrnhellehaven5766 7 місяців тому

      @@pybricks thank you! Then I'll probably set up the recommended app test to verify my hardware pretty soon. Before buying the license 🙂 maybe next week, or at least the week after.

    • @matsu9790
      @matsu9790 6 місяців тому

      I am really happy that after I bought a license, we are seeing more and more updates regarding block diagram projects. That's really helps with understanding coding. Thank you for your standstill supporting of this software :) (I hope longer than LEGO support its Mindstor Robot Inventor)

    • @pybricks
      @pybricks 5 місяців тому

      @@matsu9790 Thank you for your support! Getting a license really helps us keep the project alive. So glad to hear you're happy with it!

  • @christianmeier2725
    @christianmeier2725 7 місяців тому

    Brilliant!! The SPIKE socket limit is therefore off the table for good !! 🥳🥳🥳

  • @christianmeier2725
    @christianmeier2725 7 місяців тому

    Just great!!!

  • @tomekjaki6840
    @tomekjaki6840 7 місяців тому

    Hello I have problems to connect my lego spike hub with mindstorm app. Could you help me with this issue?

    • @pybricks
      @pybricks 7 місяців тому

      Sure! Although this is using Pybricks, not the Mindstorms app. But you can still ask about it on our forum, we can probably help :)

  • @GubstersGarage
    @GubstersGarage 7 місяців тому

    Yes!!! Now we can mix hubs, awesome!

  • @shanglightblade2073
    @shanglightblade2073 7 місяців тому

    impressive

  • @raphaelfuccia
    @raphaelfuccia 7 місяців тому

    congratulations! Could you explain how you made the switch track moc? what pieces did you use and the tutorial! thank you very much

  • @stupidratt
    @stupidratt 7 місяців тому

    bro is not drifting in a train 💀

  • @raphaelfuccia
    @raphaelfuccia 8 місяців тому

    Incredible! Congratulations on the great work! I installed it on my AUDI but it doesn't connect to the Xbox One joystick. Do I have to do any updates to the joystick? Thank you very much!

    • @pybricks
      @pybricks 8 місяців тому

      All models with Bluetooth since 2016 are supported. Check out this page for compatible models, connectivity tips, and updating the controller: docs.pybricks.com/en/latest/iodevices/xboxcontroller.html

  • @hasse1854
    @hasse1854 8 місяців тому

    Fantastic! Is this coming for Playstation controller as well?

    • @pybricks
      @pybricks 8 місяців тому

      As far as we know, only the Xbox controllers use Bluetooth Low Energy (BLE), which is what the LEGO hubs use. Maybe ask Sony to enable BLE too, like Microsoft did with an update for controllers as far back as 2016! 😃

    • @hasse1854
      @hasse1854 8 місяців тому

      @@pybricks Thanks for the response! Alright, but a Playstation controller seems to work with the official Lego Mindstorms app => ua-cam.com/video/g9M9WgwFbZE/v-deo.html Or is this not (BLE) due to the need of the mobile application?

    • @pybricks
      @pybricks 8 місяців тому

      @@hasse1854Indeed, that app uses your phone in-between. Much more lag, and not convenient. If you use Pybricks once, you can just press the button to connect as in 0:16 the next time. No apps and no phones needed :)

    • @SeconYan
      @SeconYan 8 місяців тому

      @@pybricks so there is no medium right? I've been looking for it for a long time. It seems that i should god a Xbox controller :D, thanks!

    • @pybricks
      @pybricks 8 місяців тому

      @@SeconYanit's direct control, nothing in between if that's what you mean. Nothing behind the camera :)

  • @dreadheaddad5440
    @dreadheaddad5440 8 місяців тому

    Hey. I Love yout Work and I use Pybricks on my Mindstorm and my Spike Hub. Now I received a Boost Hub, flashed to Pybricks, used the syntax as I was used to, but I can't start the internal Motors by Script. I tried a lot, but I miss something I guess. Is is possible to give me a short example of Code, so that I'm able to see my mistake? Any good web adress with sample codes? I looked the Internet up myself, but I couldn't find anything useful and I'm stuck in my Problem and highly confused, because with Spike and Mindstorms eveything is working fine. Thanks!

  • @thorbjrnhellehaven5766
    @thorbjrnhellehaven5766 8 місяців тому

    ❤❤❤ Analog controller for the win!!! The LEGO remote is just so limited with only digital controls.

  • @vedran.kapetanic
    @vedran.kapetanic 8 місяців тому

    Been waiting for this. Thank you for the amazing work, as always! :D

  • @SaperPl1
    @SaperPl1 8 місяців тому

    I would suggest making different profiles and setups for different types of steering for tracked vehicles :)

    • @pybricks
      @pybricks 8 місяців тому

      Totally! Example for the Liebherr crane is coming soon!

    • @SaperPl1
      @SaperPl1 8 місяців тому

      @@pybricks Well, my point was that there are different types of steering in tanks that make them behave differently and implementing them mechanically is complicated, while turning in place (neutral steering) and fully locking one track is not always historically accurate. Also 1:1 connection of sticks to the motor input is not ideal in some cases where you'd also like to have two stick steering.

  • @kajakman
    @kajakman 8 місяців тому

    Can you share this code with us, or is it secret? ;)

  • @kajakman
    @kajakman 8 місяців тому

    I have made it work with the Audi set, thanks a lot! :) I will try to program extra features, such as switch off based on button combination, maybe stuck motor detection, etc. Thanks a lot for your work! :)

    • @pybricks
      @pybricks 8 місяців тому

      Glad to hear it!

  • @TimmeyTV
    @TimmeyTV 8 місяців тому

    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.

  • @joelOnDrugs
    @joelOnDrugs 8 місяців тому

    can this robot work on only four legs

  • @KevinVanDenHaute
    @KevinVanDenHaute 8 місяців тому

    Nice, but a lot of limitations. No port over for lights, multi-trains on a track, .. but good for the kids to get in touch with basic programming.

    • @pybricks
      @pybricks 8 місяців тому

      You can totally do multi-trains on track, and even make them communicate wirelessly... See our other video for that. Possibilities are endless :)