Legacy Forum: Preserving Nearly 20 Years of Community History - A Time Capsule of Discussions, Memories, and Shared Experiences.

Bluetooth and add ons

Korean company maker of Robot kits and servos designed for of articulated robots. Re-incarnation of Megarobotics.
32 postsPage 2 of 31, 2, 3
32 postsPage 2 of 31, 2, 3

Serial to Wifi module

Post by Zacohk » Wed Jul 02, 2008 2:36 pm

Post by Zacohk
Wed Jul 02, 2008 2:36 pm

Hi,
Does anybody know if I can remotely control (through the web and a WIFI connection) a Robobuilder (or any UART controller) If I connect it with a SERIAL to WIFI module
There some modules available on the net, they have web embedded server, small size and low voltage – see below. Does anybody have some experience with these modules?
Do you think it is possible, thanks to these modules, to establish a virtual serial port between a laptop (on a remote location) and the robot (connected to common Wifi access point with dynamic IP)? Is it difficult to configure?

Mini Socket iWiFi
http://edageek.com/2008/06/03/ip-m2m-device/
SocketWireless® Wi-Fi®
http://www.multitech.com/PRODUCTS/Famil ... elessWiFi/
Socket WiFi
http://www.copelandcommunications.com/S ... 0WiFi.aspx
EZL-80
http://www.hw-group.com/products/sollae/ezl80_en.html

Thank you for your help!
Hi,
Does anybody know if I can remotely control (through the web and a WIFI connection) a Robobuilder (or any UART controller) If I connect it with a SERIAL to WIFI module
There some modules available on the net, they have web embedded server, small size and low voltage – see below. Does anybody have some experience with these modules?
Do you think it is possible, thanks to these modules, to establish a virtual serial port between a laptop (on a remote location) and the robot (connected to common Wifi access point with dynamic IP)? Is it difficult to configure?

Mini Socket iWiFi
http://edageek.com/2008/06/03/ip-m2m-device/
SocketWireless® Wi-Fi®
http://www.multitech.com/PRODUCTS/Famil ... elessWiFi/
Socket WiFi
http://www.copelandcommunications.com/S ... 0WiFi.aspx
EZL-80
http://www.hw-group.com/products/sollae/ezl80_en.html

Thank you for your help!
Zacohk
Savvy Roboteer
Savvy Roboteer
Posts: 38
Joined: Wed Jul 02, 2008 9:54 am

Post by i-Bot » Thu Jul 03, 2008 5:42 pm

Post by i-Bot
Thu Jul 03, 2008 5:42 pm

My Robobuilder arrived today.

I have installed the ESD200 bluetooth module in the RBC and configured it to be in mode 3. I can connect and it appears motion builder is working the same over BT as over the cable. I have a usb bluetooth in the PC.

Looks promising !
My Robobuilder arrived today.

I have installed the ESD200 bluetooth module in the RBC and configured it to be in mode 3. I can connect and it appears motion builder is working the same over BT as over the cable. I have a usb bluetooth in the PC.

Looks promising !
i-Bot
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1142
Joined: Wed May 17, 2006 1:00 am

Post by limor » Fri Jul 04, 2008 11:28 am

Post by limor
Fri Jul 04, 2008 11:28 am

i-Bot wrote:My Robobuilder arrived today.

I have installed the ESD200 bluetooth module in the RBC and configured it to be in mode 3. I can connect and it appears motion builder is working the same over BT as over the cable. I have a usb bluetooth in the PC.

Looks promising !


Thats great news!

We will try to get the Sparkfun Bluesmirf attached and post the hack procedure.
i-Bot wrote:My Robobuilder arrived today.

I have installed the ESD200 bluetooth module in the RBC and configured it to be in mode 3. I can connect and it appears motion builder is working the same over BT as over the cable. I have a usb bluetooth in the PC.

Looks promising !


Thats great news!

We will try to get the Sparkfun Bluesmirf attached and post the hack procedure.
limor
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1845
Joined: Mon Oct 11, 2004 1:00 am
Location: London, UK

Post by NovaOne » Sat Jul 05, 2008 8:50 am

Post by NovaOne
Sat Jul 05, 2008 8:50 am

I have installed the ESD200 bluetooth module in the RBC and configured it to be in mode 3. I can connect and it appears motion builder is working the same over BT as over the cable


