View unanswered posts | View active topics It is currently Sun Aug 31, 2014 5:14 am






Reply to topic  [ 22 posts ]  Go to page 1, 2  Next
Can't connect via Bluetooth! 
Author Message
Expert
User avatar

Joined: Tue Oct 14, 2008 7:16 pm
Posts: 171
Location: Investigating an unidentified ship sighted in Sector 31428
Post Can't connect via Bluetooth!
This may not actually belong here but as our team uses RobotC it seems appropriate, if not please direct me elsewhere.

After returning from our first regional we found that we can't connect to the NXT, the one used in the competition, over bluetooth. As before I went into the Windows Bluetooth panel and registered, for lack of a better word, the brick. It goes through the normal process of installing and registering the incomming and outgoing comm ports, etc.

I then start RobotC and attempt to connect to the brick. It shows the brick with one of the comm ports at the end of the usuall unintelligible string of characters, but when I try to connect it says it can't find a brick. A refresh of the lists shows the brick but no registered comm port. The Windows panel shows a "New Device" and under its properties no comm ports are registered even though I know it registered them.

Our fearless leader believed it was the FTCconfig.txt file and so did I at first, but now I'm not so sure, it seems like this is a deeper problem. Did something get altered at the competition that could be causing this? Is this a Windows problem? I'm running XP SP3 and the bluetooth dongle is the one FIRST provided, the one I've been using all along. :breakcomputer:

_________________
Captain, Head programmer, School of the Arts, Silverbots Robtics Team #2890
Code:
using namespace System;
using namespace Genius;
using namespace Personality;
public ref class Nerd : Geek, IAnserable
{
    Geek::Type brainMode = Geek::Type::Programmer;
}


Wed Jan 21, 2009 7:38 pm
Profile
Novice

Joined: Thu Oct 09, 2008 7:58 pm
Posts: 79
Post Re: Can't connect via Bluetooth!
Well,

Your first way would be to establish that your robot is making a connection with a computer at all. Try hooking up the brick with a USB and then properly breaking the connection.

If that doesn't work, try going the other way. Set up your dongle and equipment, then on your NXT search for devices or controls via bluetooth. (Although I'm not sure if this is correct...). But it's worth a shot.


Wed Jan 21, 2009 8:43 pm
Profile
Expert
User avatar

Joined: Tue Oct 14, 2008 7:16 pm
Posts: 171
Location: Investigating an unidentified ship sighted in Sector 31428
Post Re: Can't connect via Bluetooth!
I can connect to the computer via USB fine, its as if for whatever reason Windows is forgetting the comm port assignments it just doled out.

_________________
Captain, Head programmer, School of the Arts, Silverbots Robtics Team #2890
Code:
using namespace System;
using namespace Genius;
using namespace Personality;
public ref class Nerd : Geek, IAnserable
{
    Geek::Type brainMode = Geek::Type::Programmer;
}


Wed Jan 21, 2009 9:32 pm
Profile
Novice

Joined: Thu Oct 09, 2008 7:58 pm
Posts: 79
Post Re: Can't connect via Bluetooth!
Then are you saying that when you insert the dongle and try to connect, the computer drops the dongle entirely? or it just won't recognize the NXT?


Wed Jan 21, 2009 9:37 pm
Profile
Expert
User avatar

Joined: Tue Oct 14, 2008 7:16 pm
Posts: 171
Location: Investigating an unidentified ship sighted in Sector 31428
Post Re: Can't connect via Bluetooth!
No, it sees the NXT and I can set up a connection through the Windows panel, it installs and registers I believe 3 comm ports through which communiction occurs. When you go to connect in RobotC the address, for lack of a better word, of the brick is displayed i.e. B234:92Bc:.....:20. The number at the very end is a comm port, either incomming or outgoing I'm not sure which. When I try to connect, I get an "Unable to locate brick" message. I refresh the lists and the comm port at the end of the address is gone, translation, no connection can be made becuase the computer doesn't know where to route the messages.
In short the NXT is seen but cannot be communicated with.

_________________
Captain, Head programmer, School of the Arts, Silverbots Robtics Team #2890
Code:
using namespace System;
using namespace Genius;
using namespace Personality;
public ref class Nerd : Geek, IAnserable
{
    Geek::Type brainMode = Geek::Type::Programmer;
}


Wed Jan 21, 2009 9:50 pm
Profile
Site Admin
Site Admin

Joined: Wed Jan 24, 2007 10:42 am
Posts: 602
Post Re: Can't connect via Bluetooth!
Try these steps.

1. Delete all bluetooth connection history in the Windows Control Panel
2. Reset the internal bluetooth on the NXT. FIRST has a nice quick guide to show you how to do this: http://www.usfirst.org/uploadedFiles/Co ... t_BT-1.pdf
3. Move the bluetooth adaptor to a different USB port
4. Open ROBOTC and download a program over the USB link. Once the program is downloaded, close the debugger.
5. Disconnect the USB from the NXT and try downloading your program again... ROBOTC will try to connect via bluetooth.

The other thing you can do is watch the Control Panel Bluetooth menu's connections and make sure that windows is starting the Serial Port Service for the NXT device.

_________________
Timothy Friez
ROBOTC Developer - SW Engineer
tfriez@robotc.net


Fri Jan 23, 2009 11:44 am
Profile
Rookie

