1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

Simultaneously bluetooth remote and run program

Discussion specific to projects ideas and support.

Simultaneously bluetooth remote and run program

Postby timmeistah » 16 Sep 2011, 20:30

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
timmeistah
 
Posts: 1
Joined: 16 Sep 2011, 20:29

Re: Simultaneously bluetooth remote and run program

Postby timpattinson » 26 Sep 2011, 03:45

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/
User avatar
timpattinson
 
Posts: 224
Joined: 30 Oct 2010, 04:10
Location: 127.0.0.1

Re: Simultaneously bluetooth remote and run program

Postby divx118 » 29 Oct 2011, 09:04

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
divx118
 
Posts: 1
Joined: 29 Oct 2011, 08:52

Re: Simultaneously bluetooth remote and run program

Postby bccyuen » 04 Nov 2011, 02:35

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
bccyuen
 
Posts: 2
Joined: 04 Nov 2011, 01:50


Return to Mindstorms Projects

Who is online

Users browsing this forum: No registered users and 0 guests