Me too, it was just as easy as that! :)

Scenes sent from Motion builder judder a little, am i doing anything wrong?
I have installed the ESD200 bluetooth module in the RBC and configured it to be in mode 3. I can connect and it appears motion builder is working the same over BT as over the cable


Me too, it was just as easy as that! :)

Scenes sent from Motion builder judder a little, am i doing anything wrong?
NovaOne
Savvy Roboteer
Savvy Roboteer
Posts: 405
Joined: Thu Jul 05, 2007 7:30 am

Post by i-Bot » Mon Jul 07, 2008 5:35 pm

Post by i-Bot
Mon Jul 07, 2008 5:35 pm

Even the RBC update seems to work over the bluetooth, though significantly slower.

If you plan to use the ESD200, then follow the Robobuilder instructions to add their BT module. Especially note the use of one 4 pin and one 3 pin header.

The 3 pin header stops the reset button making a factory reset to the ESD200 on pin 4
Even the RBC update seems to work over the bluetooth, though significantly slower.

If you plan to use the ESD200, then follow the Robobuilder instructions to add their BT module. Especially note the use of one 4 pin and one 3 pin header.

The 3 pin header stops the reset button making a factory reset to the ESD200 on pin 4
i-Bot
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1142
Joined: Wed May 17, 2006 1:00 am

direct access to bluetooth serial from ATmega128?

Post by Joe » Thu Feb 12, 2009 10:27 pm

Post by Joe
Thu Feb 12, 2009 10:27 pm

This is great stuff — but ultimately I don't want to just execute canned motion sequences from joystick buttons; instead, I want to download custom software to the MCU, and give that code inputs from my joystick buttons.

Do you know if this Bluetooth setup would allow that? (I would imagine so, but I'm really in over my head here, so I don't want to take anything for granted.)

Thanks,
- Joe
This is great stuff — but ultimately I don't want to just execute canned motion sequences from joystick buttons; instead, I want to download custom software to the MCU, and give that code inputs from my joystick buttons.

Do you know if this Bluetooth setup would allow that? (I would imagine so, but I'm really in over my head here, so I don't want to take anything for granted.)

Thanks,
- Joe
Joe
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 204
Joined: Tue Sep 05, 2006 1:00 am

Post by Joe » Thu Feb 12, 2009 10:32 pm

Post by Joe
Thu Feb 12, 2009 10:32 pm

limor wrote:We will try to get the Sparkfun Bluesmirf attached and post the hack procedure.


How's that going? I am gearing up to attempt that same hack myself, but I'd sure love to learn from somebody who's done it already.

Thanks,
- Joe
limor wrote:We will try to get the Sparkfun Bluesmirf attached and post the hack procedure.


How's that going? I am gearing up to attempt that same hack myself, but I'd sure love to learn from somebody who's done it already.

Thanks,
- Joe
Joe
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 204
Joined: Tue Sep 05, 2006 1:00 am

Post by i-Bot » Thu Feb 12, 2009 11:15 pm

Post by i-Bot
Thu Feb 12, 2009 11:15 pm

Hi Joe,
It is not really clear what you want.

When we use the ESD200 it replaces the cable link from RBC to PC. This allows anything done over cable to be done over Bluetooth.

As Pedro has shown, this may be to replace the remote, but also any other downloads or servo controls may be done.

The Bluetooth is slightly slower than cable, but is acceptable.

We used the ESD200 because it plugs straight in and works fine with a PC Bluetooth adapter. I guess the BlueSmirf is also OK, just four wires to connect and the board to fit somewhere.

If you program the RBC in C, you have direct access to the ESD200 or BlueSmirf.

The Robobuilder PS2 control is sort of ugly, so I use a PS2 controller in the head which emulates the IR control.
Hi Joe,
It is not really clear what you want.

When we use the ESD200 it replaces the cable link from RBC to PC. This allows anything done over cable to be done over Bluetooth.

As Pedro has shown, this may be to replace the remote, but also any other downloads or servo controls may be done.

The Bluetooth is slightly slower than cable, but is acceptable.

We used the ESD200 because it plugs straight in and works fine with a PC Bluetooth adapter. I guess the BlueSmirf is also OK, just four wires to connect and the board to fit somewhere.

