Page 1 of 1

Bluetooth mouse/PC/NXT

Posted: 10 Oct 2012, 07:33
by derek999
Given that the NXT can 'talk' with two other NXT using bluetooth, is it possible to set up a three way link between a NXT, PC and a bluetooth mouse?
My idea is to build maybe a robot bulldozer, have the NXT program control the robot movements and the mouse tell it what to do. The PC could 'listen in' with a program and show diagnostics from the robot.

Re: Bluetooth mouse/PC/NXT

Posted: 10 Oct 2012, 07:51
by HaWe

Re: Bluetooth mouse/PC/NXT

Posted: 10 Oct 2012, 12:52
by hassenplug
derek999 wrote:Given that the NXT can 'talk' with two other NXT using bluetooth, is it possible to set up a three way link between a NXT, PC and a bluetooth mouse?
Yes and No.

While you should be able to connect to a bluetooth mouse from the NXT, the mouse would use a HID (Human Interface Device) protocol (language) while the NXT uses SPP (Serial Port Profile) protocol.

They don't speak the same language.

However it would be very possible to send the commands from the mouse, through the PC to the NXT. Your PC program could not only monitor what the NXT is doing, but also what the mouse it doing. I think that's the approach I'd take.

Steve

Re: Bluetooth mouse/PC/NXT

Posted: 10 Oct 2012, 13:31
by HaWe
that's exactly how the program works which I linked to above.