To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 25863
25862  |  25864
Subject: 
Re: NXT to NXT communication?
Newsgroups: 
lugnet.robotics
Date: 
Thu, 4 May 2006 04:25:47 GMT
Viewed: 
3293 times
  
In lugnet.robotics, Tim Byrne wrote:
Steve, your remote is pretty cool.

It’s a great idea if you have more than one NXT.  I checked with my purchasing
manager (my wife) and I don’t think my request for capital expenditure will be
approved for more than one NXT this year.

Yes, that's a tough one...

With that in mind, has anyone
experimented with creating a remote using a computer peripheral (such as a
gamepad/joystick/mouse connected to a Bluetooth enabled PC) ?

What Bluetooth profiles does the NXT implement?  For example one standard
profile is Human Interface Device (HID).  It’d be interesting to create a
computer interface out of LEGO for my laptop, such as a NXT mouse or keyboard.
Or something like a NXT barcode scanner that types the number on a PC via a HID
interface (there are some commercial barcode scanners that work that way).

I've played around with a few ideas using bluetooth.  In addition to the
NXT->NXT remote, I wrote a program for my Bluetooth enabled PDA using eVB.  Jim
Kelly actually has a screenshot in his blog <http://thenxtstep.blogspot.com/>
under "FLL - Posting 8".  It just acts as a simple remote control.

I also wrote a couple apps for my laptop.  One moves the robot based on the
movement of the mouse.  I used a Bluetooth mouse, and controlled the NXT
(through my PC).  The NXT does NOT support a HID interface, so it can not access
the BT mouse directly.

Another PC app is a remote just like the PDA remote.  That app also shows the
sensor values on the PC.

All that stuff was pretty easy, because LEGO gave us the exact command
specification.  I suspect that will all be available in their SDKs in August.


At this point, the NXT can not receive messages from a Bluetooth GPS (because
the NXT expects a very specific message format).  However, I do have suggestions
on the best way to implement that, once we get a hold of the Open Source
firmware...  :)

Steve



Message has 2 Replies:
  Re: NXT to NXT communication?
 
I haven't seen any discussion on the performance of the bluetooth messaging. I've measured PC to NXT round trip (send message and receive acknowledgement) as typically being 30 milliseconds. Has anyon else done these measurements and were your (...) (19 years ago, 5-May-06, to lugnet.robotics)
  Re: NXT to NXT communication?
 
(...) <snipity> Jim (...) Did you say SDK?? Please elaborate on this... (19 years ago, 6-May-06, to lugnet.robotics)

Message is in Reply To:
  Re: NXT to NXT communication?
 
(...) Steve, your remote is pretty cool. It’s a great idea if you have more than one NXT. I checked with my purchasing manager (my wife) and I don’t think my request for capital expenditure will be approved for more than one NXT this year. With that (...) (19 years ago, 4-May-06, to lugnet.robotics)

37 Messages in This Thread:













Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    
Active threads in Robotics

 
Verified and Trusted Team of Hackers
20 minutes ago
Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR