🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Is there an easy way to connect M5Stack or M5Stick-C to old Lego Mindstorms Motors and Sensors (Robotic Invention)

    Modules
    3
    20
    28.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • liemphL
      liemph
      last edited by

      I have a bunch of Lego MindStorms collections, more specific, Robotics Inventions. They are old but I love them very much. With the obsolete platform for programming the RCX2, I am thinking about (1) replacing the RCX with an M5Stack module and (2) about possible ways to connect the Lego Motors and Sensors to an M5Stack module. Of course, there two challenges to be done, (1) the hardware interfacing and (2) the software aspect. I think I can/may give up with the Lego Sensors since many cheap and more advanced M5 sensors are now available and can be connected readily to the M5Stack module. So the final challenge is the hardware interface from M5Stack/Stick to a DC (6V) Lego Motor. I do not want to reinvent the wheel; if somebody has already invented or created them please let me know. Other ideas and comments are welcomed.

      1 Reply Last reply Reply Quote 0
      • ajb2k3A
        ajb2k3
        last edited by

        With a few components and some soldering, it is possible however with the new module we can now use nxt to RIS adapters that have been available for a while.

        UIFlow, so easy an adult can learn it!
        If I don't know it, be patient!
        I've ether not learned it or am too drunk to remember it!
        Author of the WIP UIFlow Handbook!
        M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

        liemphL 1 Reply Last reply Reply Quote 0
        • liemphL
          liemph @ajb2k3
          last edited by

          @ajb2k3 said in Is there an easy way to connect M5Stack or M5Stick-C to old Lego Mindstorms Motors and Sensors (Robotic Invention):

          With a few components and some soldering, it is possible however with the new module we can now use nxt to RIS adapters that have been available for a while.

          Thanks for the response. Could you please elaborate more on the "new module". What is that? I have no Lego NXT with me.

          1 Reply Last reply Reply Quote 0
          • ajb2k3A
            ajb2k3
            last edited by

            This is the new NXT module for the M5Stack
            https://m5stack.com/collections/all/products/basex?ref=pfpqkvphmgr
            alt text

            It comes With NXT sockets which means you can use these adapters for RIS motors.
            link text
            alt text

            UIFlow, so easy an adult can learn it!
            If I don't know it, be patient!
            I've ether not learned it or am too drunk to remember it!
            Author of the WIP UIFlow Handbook!
            M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

            SkinkS liemphL 2 Replies Last reply Reply Quote 0
            • SkinkS
              Skink @ajb2k3
              last edited by

              There I was not fast enough @ajb2k3.

              @ liemph,
              and here how you finish the cables : http://www.philohome.com/nxtcables/nxtcable.htm
              Ready to buy there were also times from the company: https://www.generationrobots.com/de/157-lego-mindstorms

              Cause I got a couple more ready to go here. But I'll keep them, of course. Since I also have RTX, NXT and EV3 here without end.

              I am involved in everything that has to do with automation, including the M5Stack's, a few 3D printers, a CNC mill and a lot of other things. The M5Stack's are all really great, I can't imagine a better prototyping.

              ajb2k3A liemphL 2 Replies Last reply Reply Quote 0
              • ajb2k3A
                ajb2k3 @Skink
                last edited by

                @skink said in Is there an easy way to connect M5Stack or M5Stick-C to old Lego Mindstorms Motors and Sensors (Robotic Invention):

                There I was not fast enough @ajb2k3.

                Finished work early :P

                UIFlow, so easy an adult can learn it!
                If I don't know it, be patient!
                I've ether not learned it or am too drunk to remember it!
                Author of the WIP UIFlow Handbook!
                M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

                1 Reply Last reply Reply Quote 0
                • liemphL
                  liemph @ajb2k3
                  last edited by

                  @ajb2k3 said in Is there an easy way to connect M5Stack or M5Stick-C to old Lego Mindstorms Motors and Sensors (Robotic Invention):

                  This is the new NXT module for the M5Stack
                  https://m5stack.com/collections/all/products/basex?ref=pfpqkvphmgr
                  alt text

                  It comes With NXT sockets which means you can use these adapters for RIS motors.
                  link text
                  alt text

                  Thanks. This is a good solution.

                  1 Reply Last reply Reply Quote 0
                  • liemphL
                    liemph @Skink
                    last edited by

                    @skink said in Is there an easy way to connect M5Stack or M5Stick-C to old Lego Mindstorms Motors and Sensors (Robotic Invention):

                    There I was not fast enough @ajb2k3.

                    @ liemph,
                    and here how you finish the cables : http://www.philohome.com/nxtcables/nxtcable.htm
                    Ready to buy there were also times from the company: https://www.generationrobots.com/de/157-lego-mindstorms

                    Cause I got a couple more ready to go here. But I'll keep them, of course. Since I also have RTX, NXT and EV3 here without end.

                    Ok, those URLs are helpful. Thanks.

                    1 Reply Last reply Reply Quote 0
                    • SkinkS
                      Skink
                      last edited by Skink

                      @liemph,

                      here are some more interesting pages about the RCX.
                      Maybe very interesting for you if you still have so many RCX parts.

                      1. https://www.philohome.com/sdk25/sdk25.htm

                      2. http://www.mralligator.com/rcx/

                      3. http://lego.brandls.info/legbau.htm#code red

                      greetings skink

                      P.S. I'm waiting for two of the X-Base units, they're already on their way to my place

                      I am involved in everything that has to do with automation, including the M5Stack's, a few 3D printers, a CNC mill and a lot of other things. The M5Stack's are all really great, I can't imagine a better prototyping.

                      liemphL 1 Reply Last reply Reply Quote 1
                      • liemphL
                        liemph @Skink
                        last edited by

                        @skink said in Is there an easy way to connect M5Stack or M5Stick-C to old Lego Mindstorms Motors and Sensors (Robotic Invention):

                        @liemph,

                        here are some more interesting pages about the RCX.
                        Maybe very interesting for you if you still have so many RCX parts.

                        1. https://www.philohome.com/sdk25/sdk25.htm

                        2. http://www.mralligator.com/rcx/

                        3. http://lego.brandls.info/legbau.htm#code red

                        greetings skink

                        P.S. I'm waiting for two of the X-Base units, they're already on their way to my place

                        Thank you. For long I have followed the first two links. The third is new to me. Please let me know your impression on the Base X. If I have an NXT Lego then I will certainly by the base.

                        SkinkS 1 Reply Last reply Reply Quote 0
                        • SkinkS
                          Skink
                          last edited by

                          @liemph

                          No need to thank me, of course I will get in touch with you as soon as I have received them !
                          And tell you what my impression of the X-Base is.

                          I am involved in everything that has to do with automation, including the M5Stack's, a few 3D printers, a CNC mill and a lot of other things. The M5Stack's are all really great, I can't imagine a better prototyping.

                          1 Reply Last reply Reply Quote 0
                          • SkinkS
                            Skink @liemph
                            last edited by

                            @liemph

                            I had ordered the BaseX on 13 December 2019.
                            Today finally on 21.01.2020 they arrived at my place.
                            They are working very well, I will test them during the next days and make a little video!

                            Greeting Skink

                            I am involved in everything that has to do with automation, including the M5Stack's, a few 3D printers, a CNC mill and a lot of other things. The M5Stack's are all really great, I can't imagine a better prototyping.

                            liemphL 1 Reply Last reply Reply Quote 0
                            • liemphL
                              liemph @Skink
                              last edited by

                              @skink said in Is there an easy way to connect M5Stack or M5Stick-C to old Lego Mindstorms Motors and Sensors (Robotic Invention):

                              @liemph

                              I had ordered the BaseX on 13 December 2019.
                              Today finally on 21.01.2020 they arrived at my place.
                              They are working very well, I will test them during the next days and make a little video!

                              Greeting Skink

                              Happy Testing !!!

                              1 Reply Last reply Reply Quote 0
                              • SkinkS
                                Skink
                                last edited by

                                I will test it at the weekend but for you @liemph I will test it with the adapters and the old Lego motors !

                                i Get touch as soon as I have tested it, it will only take a little while until Saturday before I can start !!

                                I am involved in everything that has to do with automation, including the M5Stack's, a few 3D printers, a CNC mill and a lot of other things. The M5Stack's are all really great, I can't imagine a better prototyping.

                                1 Reply Last reply Reply Quote 0
                                • SkinkS
                                  Skink
                                  last edited by Skink

                                  @liemph ,

                                  Hello,

                                  As you can see, you can connect all RCX engines and also the power engines to the BaseX and of course the old engines of the NXT as well as the EV3. For the power motors there are also adapters to connect them to the X-Base.
                                  The X-Base can control both the direction of rotation and the speed of the motors.
                                  For sensors you would have to use the M5Stack connectors, which are available!

                                  I hope the test helped you !

                                  Here the link to the video : "https://www.youtube.com/watch?v=xm5Hdaia7po"

                                  greetings skink

                                  I am involved in everything that has to do with automation, including the M5Stack's, a few 3D printers, a CNC mill and a lot of other things. The M5Stack's are all really great, I can't imagine a better prototyping.

                                  liemphL 1 Reply Last reply Reply Quote 0
                                  • SkinkS
                                    Skink
                                    last edited by Skink

                                    @liemph ,
                                    With this adapter and the adapter from power motors to the old ones you can also make NXT or EV3 motors from the old motors which you can drive exactly on angle ! (http://www.mindsensors.com/ev3-and-nxt/19-glidewheel-pf-and-rcx-motor-controller-for-nxt-or-ev3-)

                                    greetings skink

                                    Video (https://www.youtube.com/watch?v=W1jNzYjn_bc&feature=youtu.be)

                                    I am involved in everything that has to do with automation, including the M5Stack's, a few 3D printers, a CNC mill and a lot of other things. The M5Stack's are all really great, I can't imagine a better prototyping.

                                    1 Reply Last reply Reply Quote 0
                                    • SkinkS
                                      Skink
                                      last edited by

                                      You will need the following cables :

                                      1. this one from NXT/EV3 to PF Power motor connector
                                        (https://www.generationrobots.com/de/401189-cable-nxt-to-pf.html)

                                      2. this one from PF Power Motor Connection to the old motors
                                        (https://www.robot-advance.com/EN/art-extension-wire-8-20-cm-lego-power-functions-8886-en-777.htm)

                                      Greeting skink

                                      I am involved in everything that has to do with automation, including the M5Stack's, a few 3D printers, a CNC mill and a lot of other things. The M5Stack's are all really great, I can't imagine a better prototyping.

                                      liemphL 1 Reply Last reply Reply Quote 0
                                      • liemphL
                                        liemph @Skink
                                        last edited by

                                        @skink said in Is there an easy way to connect M5Stack or M5Stick-C to old Lego Mindstorms Motors and Sensors (Robotic Invention):

                                        @liemph ,

                                        Hello,

                                        As you can see, you can connect all RCX engines and also the power engines to the BaseX and of course the old engines of the NXT as well as the EV3. For the power motors there are also adapters to connect them to the X-Base.
                                        The X-Base can control both the direction of rotation and the speed of the motors.
                                        For sensors you would have to use the M5Stack connectors, which are available!

                                        I hope the test helped you !

                                        Here the link to the video : "https://www.youtube.com/watch?v=xm5Hdaia7po"

                                        greetings skink

                                        Thanks, a very nice video that explains everything I wanted to know. The encoder signal is also used by the Base is impressive. This feedback is important for a serious project.

                                        1 Reply Last reply Reply Quote 0
                                        • liemphL
                                          liemph @Skink
                                          last edited by

                                          @skink said in Is there an easy way to connect M5Stack or M5Stick-C to old Lego Mindstorms Motors and Sensors (Robotic Invention):

                                          You will need the following cables :

                                          1. this one from NXT/EV3 to PF Power motor connector
                                            (https://www.generationrobots.com/de/401189-cable-nxt-to-pf.html)

                                          2. this one from PF Power Motor Connection to the old motors
                                            (https://www.robot-advance.com/EN/art-extension-wire-8-20-cm-lego-power-functions-8886-en-777.htm)

                                          Greeting skink

                                          Ok, this is another interesting way not to throw away old Lego motors. I am challenged to make those connectors. Awesome. Thanks.

                                          1 Reply Last reply Reply Quote 0
                                          • SkinkS
                                            Skink
                                            last edited by

                                            The encoder signal is displayed very accurately and also evaluated very precisely. Of course also with the NXT motors and EV3 motors. I will see that I make a video the days once again where you can see how precisely he drives the set values.
                                            @liemph
                                            I will then connect a NXT motor and run it on different values of the encoder! The GlideWheel PF and RCX motor controller for NXT or EV3 cannot be mounted directly on the old motors, because it is designed for the power motors (on these it is mounted with two pins), but you can mount it somewhere in the system on the shaft of the motor. So you can make an encoder motor out of any Lego motor.

                                            I am involved in everything that has to do with automation, including the M5Stack's, a few 3D printers, a CNC mill and a lot of other things. The M5Stack's are all really great, I can't imagine a better prototyping.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post