View unanswered posts | View active topics It is currently Fri Sep 18, 2020 8:34 pm

Reply to topic  [ 3 posts ] 
Author Message

Joined: Tue Mar 20, 2007 5:19 pm
Posts: 3
Post Bluetooth
Hi ! :)

Could somebody tell me, how to use BT functions in RobotC - I mean, how to connect with my PC, and for example: send some file from NXT to my PC or something like that?
(I will be gratful if sb will wrote sample source code)

Secound problem: Did somebody wrote program to sends commands via BT to NXT with RobotC firmware from yours PC to NXT ?

... witch models of BT Hardware are working correctly with RobotC Program - I mean, I want to send compiled program to my NXT via BT ?

Thats all for now !:)
Thanks for respond !:)



Tue Mar 20, 2007 5:41 pm

Joined: Sun Mar 04, 2007 3:02 am
Posts: 9
Post Bluetooth
Connecting with bluetooth through robotc is very frustrating, there are some bugs to be worked out. I use an anycom and a belkin adapter . I can connect 100% of the time using the Microsoft drivers and add bluetooth device through the control panel, but if you connect through robotc and the robot goes to sleep you may jump off a bridge before getting the connection to work again. I set sleep time to 30 minutes to avoid the problem.

To communicate via bluetooth you go to NXT Brick, Link Setup, check the search bluetooth box, wait, and then if your brick is powered on, it should show up in the list as BTH: Robot Name:hexadecimal numbers. Select it and it will establish the connection, if you are lucky. It will ask you to push the orange button on the NXT when prompted.

Once you get it to communicate, go through the preferences in advanced mode and tell robotc to try to use the last connection. Also under NXT Brick, Link Setup, uncheck the search bluetooth after you have established the link once, so that you save time establishing a connection.

I have had frustrating problems where RobotC asks to push the orange button to set the passkey, then I push the orange button, and robotc complains that no NXT bricks could be found that very instance. Other thimes the new firmware is flaky and the brick thinks its name is NXT when I turn it on so I power it off and on again and it then remebers its name.

Good Luck

Tue Mar 20, 2007 8:03 pm

Joined: Fri Feb 09, 2007 9:21 am
Posts: 616
There are some underlying problems in the firmware within the Bluetooth chip used by the NXT. This firmware is supplied by the Bluetooth chip provider and cannot be modified. This does cause connection problems. These problems are common to all NXT programming environments that want to communicate via Bluetooth.

Tue Apr 03, 2007 9:15 am
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

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.