Autonommus LEGO NXT robot

Hi, I have 2010 LabView and NXT module for labview 2010

I runnig a bit of line follower robot a GUI (a XY chart in the front panel) programmed in Labview, but when I disconnect the USB my robot Don t work at all, so I guess that the program is running on the computer and send just kind of commands to the robot, but I want to do an autonomous robot because you know a litle Dingo goes behind the robot my laptop whit, also I Don t have the dongle Bluettooth =)

Is it possible to:

(1) make your NXT code in Labview

(2) download the code for the NXT brick

(3) disconnect the USB cable from the computer and the NXT brick

(4) run the program without a computer

I m sure it s posibble and maybe this is a silly question but I can´t find a way to make it work by miself, thanks for the answer! = D

Best regards

Diego

Hi Diego,.

You must change the "target" of your program of line follower.

With your connected NXT brick, go in the file menu of your program and select "target to NXT.

The lower left corner of your window should turn on orange to display the name of the NXT that you will shoot.

You can right click it to switch/scan nxts as well.

Once you target, you can use the button to compile, download and run your program.

-Ethan

Tags: NI Products

Similar Questions

  • Bluetooth connection with the Lego Mindstorms NXT robot

    Hello
    I got a license for Bluetooth Stack for Windows by Toshiba.
    I try to connect to the Lego Mindstorms NXT robot: http://mindstorms.lego.com/en-us/default.aspx
    But it does not work.
    The connection seems to be good and NXT and PC to find them, but when I try to connect, the NXT said "the line is busy".
    Is someone can tell me if he can get through this issue?
    Toshiba and Lego have an agreement on the connection of the questions?
    Thank you.

    Hello

    Do you have Toshiba notebook or just use the Toshiba BT stack?

    How to pass through this issue? Should anyone of us spent 250 Euros to buy it and test it at home? Dear oracid it's user forum and you can get help from someone who has the same home equipment and can help you with his experience.

    Agreement between Toshiba and Lego in my opinion it is not problem. Any manufacturer who build material and want to use BT must know how it works. On the market of equipment, there are specific characteristics for each communication technology and what do we do Toshiba is to build and offer the specified material.

    In your case, you must contact the Lego support and ask for help. they, no doubt, tested own stuff with different hardware platforms, the operating systems and software BT so Lego should have enough experience with own products.

  • BlackBerry Storm 2, Bluetooth and Lego NXT

    RIM has developed an application that allows the Storm 2 to remote control a robot Lego NXT via Bluetooth.  It has been the demonstration had conferences in 2009 and 2010.  The application has already been posted\shared for the community? Or is it available at retail?

    The 2009 BlackBerry® Developer Conference participants had the opportunity of robots LEGO® MINDSTORMS race using smartphones BlackBerry Storm2 for a chance to win fabulous prizes!

    http://www.YouTube.com/watch?v=cV5JdVeDCCc&feature=related

    Explanation of day developer Robot at the Mobile World Congress 2010, Barcelona
    LEGO robots controlled by the Smartphones from BlackBerry Storm 2

    http://www.YouTube.com/watch?v=DagWt-xX_dY&Nr=1

    Welcome on the support forums.

    to my knowledge, it has been without this release.

    You can write to [email protected] to ask them if they maybe want to share code. or, if you know who was responsible for this you can try to contact them directly.

    Maybe some fun code to see, I guess, but I don't know if it would be very useful

  • Interfacing engine Lego NXT sbRIO-9636 Eval Board

    Hello

    As a newbie to sbRIO, I would build a simple Quadrature counter.

    Recently, I attended the great build your own Embedded system workshop and have a sbRIO-9636 running a updated the Quadrature counter sample project AND originally designed for the sbRIO-9631.  He works a lot using the digital encoder built into the daughter card.

    Then, I want to use a Lego Mindstorms NXT motor (PN 9842) encoder.  I will feed the outboard motor so for now I just up/down count the encoder.  Here is the wiring that I intend to use on the map of my daughter:

    Channel that has the encoder (yellow wire) will go to DI2
    Channel B (blue wire) of the encoder will go to the DI3
    Common 0V (red wire) goes to DGND
    + 5V (green wire) will go?

    So my question: is there a point on the map the sbRIO-9636 girl, I can securely connect to for + 5V power of encoder?  Moreover, these colors of son are Lego Mindstorms extension cables when they are cut and stripped.

    Any help would be appreciated!
    jimmyservo

    According to the quick reference for the sbRIO 9636: http://www.ni.com/pdf/manuals/375933a.pdf

    There seems to be + 5V on 49 and 50 of the J502 connector pins. This connector is available, or you use a daughter card?

    Other options would be more hackers IMO, such as the drawing of the USB connector 5V.

  • Installation of LEGO NXT - G 1.1 or 2.0 on mac OSX 10.6

    LabView Hello, I recently made a new installation of Mac OS x 10.6 Snow Leopard

    Since then, I am unable to install the LEGO Mindstorms NXT - G (LabView) 1.1 software

    It seems that the same is true for the latest version of NXT - G 2.0

    In both cases, a State of dialog that the installation was successful, but the application folder only has a record of engine and couple other files, but no application ICON

    No idea if a patch 10.6 is underway to install either sofware NXT - G on my mac?


  • LEGO NXT - Servo continuous VI error


    post in the right forum---> http://forums.ni.com/t5/LabVIEW-for-LEGO-MINDSTORMS-and/bd-p/460

  • LEGO Self Balancing Robot algorithms

    I would get the algorithms & software used for the Lego NXT self balancing
    robot that has been demonstrated by us Saha (spelling?) during the FIRST
    robotics competition.  I searched the site but can't find
    information related to the algorithm or even the software.  If you
    could help provide this information I would be very happy.
    Thank you, Jon Hauris

    I'm not sure of which showed an Anu, but here is a link to a really nice solution of an individual balancing NXT using a gyroscope.

    It is a student of the Fachhochschule Nordwestschweiz in Switzerland project. They have created two versions:

    1. Download VI for the NXT and let it run stand-alone
    2. Run the VI on the host computer by using a USB to the NXT connection (this way you see all the command parameter more it offers management port)

    http://projekte6.FHNW.ch/Technik/EIT/Herbst2007/BruWid/

    You will find screws, videos and more on the page of the project (in German).

  • LABVIEW NXT LEGO firmware issue

    Hello world

    I'm trying to connect with labview NXT LEGO mindstorm robot, I installed the latest version of LABVIEW toolkit. but when I tried to connect the NXT it gives me this error that I do not understand why, because I have the latest version of the toolkit installed on my PC with LABVIEW 8.6 and updated in NXT firmware to 1.05. even if I tried with 1.04 and 1.02, but it is still giving me the same error (attached). anyone has idea what's wrong on my side?

    Thank you

    forward

    Concerning

    Hussain...

    The latest version of NXT kit is 2.0, which was released recently. If you use this version of the Toolkit, the firware version should be 1.26. If you have installed NXT toolkit 2.0, you can update your firmware 1.26 using tools > NXT Modules > firmware update.

    To download 2.0, please follow the instructures on this page:

    http://zone.NI.com/DevZone/CDA/tut/p/ID/4435

    Please let us know if this solves the problem.

  • comunication between lego - pc

    Hello
    I had a BT program that runs on the NXT to read a gyroscope.
    But now I want to do another program on the computer, in which I need to know the values of the gyroscope.
    So I want that the NXT somehow sent the data to the pc values.
    I don't know which is the best way to do it, if only with messages from BT, or with an excell file...

    Can someone give me an idea?

    Thank you

    youchange wrote:
    So I want that the NXT somehow sent the data to the pc values.
    I don't know which is the best way to do it, if only with messages from BT, or with an excell file...

    Book by Michael Gasperi, "LabVIEW for LEGO NXT MINDSTORSM" has examples of both.  Chapter 15, it shows how write a program on the NXT that stores data in a file so that you have a program on the host computer, waiting for the file to appear and then it downloads on the PC.  On the NXT you just use open file for writing, write the file, close the file. On the PC, you use upload queue to the block of PC to get the data. You can also use the PC to control the NXT and say it starts running, etc...

    With bluetooth, you can use send/receive messages a message from both sides.

  • NXT ToolKit

    Hello I am writing a program to my NXT, and I want to run certain software on the NXT with labVIEW. How would I do that?

    rockshot2 wrote:

    Hello I am writing a program to my NXT, and I want to run certain software on the NXT with labVIEW. How would I do that?

    Hey Rockshot2,

    You can download a toolkit for LabVIEW that allows to drive brick LEGO NXT to this URL. This add-on allows you to interface with the brick as you would with the MINDSTORMS program but with all the power of LabVIEW.

    In addition, just a heads up, I saw that you posted this question under several headings. Please try to not do that, because your questions will always be answered with just one!

  • Use ContinousPDF.vi with NXT blocks

    Hi all

    I'm programming an alogrithm location, which uses the ContinousPDF.vi to trace the current location of the robot that follows a Gaussian distribution. The problem is that the VI that uses the ContinousPDF.vi is developed in order to make a NXT Robot. This VI uses NXT bloks. The combination of this block with the PDF it does not work.

    Is it possible to fix this?

    Thank you!

    Sorry, the link to the Forum does not work. I enclose a photo

  • Need to download LV 7.1 to develop blocks NXT

    I want to develop some of the blocks of LEGO NXT.

    I found the NXT Module to do this, but apparently I can only use it with LV 7.1

    I have LV8.6.1 all the way up to LV2010, but not of 7.1

    It is downloadable anywhere?

    Phil.

    You can request a copy here.  I did a couple of years back and they sent me a copy under license by mail.

  • Someone knows how to fix a corrupted file mib.cab? 2350 error code? The result of the installation failed for Mindstorms NXT 2.0 on computer vista laptop, service pack 2.

    Tried to install the Lego NXT 2.0 software (programming robotics), a message "file 'mib.cab' required for this installation is corrupt and cannot be used.  A message gives the error code 2350.  Someone knows how to fix a corrupted file mib.cab?

    Try in the Forum of programs:

    http://social.answers.Microsoft.com/forums/en-us/vistaprograms/threads

    See you soon.

    Mick Murphy - Microsoft partner

  • What is the .rxe file extension

    Is someone can you please tell me what is the .rxe file extension?  I received the NXT robot autonomous OR (Switzerland) some files and their files have been compressed with rar.  When I unzipped brought the files .rxe.  I don't know what type of file this is.  I'm completely new to Labview, so maybe they are afflicted a Labview file?
    Thank you, Jon Hauris

    RXE files are generated by the LEGO MINDSTORMS programming environment (also called NXT - G; it is based on LabVIEW but not equivalent).  These files contain binary data representing a MINDSTORMS program.  To open them, you need the LEGO software.

    This comparison can also help clarify:

    *. RXE is the format of binary file for LEGO MINDSTORMS NXT - G)

    *.VI is the file format binary for LabVIEW

    .doc for Microsoft Word binary file format is

  • JavaFX vs JMF/JHA?

    Hello!

    I'm working on an autonomous LEGO Mindstorm NXT robot who should use a webcam on a tripod, as a means of navigation through an obstacle course (video capture with webcam sent to the robot via Bluetooth) connected to a laptop-> analysis of photo/video on laptop-> algorithmic detection of movement/direction on laptop. For this I was looking for tutorials on Java Media Framework (JMF) and Java Advanced Imaging, but then fell on a JavaFX.

    As I also discovered that JMF, apparently, was discontinued in 2001, I would have preferred to learn and work with a more current API that JavaFX, on paper, sounds like exactly that.

    Before I delve more in JavaFX, can someone please give a quick recommendation on whether or not JavaFX would be good API for me to work with, given record criteria above? Also, if this is the case, what are some good resources to start, given that I intend to use it for?

    Thank you! :)

    I once worked on a project like that, it worked by looking not for the video stream, but instead that he used a snapshot on the webcam feature to create images that can be analyzed. This was made to work through Java, somehow, but at the end of the native code was used to make the image loading and analysis because the performance was not good enough using ImageIO.

    To your question: do not use JMF as indeed he died like a stiff. A simple google for 'java webcam' provides alternative methods, however, like this:

    http://LTI-civil.org/

    Post on the Forum with the example code:

    How to control a webcam in JFX app?

Maybe you are looking for