Nxt should have an effect on the computer

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.
Post Reply
settess
Posts: 3
Joined: 27 May 2011, 19:54

Nxt should have an effect on the computer

Post by settess »

(Note: I'm german!)
Yes, as I said in the Subject. I want that if I touch the Touch sensor, the Nxt sends a BT message and then the computer will make a *.txt file or something like this.

Thanks for help.

settes
timpattinson
Posts: 224
Joined: 30 Oct 2010, 04:10
Location: 127.0.0.1
Contact:

Re: Nxt should have an effect on the computer

Post by timpattinson »

If you have some Java proficiency, you could make a plugin for NXTender
http://www.tau.ac.il/~stoledo/lego/NXTender/
-Tim
Commit to Lego Mindstorms StackExchange Q&A http://area51.stackexchange.com/proposals/4105
Minboards IRC Channel #mindboards on Freenode
My blog: http://timpattinson.wordpress.com/
settess
Posts: 3
Joined: 27 May 2011, 19:54

Re: Nxt should have an effect on the computer

Post by settess »

Thanks for the answer, I will have a look at this.
settess
Posts: 3
Joined: 27 May 2011, 19:54

Re: Nxt should have an effect on the computer

Post by settess »

That's cool.
But how can I start a programm with this?
timpattinson
Posts: 224
Joined: 30 Oct 2010, 04:10
Location: 127.0.0.1
Contact:

Re: Nxt should have an effect on the computer

Post by timpattinson »

settess wrote:That's cool.
But how can I start a programm with this?
If you (or someone else) wrote a plugin for NXTender
you could send a Bluetooth message to your PC like this FILE file.txt "stuff to put in file"
Alternatively, you could use the NXTHID (http://www.mindsensors.com/index.php?mo ... AGE_id=119)
to fake a USB keyboard and use a Command Prompt window to add text to files
Commit to Lego Mindstorms StackExchange Q&A http://area51.stackexchange.com/proposals/4105
Minboards IRC Channel #mindboards on Freenode
My blog: http://timpattinson.wordpress.com/
Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 7 guests