How to make LEGO Mindstorms, Technic, Spike and City hubs communicate via Bluetooth using Pybricks

Поділитися
Вставка
  • Опубліковано 20 жов 2024
  • This video explains how you can use Pybricks to make two or more LEGO hubs communicate via Bluetooth. This lets you build bigger robots, or networks of small creations that work together. You can try it out via pybricks.com/
    It works with LEGO MINDSTORMS, Technic, City, SPIKE Prime and SPIKE Essential.

КОМЕНТАРІ • 23

  • @MonsieurCaron
    @MonsieurCaron 9 місяців тому +1

    This is fantastic.

  • @thorbjrnhellehaven5766
    @thorbjrnhellehaven5766 9 місяців тому +1

    Really cool!!!
    I have RI hub, Prime,hub and Boost hub.
    Now, I want the Essential hub.
    To have the option for two remote I/O. 😊

  • @CastleWolf17
    @CastleWolf17 9 місяців тому +1

    Will this work for the hubs that come in LEGO City Train sets as well?

    • @pybricks
      @pybricks  9 місяців тому +1

      Yes! See 6:46.

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

    Just great!!!

  • @Xolotlcraft
    @Xolotlcraft 9 місяців тому +2

    hi, i´ve used lego mindstorms for a while now, but now im more into arduino and the code behind it, is it possible to connect an arduino and a lego mindstorms hub with an hc-05 module using pybricks and transfering data from both sides?, i would like to use mindstorms again using more advance code and more sensors for crazy machines, thank you for reading!

    • @pybricks
      @pybricks  9 місяців тому +1

      Sure, you could make an arduino that has BLE support broadcast and observe the same data as the hubs!

    • @Xolotlcraft
      @Xolotlcraft 9 місяців тому +1

      Thanks for replying!!! Do you have any examples of how that could be done?@@pybricks

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

      @@XolotlcraftNot yet - our focus is on the LEGO hubs for now :)

    • @Xolotlcraft
      @Xolotlcraft 9 місяців тому

      Ok, thanks!!!

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

    I am looking forward to see a sale discount for block diagram functionality :)

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

      We have one this week! Check our Facebook page :)

  • @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 :)

  • @1Cygapb1
    @1Cygapb1 9 місяців тому

    Cool stuff! Is it possible to send bluetooth data not from another pybricks hub, but from computer? Like python program on a laptop sends data and pybricks hub reads it?

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

      Yes, we've published the protocol. Anything that can scan/broadcast will work. For example an Arduino or Raspberry Pi will work too.

    • @1Cygapb1
      @1Cygapb1 9 місяців тому

      @@pybricks is it just a protocol description or ready-to use lib or code example?

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

      @@1Cygapb1 just the protocol. We'll post an arduino example at some point.

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

      ​​​@@pybricks how about the BBC microBit? That's a common device for education here, and would be nice to utilize it with joysticks and buttons as a remote, rather than the LEGO remote, with only digital input.
      Would love some examples for microBit to build upon.
      My "dream remote":
      microBit + 2x joysticks + 2x analog triggers + 8x buttons + 20x4 LCD i2c

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

      @@thorbjrnhellehaven5766Anything with Bluetooth Low Energy should work. I think the MicroBit V2 has that!
      Would you mind asking your question over at github.com/orgs/pybricks/discussions
      That will allow us to post a proper example code and allow others to learn from it too :)

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

    Can I use Pybricks to talk to a Lego City (train) hub using an Apple computer? I want to program my trains but don’t have a Windows computer

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

      Yes, Mac is supported! You can try it out to be sure. (In fact Windows was not even used to record this video!)