Comments on: Mobile Robot Bluetooth – Adding Bluetooth to the Dagu Adventure Bot http://blog.dawnrobotics.co.uk/2013/07/adding-bluetooth-to-the-dagu-adventure-bot/ Tutorials and updates from Dawn Robotics Mon, 09 Nov 2015 16:39:02 +0000 hourly 1 http://wordpress.org/?v=3.7.11 By: Alan http://blog.dawnrobotics.co.uk/2013/07/adding-bluetooth-to-the-dagu-adventure-bot/#comment-915 Thu, 21 May 2015 13:56:53 +0000 http://blog.dawnrobotics.co.uk/?p=190#comment-915 Nice :)

]]>
By: el es http://blog.dawnrobotics.co.uk/2013/07/adding-bluetooth-to-the-dagu-adventure-bot/#comment-913 Wed, 20 May 2015 21:35:30 +0000 http://blog.dawnrobotics.co.uk/?p=190#comment-913 Yesss it worked :)
in the bluetooth chat sample I substituted

// Unique UUID for this application
private static final UUID MY_UUID_SECURE =
UUID.fromString(“fa87c0d0-afac-11de-8a39-0800200c9a66″);
private static final UUID MY_UUID_INSECURE =
UUID.fromString(“8ce255c0-200a-11e0-ac64-0800200c9a66″);
for
private static final UUID MY_UUID_SERIAL_PORT =
UUID.fromString(“00001101-0000-1000-8000-00805f9b34fb”);

and I can connect and send commands :)
More on topic on the forum
http://forum.dawnrobotics.co.uk/viewtopic.php?f=12&t=1333

]]>
By: el es http://blog.dawnrobotics.co.uk/2013/07/adding-bluetooth-to-the-dagu-adventure-bot/#comment-912 Wed, 20 May 2015 19:34:22 +0000 http://blog.dawnrobotics.co.uk/?p=190#comment-912 Hi, I commented on the forum already, but the link you pasted leads eventually to full description of bluetooth UUIDs…
or rather I googled android bluetooth uuid which yielded this http://stackoverflow.com/questions/4632524/how-to-find-the-uuid-of-serial-port-bluetooth-device which seems to lead where I need to be :)
(http://www.avetana-gmbh.de/avetana-gmbh/produkte/doc/javax/bluetooth/UUID.html)

]]>
By: Alan http://blog.dawnrobotics.co.uk/2013/07/adding-bluetooth-to-the-dagu-adventure-bot/#comment-911 Wed, 20 May 2015 10:06:31 +0000 http://blog.dawnrobotics.co.uk/?p=190#comment-911 Hi there,

I’m afraid I haven’t tried using Bluetooth on Android myself so can’t be much help. Perhaps someone reading these comments will be able to chime in?

Not sure if you’ve already seen this, but if the device is already paired then this stack overflow answer might be of some use. Best of luck! I’d be interested to see how you get on as I’d like to put together an open source version of the Bluetooth control app myself at some point.

Regards

Alan

]]>
By: el es http://blog.dawnrobotics.co.uk/2013/07/adding-bluetooth-to-the-dagu-adventure-bot/#comment-909 Sun, 17 May 2015 12:24:14 +0000 http://blog.dawnrobotics.co.uk/?p=190#comment-909 I’m reading this to follow on with my project http://forum.dawnrobotics.co.uk/viewtopic.php?f=12&t=1333 ;
I read this guide, would like to see how they make the app connect to the bt modules’ serial port…

Unfortunately I’m a noob with Android Studio…

I tried first with Android Studio Sample, Bluetooth Chat.
When I pair with it first (through the phones’ bluetooth menu) it is being shown as device possible to connect to, but then says ‘unable to connect to device’ (or so), and nothing happens.

Then I went following link to the Mobot project but there doesn’t seem to be any source to download.

(sorry… I’ve seen a few IDE’s in my life, like, VC++, Delphi, Lazarus+FPC… this Android Studio with its Java language is completely off scale as to being un-greppable… any pointers, even google keywords will be appreciated)

]]>
By: Alan http://blog.dawnrobotics.co.uk/2013/07/adding-bluetooth-to-the-dagu-adventure-bot/#comment-180 Thu, 05 Dec 2013 10:09:53 +0000 http://blog.dawnrobotics.co.uk/?p=190#comment-180 Hi Jess,

I haven’t tried these myself, but I think that the commands given here should do what you want. I think that the commands are sent with a serial write, you then wait a bit and should receive a response.

Let me know how you get on. :)

Regards

Alan

]]>
By: Jess flack http://blog.dawnrobotics.co.uk/2013/07/adding-bluetooth-to-the-dagu-adventure-bot/#comment-177 Thu, 05 Dec 2013 00:32:24 +0000 http://blog.dawnrobotics.co.uk/?p=190#comment-177 Was wondering how I change the name for the module, linvor is fine but does not suit my robot. Read a few articles mentioning AT commands but can’t find any information on this bluetooth device. Apart from that its fantastic :)

]]>
By: Alan http://blog.dawnrobotics.co.uk/2013/07/adding-bluetooth-to-the-dagu-adventure-bot/#comment-9 Thu, 18 Jul 2013 10:13:15 +0000 http://blog.dawnrobotics.co.uk/?p=190#comment-9 Glad to help. Let us know how you get on. We’d be very interested to see what you’re working on. You could even post about it in our forums. It’s a bit quiet in there at the moment, so you’d have the honour of being amongst the first. ;)

]]>
By: Maupertuit http://blog.dawnrobotics.co.uk/2013/07/adding-bluetooth-to-the-dagu-adventure-bot/#comment-8 Wed, 17 Jul 2013 15:46:22 +0000 http://blog.dawnrobotics.co.uk/?p=190#comment-8 Yes you anwser very well to my question!! :-)

I will read this tuto to setup bluetooth as a serial port on my windows. An after I will use a serial lib in C++.

Thanks!

]]>
By: Alan http://blog.dawnrobotics.co.uk/2013/07/adding-bluetooth-to-the-dagu-adventure-bot/#comment-7 Wed, 17 Jul 2013 15:09:27 +0000 http://blog.dawnrobotics.co.uk/?p=190#comment-7 It depends on which operating system you’re using i.e. Windows, Linux etc. I left setting up a PC bluetooth connection out of the tutorial, as it’s the kind of thing that requires a tutorial all on its own. :P

With that in mind, I followed this tutorial here to setup bluetooth as a serial port on Linux (will maybe also work on OS X), and I believe that this tutorial from Sparkfun will work for setting the device up on Windows.

Now, once you have a serial port setup on your operating system, you can perform the communication using your favourite terminal emulation program such as Hyperterminal or RealTerm for Windows, or Cutecom for Linux. If you want to do the communication programmaticaly then again you’ve got a load of options, my personal favourite is to use Python and PySerial.

Anyway, I hope that helps. I got the impression from your question, that setting up the serial port was the main thing you had an issue with, but if you need any more pointers for communication on the PC side, just let me know.

Regards

Alan

]]>