Simultaneously bluetooth remote and run program

Discussion specific to projects ideas and support.
Post Reply
timmeistah
Posts: 1
Joined: 16 Sep 2011, 20:29

Simultaneously bluetooth remote and run program

Post by timmeistah »

Hello,

I'm a student on a hogeschool in the Netherlands. We're working with lego NXT mindstorms for a project. However I'm using my phone (minddroid and other applications) to drive with the NXT, but I don't know how I simultaneously run a program. For example, I drive it over a black line with the remote, and because the program is running, the sensor sees in the program that if it drives over a black line, it has to stop.

I really hope you could help me with this problem.
Thanks in advanced!

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

Re: Simultaneously bluetooth remote and run program

Post by timpattinson »

You'll need to find an app that will send messages to an inbox on the NXT.
This means that the app does not actually interfere with the program moving the motors, but allows the program to recieve info form the app
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/
divx118
Posts: 1
Joined: 29 Oct 2011, 08:52

Re: Simultaneously bluetooth remote and run program

Post by divx118 »

timpattinson wrote:You'll need to find an app that will send messages to an inbox on the NXT.
This means that the app does not actually interfere with the program moving the motors, but allows the program to recieve info form the app
Hi,

Writing my own app wouldn't be a problem, just wondering if there is any documentation on how to do this in android and how to read the inbox on the mindstorm.
Is something like this already done in minddroid (didn't look at the source yet)?

Thanks in advance,

Maurice
bccyuen
Posts: 2
Joined: 04 Nov 2011, 01:50

Re: Simultaneously bluetooth remote and run program

Post by bccyuen »

Hi,

I recently made an Android phone app, named NXT Pad to do the similar thing. It can send out 1-9 value to the Bluetooth mailbox of the NXT brick connected with the phone. You may find and download it on Andriod Market, and visit the app's website for more details, and sample NXT-G code. Please don't forget to rate and review the app once you've started using it.

Thanks,
Billy
Post Reply

Who is online

Users browsing this forum: No registered users and 19 guests