• 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.
    • SkulptureS
      Skulpture Izzy Guru
      last edited by

      I will download the mac software and see what I can figure out. I understand it a little better now. Quite cool actually... I've now got a good reason to start playing with Lego again! I loved Lego! How much is a basic starter kit in the UK?

      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
      • bruperB
        bruper
        last edited by

        thanks Skulpture, I bough it trough ebay for £200 a few months ago

        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

          OSC is just a protocol abbreviated as OSC it sends numbers via the range of 0.0 to 1.0.

          If you can get these numbers into your software via the LegOSC then you can apply it to your machine/lego controller(s).
          Its basically a soft hack from what I can gather. 

          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
          • bruperB
            bruper
            last edited by

            this is photo of my set-up with mindstorm
            410988-29072012200.jpg

            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

              I meant the NXT-brick, the Pico-dolly and the Merlin-mount on top

              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

                I wrote to DiABlu this morning and I received already an answer, hope it makes sense to someone:

                "I don't know Isadora, but if it accepts and sends OSC messages that
                you should be able to control the NXT.
                DiABlu is a bit old, so you might need to download recent serial
                communication libraries (I used RXTX) for your system, but it should
                work.
                If you decide to try it out, make sure you launch it from the command
                line so that you have access to the full logging messages. It might
                come in handy if something goes wrong...
                Jorge"

                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

                  Isadora doe send and receive OSC so it looks like its possible.

                  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
                  • bruperB
                    bruper
                    last edited by

                    great, so far so good, I'll need to investigate...

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

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

                      What a great thread. Robotic legos with Isadora -- love it. 😉

                      But just FYI, to correct Graham's statement: "OSC is just a protocol abbreviated as OSC it sends numbers via the range of 0.0 to 1.0." -- actually OSC can send any 32-bit floating point number or integer.
                      The range of floating point numbers are -3.4 × 1038 and +3.4 × 1038. (As the numbers get bigger, you lose precision in digits nearer to the decimal point)
                      The range of integer numbers are -2147483648 to +2147483647
                      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
                      • 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
                                            • First post
                                              Last post