Joined: Mon Feb 16, 2009 6:00 pm
Posts: 1
Post Re: Can't connect via Bluetooth!
I am having the same problem. I tried your troublshooting but it did nothing. Also some computers can connect but others can't. do you have any idea what could be causing this?


Mon Feb 16, 2009 6:04 pm
Profile
Novice

Joined: Thu Oct 09, 2008 7:58 pm
Posts: 79
Post Re: Can't connect via Bluetooth!
What's your connecting process? I helped another FTC team the other day, and they were using an EXTREMELY long process...


Mon Feb 16, 2009 8:33 pm
Profile
Expert
User avatar

Joined: Tue Oct 14, 2008 7:16 pm
Posts: 171
Location: Investigating an unidentified ship sighted in Sector 31428
Post Re: Can't connect via Bluetooth!
My process, is in my opinion, rather streamlined.
1) Using the Windows bluetooth panel I create a link to the NXT, this registers the com ports and services for the brick. I only do this if I have redownloaded firmware, a process that usually changes the address of the brick, otherwise this is a one time process. We regularly switch between ROBOTC and LoopieView, hem I mean, RobotC and LabView. I prefer the former while fearless leader likes the later.
2) Open RobotC and connect to the brick using the Link Setup dialog.
3) Proceed to program, test, and curse to hearts content when program fails to do what it was told to do.

My problem occurs at step 2. After selecting the brick from the avalible list and clicking Select, it thinks about it and then says thows up an error message saying, "No bricks could be opened" or something to that effect; after hitting Refresh Lists the same brick appears but is missing the com port asignment that was previously tacked on the end of the address displayed in the list. An examination of the Properties for the brick, accessed through the bluetooth panel shows that there are indeed no com ports registered. This is despite the fact that I know they were. Subsequent attempts to create a connection only make the matter worse.

_________________
Captain, Head programmer, School of the Arts, Silverbots Robtics Team #2890
Code:
using namespace System;
using namespace Genius;
using namespace Personality;
public ref class Nerd : Geek, IAnserable
{
    Geek::Type brainMode = Geek::Type::Programmer;
}


Mon Feb 16, 2009 11:23 pm
Profile
Novice

Joined: Thu Oct 09, 2008 7:58 pm
Posts: 79
Post Re: Can't connect via Bluetooth!
Hm... Well, I generally don't even register the NXT on the bluetooth panel. I just turn it on and go to Link Setup...maybe try that.

Also, are you using the bluetooth dongle?


Tue Feb 17, 2009 6:18 pm
Profile
Novice

Joined: Tue Jan 13, 2009 5:22 pm
Posts: 72
Location: USA, Pennsylvania
Post Re: Can't connect via Bluetooth!
BlueSoleil is a option but is not free (trial for 30days). http://bluesoleil.com/
Please don't claim me for Pirating but I use BlueSoleil cracked. I'm not using RobotC pirated.

_________________
We need a Linux Version!


Tue Feb 17, 2009 7:54 pm
Profile WWW
Expert
User avatar

Joined: Tue Oct 14, 2008 7:16 pm
Posts: 171
Location: Investigating an unidentified ship sighted in Sector 31428
Post Re: Can't connect via Bluetooth!
Sunny1261 wrote:
Hm... Well, I generally don't even register the NXT on the bluetooth panel. I just turn it on and go to Link Setup...maybe try that.

Also, are you using the bluetooth dongle?


Yes, I am using the dongle provided by FIRST and yes I have tried simply connecting straight from the Link Setup dialog but the same thing happens, no connection can be made.

_________________
Captain, Head programmer, School of the Arts, Silverbots Robtics Team #2890
Code:
using namespace System;
using namespace Genius;
using namespace Personality;
public ref class Nerd : Geek, IAnserable
{
    Geek::Type brainMode = Geek::Type::Programmer;
}


Wed Feb 18, 2009 12:04 am
Profile
Rookie
User avatar

Joined: Sat Feb 14, 2009 5:59 pm
Posts: 22
Post Re: Can't connect via Bluetooth!
have you tried to reinstall the drivers for the bluetooth dongle?

better yet, have you even downloaded the NXT firmware through the USB cable?

_________________
Lead Programmer for Team COV-0651.


Mon Mar 02, 2009 5:20 pm
Profile
Expert
User avatar

Joined: Tue Oct 14, 2008 7:16 pm
Posts: 171
Location: Investigating an unidentified ship sighted in Sector 31428
Post Re: Can't connect via Bluetooth!
Yes I've trired removing and reinstalling the bluetooth drivers as well as the NXT drivers. I can connect over the USB however.

_________________
Captain, Head programmer, School of the Arts, Silverbots Robtics Team #2890
Code:
using namespace System;
using namespace Genius;
using namespace Personality;
public ref class Nerd : Geek, IAnserable
{
    Geek::Type brainMode = Geek::Type::Programmer;
}


Wed Mar 04, 2009 5:50 pm
Profile
Novice

Joined: Fri Oct 24, 2008 8:58 am
Posts: 87
Post Re: Can't connect via Bluetooth!
Wow, this is still an issue? It had been a while since you posted last so I figured you had worked it out...there's got to be some reason this isn't working right.

Does your bluetooth work with any of these?
1. FMS
2. Lego Mindstorms (NXT-G)
3. LabView
4. RobotC


Wed Mar 04, 2009 8:26 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 22 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.