If you program the RBC in C, you have direct access to the ESD200 or BlueSmirf.

The Robobuilder PS2 control is sort of ugly, so I use a PS2 controller in the head which emulates the IR control.
i-Bot
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1142
Joined: Wed May 17, 2006 1:00 am

Post by Joe » Thu Feb 12, 2009 11:49 pm

Post by Joe
Thu Feb 12, 2009 11:49 pm

i-Bot wrote:It is not really clear what you want.


Sorry — I want a Bluetooth serial connection between the ATmega128 in the RoboBuilder controller, and whatever Bluetooth host is on the other end (such as my MacBook for example), so I can exchange arbitrary data in both directions.

So I just want to be sure that this connection you're describing actually appears as a serial port to the controller chip, rather than (for example) a series of pin inputs corresponding somehow to buttons on the IR remote.

i-Bot wrote:When we use the ESD200 it replaces the cable link from RBC to PC. This allows anything done over cable to be done over Bluetooth.

As Pedro has shown, this may be to replace the remote, but also any other downloads or servo controls may be done.


Thanks, that sounds perfect.

i-Bot wrote:We used the ESD200 because it plugs straight in and works fine with a PC Bluetooth adapter. I guess the BlueSmirf is also OK, just four wires to connect and the board to fit somewhere.


OK, I hadn't heard of the ESD200 before. Looks neat, though I can't seem to find anyplace to buy it in the U.S.

So I've downloaded the RoboBuilder BLTOOTHCOM guide and the FB155BC manual, and I'm starting to piece it together. It sounds like the official RoboBuilder RBX-BLTOOTHCOM is actually a RB155BC; and the ESD200 is pin-compatible with that. Is that right?

But those are 8-pin units, and the RBX-BLTOOTHCOM guide only connects 7 of them. Which pin is left unconnected? Looks like pin 5 (CTS), if I'm reading things correctly. Is that not needed?

Man, if the ESD200 really is a drop-in replacement for RBX-BLTOOTHCOM, somebody should document it clearly and start selling it as such. It's about $50 instead of $200; should sell like hotcakes!

Best,
- Joe
i-Bot wrote:It is not really clear what you want.


Sorry — I want a Bluetooth serial connection between the ATmega128 in the RoboBuilder controller, and whatever Bluetooth host is on the other end (such as my MacBook for example), so I can exchange arbitrary data in both directions.

So I just want to be sure that this connection you're describing actually appears as a serial port to the controller chip, rather than (for example) a series of pin inputs corresponding somehow to buttons on the IR remote.

i-Bot wrote:When we use the ESD200 it replaces the cable link from RBC to PC. This allows anything done over cable to be done over Bluetooth.

As Pedro has shown, this may be to replace the remote, but also any other downloads or servo controls may be done.


Thanks, that sounds perfect.

i-Bot wrote:We used the ESD200 because it plugs straight in and works fine with a PC Bluetooth adapter. I guess the BlueSmirf is also OK, just four wires to connect and the board to fit somewhere.


OK, I hadn't heard of the ESD200 before. Looks neat, though I can't seem to find anyplace to buy it in the U.S.

So I've downloaded the RoboBuilder BLTOOTHCOM guide and the FB155BC manual, and I'm starting to piece it together. It sounds like the official RoboBuilder RBX-BLTOOTHCOM is actually a RB155BC; and the ESD200 is pin-compatible with that. Is that right?

But those are 8-pin units, and the RBX-BLTOOTHCOM guide only connects 7 of them. Which pin is left unconnected? Looks like pin 5 (CTS), if I'm reading things correctly. Is that not needed?

Man, if the ESD200 really is a drop-in replacement for RBX-BLTOOTHCOM, somebody should document it clearly and start selling it as such. It's about $50 instead of $200; should sell like hotcakes!

Best,
- Joe
Joe
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 204
Joined: Tue Sep 05, 2006 1:00 am

Post by Joe » Thu Feb 12, 2009 11:55 pm

Post by Joe
Thu Feb 12, 2009 11:55 pm

Joe wrote:OK, I hadn't heard of the ESD200 before. Looks neat, though I can't seem to find anyplace to buy it in the U.S.


