A common request I get from Teachers is how to use Bluetooth. So common in fact, that I thought it a good idea to make a few video’s outlining how I go about it.
I’ve broken it down into 3 parts
- Part 1: Connecting 2 NXT’s together. This shows you what menu items you need to choose (4:00)
- Part 2: Simple Bluetooth communication. Having an action on one NXT trigger a Bluetooth message to be sent to the other NXT which inturn generates a new action (5:31)
- Part 3: Using one NXT as a remote, to control a second NXT. This requires constant Bluetooth messages to be sent from the Master NXT to the Slave NXT (16:47)
So while these don’t cover *everything* you can do with Bluetooth, I hope it gets people started!
What have you done / would you do, with a Bluetooth connection? Let me know in the comments below.
3 Comments
Comments are closed.
Hello Damien
Thanks for replying. The search continues 🙂
Hi Colin,
Accurately measuring proximity is a really tough challenge. The BT module, as you point out, is very reliable up to 30 feet, but to make things harder there is no way to measure the quality of the signal to infer distance. You could program the whole communications part of the code only to operate when it can see an object within 3 feet, but then it might mistake a wall for a robot and you would also need to be looking at the other robot. I'm not sure I've got any good ideas for this problem 🙁
Hello Damien
Thanks for posting these videos.
I have a small question. I have an idea for an activity that uses two NXTs (in mobile robots) talking via Bluetooth, that only starts when the devices are in close proximity to each other (say within three feet). I am not sure how to go about this- I thought about using the Bluetooth link quality but the quality can be good even when the robots are some distance apart (and poor even when they are close) so I don't think it is suitable. Any ideas? (It would be in a noisy room so sound sensing probably wouldn't work).