Having trouble getting two bricks to talk via bluetooth...

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.
Post Reply
maglab
Posts: 5
Joined: 22 Oct 2011, 23:39

Having trouble getting two bricks to talk via bluetooth...

Post by maglab »

Hello! I've only recently started working with NXT robots and I'm having a bit of trouble.

I want my two bricks to talk to each other - just to send information. I wrote a simple test program in which one sends the other a message and the second one signals that it has received it. But I can't even get to the point of testing it because they fail to connect at all.

All the instructions I've seen say something like: make sure both have bluetooth on and are set to visible, go into 'search' and, when it is done, select 'NXT' and then '1'. It will say connecting, then ask for a pass code on both machines.

But the last thing doesn't happen, it just says 'failed.' Could somebody please tell me what I'm doing wrong?
mattallen37
Posts: 1818
Joined: 02 Oct 2010, 02:19
Location: Michigan USA
Contact:

Re: Having trouble getting two bricks to talk via bluetooth...

Post by mattallen37 »

Well, I think you only have to "search" from the one you want to be the master.
Matt
http://mattallen37.wordpress.com/

I'm all for gun control... that's why I use both hands when shooting ;)
maglab
Posts: 5
Joined: 22 Oct 2011, 23:39

Re: Having trouble getting two bricks to talk via bluetooth...

Post by maglab »

I did only search on the master. It said 'failed.'
mattallen37
Posts: 1818
Joined: 02 Oct 2010, 02:19
Location: Michigan USA
Contact:

Re: Having trouble getting two bricks to talk via bluetooth...

Post by mattallen37 »

And you turned on BT on them both? Do you have them within several feet of each other? Make sure you aren't connected to the computer with BT on either of them.
Matt
http://mattallen37.wordpress.com/

I'm all for gun control... that's why I use both hands when shooting ;)
maglab
Posts: 5
Joined: 22 Oct 2011, 23:39

Re: Having trouble getting two bricks to talk via bluetooth...

Post by maglab »

I made sure BT was turned on on both, they're as close as two gameboys trying to mystery gift, and I don't even have BT set up on my computer.
mattallen37
Posts: 1818
Joined: 02 Oct 2010, 02:19
Location: Michigan USA
Contact:

Re: Having trouble getting two bricks to talk via bluetooth...

Post by mattallen37 »

You could update the firmware to the latest version to be sure it isn't hindering things.
Matt
http://mattallen37.wordpress.com/

I'm all for gun control... that's why I use both hands when shooting ;)
maglab
Posts: 5
Joined: 22 Oct 2011, 23:39

Re: Having trouble getting two bricks to talk via bluetooth...

Post by maglab »

I updated the firmware, and it works! Yay!
Oddly, though, it doesn't do it the way I was given to believe it would (confirmation dialog on both machines). Doesn't matter, though, it acknowledges the signal!
Thank you!
mattallen37
Posts: 1818
Joined: 02 Oct 2010, 02:19
Location: Michigan USA
Contact:

Re: Having trouble getting two bricks to talk via bluetooth...

Post by mattallen37 »

Great :D

Yeah, I don't think they both normally ask for confirmation. Anyhow, it should be even easier now to connect, since they have paired once.

What do you plan on doing with the NXTs now? Please post about your project(s) here on mindboards!
Matt
http://mattallen37.wordpress.com/

I'm all for gun control... that's why I use both hands when shooting ;)
maglab
Posts: 5
Joined: 22 Oct 2011, 23:39

Re: Having trouble getting two bricks to talk via bluetooth...

Post by maglab »

I will do, this seems like an excellent place for discussion!
mattallen37
Posts: 1818
Joined: 02 Oct 2010, 02:19
Location: Michigan USA
Contact:

Re: Having trouble getting two bricks to talk via bluetooth...

Post by mattallen37 »

:) Indeed it is.
Matt
http://mattallen37.wordpress.com/

I'm all for gun control... that's why I use both hands when shooting ;)
Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 1 guest