Update: my google-fu was weak, but now it is strong. It looks like this can be bought in the U.S. from Lemos, Neteon, and a number of other places (just google "ESD200 bluetooth module").

It looks to me like this is going to require a lot less hacking than the BlueSmirf. Well worth the 50 bucks to have it all nice and neat inside the controller. Would you guys agree?

Thanks,
— Joe
Joe wrote:OK, I hadn't heard of the ESD200 before. Looks neat, though I can't seem to find anyplace to buy it in the U.S.


Update: my google-fu was weak, but now it is strong. It looks like this can be bought in the U.S. from Lemos, Neteon, and a number of other places (just google "ESD200 bluetooth module").

It looks to me like this is going to require a lot less hacking than the BlueSmirf. Well worth the 50 bucks to have it all nice and neat inside the controller. Would you guys agree?

Thanks,
— Joe
Joe
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 204
Joined: Tue Sep 05, 2006 1:00 am

Post by i-Bot » Fri Feb 13, 2009 12:26 pm

Post by i-Bot
Fri Feb 13, 2009 12:26 pm

I used the ESD200 because it was the only one of the FB155BC or ACODE-300A devices I could find in the UK. Maybe there are lower cost FB155BC alternatives in US.

The missing pin is the reset pin. If this pin is not removed, then the reset button will do a complete reset to the bluetooth and clear the mode 3 configuration setting.

http://robosavvy.com/Builders/i-Bot/RBC.pdf

The device conforms to the standard AT command set and provides a biderectional async serial interface. Other bluetooth modes such as HID are not possible on this device, but this is the price of the simple AT serial interface.

I used a serial to ttl converter to set the mode 3, though you could write a small program in the RBC to do this.

The bluetooth and the serial cable seem to co-exist fine, so long a only one is connected.

The serial interface carries the RBC serial protocol which may have the remote buttons encoded into it, or you can transfer any arbitrary serial data.

Let me know if you have any problems, and I will check with mine. It has been working fine for 6 months without my thinking about it, so I have forgotten the detail of how I did it.[url][/url]
I used the ESD200 because it was the only one of the FB155BC or ACODE-300A devices I could find in the UK. Maybe there are lower cost FB155BC alternatives in US.

The missing pin is the reset pin. If this pin is not removed, then the reset button will do a complete reset to the bluetooth and clear the mode 3 configuration setting.

http://robosavvy.com/Builders/i-Bot/RBC.pdf

The device conforms to the standard AT command set and provides a biderectional async serial interface. Other bluetooth modes such as HID are not possible on this device, but this is the price of the simple AT serial interface.

I used a serial to ttl converter to set the mode 3, though you could write a small program in the RBC to do this.

The bluetooth and the serial cable seem to co-exist fine, so long a only one is connected.

The serial interface carries the RBC serial protocol which may have the remote buttons encoded into it, or you can transfer any arbitrary serial data.

Let me know if you have any problems, and I will check with mine. It has been working fine for 6 months without my thinking about it, so I have forgotten the detail of how I did it.[url][/url]
i-Bot
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1142
Joined: Wed May 17, 2006 1:00 am

Post by PedroR » Fri Feb 13, 2009 1:53 pm

Post by PedroR
Fri Feb 13, 2009 1:53 pm

Hi iBot

I was looking at the FB155BC spec sheet and it looks like it's a bluetooth v1.2 device.
I'm not completely familiar with bluetooth but this menas it is only capable of doing up to 115 000 bps right?

For faster speeds you would need a v.2 module right? Do you know of any module that would be pin compatible with the robobuilder board?
Would there be any incompatibility.
I know the native RBC firmware works at a fixed 115 000 but I suppose that if we write a custom firmware we will be able to use it at much higher speeds, correct?

Thx
Pedro.
Hi iBot

I was looking at the FB155BC spec sheet and it looks like it's a bluetooth v1.2 device.
I'm not completely familiar with bluetooth but this menas it is only capable of doing up to 115 000 bps right?

For faster speeds you would need a v.2 module right? Do you know of any module that would be pin compatible with the robobuilder board?
Would there be any incompatibility.
I know the native RBC firmware works at a fixed 115 000 but I suppose that if we write a custom firmware we will be able to use it at much higher speeds, correct?

