• Isadora
  • Get it
  • Forum
  • Help
  • ADD-ONS
  • Newsletter
  • Impressum
  • Dsgvo
  • Impressum
Forum
    • Categories
    • Recent
    • Popular
    • Tags
    • Register
    • Login

    MINDSTORM, NXT-G & ISADORA

    Interfacing
    6
    40
    15.6k
    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.
    • bruperB
      bruper
      last edited by

      Thanks Mark, Graham did you by any chance, downloaded the NXT software to have a look? Any help on the OSC connections (Am I greedy?) would be greatly appreciated 🙂

      17"MBP 2.93GHZ Core2Duo mid 2009 - OSX10.11.6 - 8GB, 1TBCrucial_SSD, izzy 3.0.7

      1 Reply Last reply Reply Quote 0
      • G
        gavspav Beta Silver
        last edited by

        I have a mindstorms kit I got off ebay lately to explore with my kids though typically haven't used it that much.

        We made an amazing pinball machine from plans off the website though!
        Bruper if you dig into the Diablu stuff and let me know how to install it I can try to get it to work with Isadora.

        http://www.digitalfunfair.co.uk I'm using M1 MBP 14" mostly but sometimes use older Mac & Windows machines.

        1 Reply Last reply Reply Quote 0
        • G
          gavspav Beta Silver
          last edited by

          I've started looking into this and not surprisingly I think there are a few ways to do it.

          Are you using a mac or a pc. Someone has written a GlovePie script to control the nxt with a wiimote, so it would be possible to adapt this to control it from Isadora via midi/osc/keyboard/take your pick.
          http://www.norgesgade14.dk/bluetoothremote.php
          On a mac maybe it would be possible to get this to work:  http://code.google.com/p/nxtbluetoothbridge/

          http://www.digitalfunfair.co.uk I'm using M1 MBP 14" mostly but sometimes use older Mac & Windows machines.

          1 Reply Last reply Reply Quote 0
          • bruperB
            bruper
            last edited by

            thanks gavspav, I'm using mac, I will investigate, but do you mean this?: http://code.google.com/p/diablu/downloads/detail?name=DiABluLegOSC-0.5.zip&can=2&q=

            17"MBP 2.93GHZ Core2Duo mid 2009 - OSX10.11.6 - 8GB, 1TBCrucial_SSD, izzy 3.0.7

            1 Reply Last reply Reply Quote 0
            • SkulptureS
              Skulpture Izzy Guru
              last edited by

              Nope not downloaded it yet. I will do though. And Mark is 100% right in correcting me I was just keeping it simple. It seems Gav is on the case also! Knew Gav would like this 😉

              Graham Thorne | www.grahamthorne.co.uk
              RIG 1: Windows 11, AMD 7 Ryzen, RTX3070, 16gig RAM. 2 x M.2 SSD. HD. Lenovo Legion 5 gaming laptop.
              RIG 2: Windows 11, Intel i19 12th Gen. RTX3070ti, 16gig RAM (ddr5), 1x M.2 SSD. UHD DELL G15 Gaming laptop.
              RIG 3: Apple rMBP i7, 8gig RAM 256 SSD, HD, OS X 10.12.12

              1 Reply Last reply Reply Quote 0
              • G
                gavspav Beta Silver
                last edited by

                I do like it but I'm not really on the case. Can't think of anything I want to do with it (this week).

                Bruper - one thing I wasn't sure of - does the Diablu stuff work with Nxt or Nxt 2.0 (is there a difference?)

                http://www.digitalfunfair.co.uk I'm using M1 MBP 14" mostly but sometimes use older Mac & Windows machines.

                1 Reply Last reply Reply Quote 0
                • bruperB
                  bruper
                  last edited by

                  good point Gavspav, I just sent an e-mail to Diablu and will let you know as soon as I receive an answer (from my research "...the NXT 2.0 uses Floating Point operations whereas earlier versions use Integer operation.... The 2.0 software has some great additions (.ric creator, datalogging, etc.) but the software isn't that radically different... In terms of programming and i/o ports they are the same... other differences are plastic and wheels bits and pieces..."

                  17"MBP 2.93GHZ Core2Duo mid 2009 - OSX10.11.6 - 8GB, 1TBCrucial_SSD, izzy 3.0.7

                  1 Reply Last reply Reply Quote 0
                  • bruperB
                    bruper
                    last edited by

                    Gavspav, I now received an answer from Diablu: NEXT2

                    17"MBP 2.93GHZ Core2Duo mid 2009 - OSX10.11.6 - 8GB, 1TBCrucial_SSD, izzy 3.0.7

                    1 Reply Last reply Reply Quote 0
                    • G
                      gavspav Beta Silver
                      last edited by

                      I was going to have a look at this today but I couldn't get the mindstorms software to run on my system - I'm on Lion.

                      It returns an error 'unable to open resource files.'
                      A bit of googling suggests its going to eat up time I haven't got.
                      Bruper can you shed any light on this?
                      I used windows before I think - or maybe Snow Leopard - but like I said if you're going to use Windows you can just use the GlovePie script above.
                      The latest stable download of RXTX appears to be the same as the one on Legosc so it looks like you wouldn't need to update the serial library.

                      http://www.digitalfunfair.co.uk I'm using M1 MBP 14" mostly but sometimes use older Mac & Windows machines.

                      1 Reply Last reply Reply Quote 0
                      • bruperB
                        bruper
                        last edited by

                        thanks Gavspav, I'm still in Snow Leopard because with Lion there where problems with other software...  I will try to find out...

                        17"MBP 2.93GHZ Core2Duo mid 2009 - OSX10.11.6 - 8GB, 1TBCrucial_SSD, izzy 3.0.7

                        1 Reply Last reply Reply Quote 0
                        • G
                          gavspav Beta Silver
                          last edited by

                          I've lent my laptop with 10.6 on to someone so looks like I can't try and get it working without a load of grief.

                          What you need to do is first connect to the mindstorms. Then follow the legosc instructions - click on legosc.jar/enter the correct com port.
                          Get the connection set up - I'm guessing the log tab will tell you when you are successfully connected.
                          For the purposes of this test connect a motor to port 1 of the nxt brick.
                          Then set the ports up - for the Legosc port choose anything - say 8001.
                          In the Your Application section enter Isadora and for port enter 1234.
                          Then open Isadora. Open a new file. Go to Isadora>Preferences>Midi/Net and check the OSC Port no. is 1234 - if it isn't  change it to 1234.
                          Close the preferences.
                          You should see an Isadora window labeled untitled. In the search box in the top left type osc.
                          Near the bottom there should be some text labeled OSC transmit. Click and drag it to the big window on the right.
                          You then should have an OSC transmit actor.
                          Click on the 1234 in the port section of that actor - it should turn yellow. Then change it to 8001.
                          Click on isadora in the address section. Change this to one of the addresses that legosc provides eg /motorForward 1 (or if this doesn't work try /motorForward1 - not sure which it is)
                          Then in the search window in top left, type mouse.
                          Drag the Mouse Watcher (near the bottom) into the right hand window.
                          Connect the 'horizontal postion' of the mouse watcher actor to the 'value' of the OSC Transmit actor.
                          You should now be controlling the speed of the lego motor with the horizontal position of the mouse.
                          I've tried to attach an Isadora patch to save you doing that bit but not sure its working. In any case its only 2 actors.
                          Let us know how it goes.

                          929119-lego_blind_test.izz

                          http://www.digitalfunfair.co.uk I'm using M1 MBP 14" mostly but sometimes use older Mac & Windows machines.

                          1 Reply Last reply Reply Quote 0
                          • bruperB
                            bruper
                            last edited by

                            thanks Gavspav, I'm trying.... lets see if I can manage, hopefully, have to investigate as something I'm not familiar with 🙂
                            but I'm thankful

                            17"MBP 2.93GHZ Core2Duo mid 2009 - OSX10.11.6 - 8GB, 1TBCrucial_SSD, izzy 3.0.7

                            1 Reply Last reply Reply Quote 0
                            • SkulptureS
                              Skulpture Izzy Guru
                              last edited by

                              Am I being daft but the lego website is awful; been looking for the mac NXT software for nearly half an hour.... any help?

                              Graham Thorne | www.grahamthorne.co.uk
                              RIG 1: Windows 11, AMD 7 Ryzen, RTX3070, 16gig RAM. 2 x M.2 SSD. HD. Lenovo Legion 5 gaming laptop.
                              RIG 2: Windows 11, Intel i19 12th Gen. RTX3070ti, 16gig RAM (ddr5), 1x M.2 SSD. UHD DELL G15 Gaming laptop.
                              RIG 3: Apple rMBP i7, 8gig RAM 256 SSD, HD, OS X 10.12.12

                              1 Reply Last reply Reply Quote 0
                              • vanakaruV
                                vanakaru
                                last edited by

                                Start here with some good information about installing it

                                https://discussions.apple.com/thread/4158314?start=0&tstart=0
                                Download with Firefox
                                [MINDSTORMS NXT 2.0](http://en-us.kb.lego.com/ics/support/DLRedirect.asp?fileNum=84974&deptID=5622)

                                MBP 4.1 & MBP (Retina, Mid 2012) MBP Retina 2017

                                1 Reply Last reply Reply Quote 0
                                • G
                                  gavspav Beta Silver
                                  last edited by

                                  I downloaded that .iso from your link vanakaru and it appears to install ok!

                                  I still haven't got isadora>nxt communication to work - but quite close.
                                  A few additions to my earlier post. I didn't connect to the nxt brick using the nxt software but just paired via bluetooth. I used ls /dev/tty.* via terminal to find out which com port i was using. /dev/tty.NXT-DevB for me.
                                  I put this into the diablu settings and in the log window it opens the port and starts running the server.
                                  It tells you the address legosc is listening too. You use the ip address in the udp adress section of the osc transmit actor in the isadora window. And the last 4 digit number is the port number.
                                  Not sure why I am giving this advice as as I said I haven't actually got it to work!
                                  I've connected legosc to the nxt brick and am receiving osc data from Isadora but haven't managed to get the motor to move!

                                  http://www.digitalfunfair.co.uk I'm using M1 MBP 14" mostly but sometimes use older Mac & Windows machines.

                                  1 Reply Last reply Reply Quote 0
                                  • bruperB
                                    bruper
                                    last edited by

                                    exciting news gavspav you're  getting closer!

                                    17"MBP 2.93GHZ Core2Duo mid 2009 - OSX10.11.6 - 8GB, 1TBCrucial_SSD, izzy 3.0.7

                                    1 Reply Last reply Reply Quote 0
                                    • G
                                      gavspav Beta Silver
                                      last edited by

                                      Even closer now - got it working with the Pure Data sample patch and Isadora looked like it should work but then the batteries dies in the Nxt brick.

                                      Loads of batteries in them things. Send me some more!

                                      http://www.digitalfunfair.co.uk I'm using M1 MBP 14" mostly but sometimes use older Mac & Windows machines.

                                      1 Reply Last reply Reply Quote 0
                                      • bruperB
                                        bruper
                                        last edited by

                                        are you in London? I can take you some this w/e from Portugal 🙂

                                        17"MBP 2.93GHZ Core2Duo mid 2009 - OSX10.11.6 - 8GB, 1TBCrucial_SSD, izzy 3.0.7

                                        1 Reply Last reply Reply Quote 0
                                        • G
                                          gavspav Beta Silver
                                          last edited by

                                          Ok finally I have some batteries and can now confirm that Isadora and LegoOsc DON'T work together!

                                          For some reason either LegoOsc or the NXT brick don't understand the OSC messages that Isadora is spitting out.
                                          The workaround would be to write some little bridging app in Max or PD that converts say midi to OSC that works. 
                                          A simple if clumsy solution.

                                          http://www.digitalfunfair.co.uk I'm using M1 MBP 14" mostly but sometimes use older Mac & Windows machines.

                                          1 Reply Last reply Reply Quote 0
                                          • markM
                                            mark
                                            last edited by

                                            Dear Gavin,

                                            I can assure you that the OSC messages Isadora sends follow the standard. Have you tried turning off type tags? What kind of messages does the NXT brick expect? Is there any documentation on that?
                                            Best Wishes,
                                            Mark

                                            Media Artist & Creator of Isadora
                                            Macintosh SE-30, 32 Mb RAM, MacOS 7.6, Dual Floppy Drives

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