Re: [SeattleRobotics] Talking to Bluetooth
- From: robotMaker
> I ordered two of them from here:That's a very good price.
There seems to be very little documentation for them. Any idea how it does
pairing? You wouldn't neccessarily want strangers to be able talk to your
- here is some info from CMU.EDU website on the BRAINBOARD
--- In SeattleRobotics@yahoogroups.com, robotMaker <robotmeiker@...> wrote:
> I was thinking of both.
> You answered the question, I see better why you need to use the XBEEs. Your application is more industrial grade than the application for BT.
> Freedy, when I was referring to having to use two to establish a wireless link, I meant two XBEEs. For BT, only one is needed for most cases, since everything now comes with built in BT.
> I was using BT sometime ago with a GumstixWaySmallComputer ( www.gumstix.com ), but I was not getting the control that I needed, even though the GumStix was running linux, it was not working I need it to. But now with the Android phone and Tablets, everything has changed. An Android cell phone without a service contract is basically a tiny Tablet. With built in BT it makes a perfect bot controller. I've been thinking of doing what Arnaldo did here, http://www.youtube.com/watch?v=QI78ZeLQ2H4. The Android phone has everything needed, Speech recognition, vision, audio (for good quality speech), GPS, and Accelerometer and more and a good battery for self containment. The BT connects all the power of a kick butt processor with at least 8 gigs of memory to the real world control of a bot. An Android phone without a service contract, can still connect to a wi-fi network. I can go anywhere on the web, I can even download apps from other websites other than the
> AndroidMarketPlace. The AndroidMarketPlace is the site that I need to go to, to download Mintoris Basic, which makes the Android phone do what I need it to do. It's all so near and yet so far. So to work around using Mintoris Basic, I was trying to build a simple Android app, that will talk to my BT controller, to control my servos. Such as in this Instructibles suggestion:
> But just trying to build the BluetoothChat in the sample apps in the Android-SDK-linux, without any changes, is something else. It's a BEAST! It's all written in Java, which is not bad, it's just all the prep that has to be done exactly right in the Java build environment, in order to build a simple app.
> Which brings me to the question, has anyone on this list ever built a simple Android app, using the Android-SDK, and "ant debug' on the command line?
> From: Randy M. Dumse <rmd@...>
> To: SeattleRobotics@yahoogroups.com
> Sent: Tuesday, January 10, 2012 2:04 PM
> Subject: RE: [SeattleRobotics] Re: Talking to Bluetooth
> robotMaker said: Tuesday, January 10, 2012 12:16 PM
> > What are you using the XBEE for?
> > Don't you need two, to establish a link?
> Don't know if your replying to me or Freddy. But if it is me, my
> company (NMI) sells then and they are used for substitute serial
> links. Personally, they are my favorite for laptop to robot main
> console communications. But the customers have used them all
> over the place.
> Example: Guy called this morning. He uses them on water quality
> monitoring stations. Also mentioned an app on the Mississippi
> where a gambling boat uses sensors all around it to collect data
> from differential GPS's, so they can monitor how this boat moves
> around at its piers.
> Application where I suggested 6000 feet was a test to see if
> range would work. It was for an siesmic sensing electronic fence
> along the border of Kuwait and Iran. It was also tested in NM on
> the Southern Board program. To do the distance test, I used a
> battery powered GPS which echoed through a micro to a XBEE Pro,
> Had my wife drive away from me in car with unit on roof, turn
> around and come back. I used a laptop with a dongle held waist
> high. Then took captured data home and plotted with google earth
> to get a measure of range. When the reliable reception died out,
> that was maximum range. Over 1.2 miles. Hard to find a flat
> clear area with enough line of sight here in East TX. But tested
> range was better than their specs, so was pleased. BTW, the
> clear air around the antenna makes a huge difference. Digi
> calles it the Fresnel distance in their appnotes. I tried the
> laptop sitting on the ground, and the range was about half or
> less just 4 feet higher.
> I also used it in the class room so students could have a link
> to their Mini-Sumo while running on the arena. Also used for
> link to RoboMagellan robot to share data/performance.
> In the Queen of Jordan Museum Soccer Bot project, used it for
> development. That was kind of cool, because I had two robots,
> and two hand joystick controllers that talked to them during
> play. They went autonomous after game back to their recharging
> stations. The link between them was XBEE. Then I had a XBEE on a
> dongle to the laptop. I chose two different channels, one for
> each robot/joystick. So while they were operating all in
> parallel, I could just listen-in with the laptop, see what the
> traffic from one to the other was saying. But! Turn off either
> one, robot or joystick, I had a backdoor escape code so the
> other micro would drop out of operation and back into
> interactive mode. Then I could download new code. No swapping or
> setup. Just turn off one, and the link to the other became
> active. Change the channel, and I could monitor, or even
> reprogram, the other pair same way. It was an incredibly useful
> development setup for four separate microcontrollers at once.
> Then I also did the Kirby Science center lunar robot display
> using a Bluetooth link. It's been long enough ago I can't
> remember the exact unit, they were pricey, AirLink maybe. They
> were advertized as a serial wire replacement. Similar
> development, but only one PC and one remote on line at one time.
> Yes, you need two Xbees to have a link. We sell a USB carrier
> dongle that allows the XBEE to be plugged straight into a PC. We
> have supplied XBEE's with them in the past, but now we usually
> refer people directly to DigiKey to buy their modules, since
> there's not enough margins with volume we can even recover our
> shipping costs.
> I've heard there's competition for Digi now on ZigBee modules,
> but I can't say I've tried any, or have an experience with the
> newer units.
> I've enjoyed following this thread, because I've just started
> using the HC-05's myself. I was amazed how easy it was to bring
> up the first unit. Mine came from dealextreme. I was glad to
> find more documentation on the web. Think I'll be using lots of
> these in the future, as links between embedded micros and cell
> phones, which looks to me to be a new area of business
> Visit the SRS Website at http://www.seattlerobotics.orgYahoo! Groups Links