Thx
Pedro.
PedroR
Savvy Roboteer
Savvy Roboteer
Posts: 1199
Joined: Mon Jun 16, 2008 11:07 pm

Post by i-Bot » Fri Feb 13, 2009 3:47 pm

Post by i-Bot
Fri Feb 13, 2009 3:47 pm

Most of the bluetooth modules with an AT command set on the serial interface seems to be limited to 115K. Given the other factors in the connection (Bluetooth wireless, USB, host latency), you would have to do some clever software protoclols to maintain 115K between RBC and host given the latencies. The actual data rate limit of V1.2 is about 700K I think, and V2 is 3M.

The other main advantage of version 2 is that is can support multiple connections, but this is not needed in this case.

I have now moved away from AT command set devices to serial or USB HCI interface. This is much much more complex to program, but has the advantage of 3Mbps interface speed and support of any bluetooth protocol including Bluetooth HID. Bluetooth HID means I can use a Wiimote and nunchuk direct to the robot without a PC as proxy. This is very complex to perform the HCI, L2CAP and Wiimote HID protocols together, so I advise to use the AT command set modules until I can better develop a packaged HCI alternative.
Most of the bluetooth modules with an AT command set on the serial interface seems to be limited to 115K. Given the other factors in the connection (Bluetooth wireless, USB, host latency), you would have to do some clever software protoclols to maintain 115K between RBC and host given the latencies. The actual data rate limit of V1.2 is about 700K I think, and V2 is 3M.

The other main advantage of version 2 is that is can support multiple connections, but this is not needed in this case.

I have now moved away from AT command set devices to serial or USB HCI interface. This is much much more complex to program, but has the advantage of 3Mbps interface speed and support of any bluetooth protocol including Bluetooth HID. Bluetooth HID means I can use a Wiimote and nunchuk direct to the robot without a PC as proxy. This is very complex to perform the HCI, L2CAP and Wiimote HID protocols together, so I advise to use the AT command set modules until I can better develop a packaged HCI alternative.
i-Bot
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1142
Joined: Wed May 17, 2006 1:00 am

Post by Joe » Fri Feb 13, 2009 4:12 pm

Post by Joe
Fri Feb 13, 2009 4:12 pm

i-Bot wrote:I used the ESD200 because it was the only one of the FB155BC or ACODE-300A devices I could find in the UK. Maybe there are lower cost FB155BC alternatives in US.

Perhaps, but $50 is quite good.

i-Bot wrote:The missing pin is the reset pin. If this pin is not removed, then the reset button will do a complete reset to the bluetooth and clear the mode 3 configuration setting.
...
I used a serial to ttl converter to set the mode 3, though you could write a small program in the RBC to do this.

Is it important to operate in mode 3? According to acod300a.pdf, the default connection mode is 4, which provides reasonable security. Any reason why I shouldn't just stick with that?

Thanks,
- Joe
i-Bot wrote:I used the ESD200 because it was the only one of the FB155BC or ACODE-300A devices I could find in the UK. Maybe there are lower cost FB155BC alternatives in US.

Perhaps, but $50 is quite good.

i-Bot wrote:The missing pin is the reset pin. If this pin is not removed, then the reset button will do a complete reset to the bluetooth and clear the mode 3 configuration setting.
...
I used a serial to ttl converter to set the mode 3, though you could write a small program in the RBC to do this.

Is it important to operate in mode 3? According to acod300a.pdf, the default connection mode is 4, which provides reasonable security. Any reason why I shouldn't just stick with that?

Thanks,
- Joe
Joe
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 204
Joined: Tue Sep 05, 2006 1:00 am

Post by i-Bot » Fri Feb 13, 2009 4:26 pm

Post by i-Bot
Fri Feb 13, 2009 4:26 pm

Maybe there are some differences between the devices mode settings.

The ESD200 defaults to mode 0 where the AT commands work. Setting to mode 3 disables the AT commands. Mode 0 can be recovered using the reset pin.
Maybe there are some differences between the devices mode settings.

The ESD200 defaults to mode 0 where the AT commands work. Setting to mode 3 disables the AT commands. Mode 0 can be recovered using the reset pin.
i-Bot
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1142
Joined: Wed May 17, 2006 1:00 am

PreviousNext
32 postsPage 2 of 31, 2, 3
32 postsPage 2 of 31, 2, 3