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

how to add sensor to bioloid bus ????????

Bioloid robot kit from Korean company Robotis; CM5 controller block, AX12 servos..
8 postsPage 1 of 1
8 postsPage 1 of 1

how to add sensor to bioloid bus ????????

Post by nandy.debasish » Thu Oct 15, 2009 12:57 pm

Post by nandy.debasish
Thu Oct 15, 2009 12:57 pm

hi! every body !!!

I want to add some extra sensor to the Bioloid. I think Peeper board is suitable. But i can't reach to the Peeper's board/ john, board. I think an alternative of using Arduino. But in arduino both TxD and RxD uses the same line. so i have to modify the c-code of Cm5. so what should be the best choice of Atmega board to use to add sensor to the bioloid bus..
Please help me to short it out.........

regards
Debasish
hi! every body !!!

I want to add some extra sensor to the Bioloid. I think Peeper board is suitable. But i can't reach to the Peeper's board/ john, board. I think an alternative of using Arduino. But in arduino both TxD and RxD uses the same line. so i have to modify the c-code of Cm5. so what should be the best choice of Atmega board to use to add sensor to the bioloid bus..
Please help me to short it out.........

regards
Debasish
Last edited by nandy.debasish on Tue Oct 20, 2009 11:46 am, edited 1 time in total.
nandy.debasish
Newbie
Newbie
Posts: 6
Joined: Wed Aug 26, 2009 7:17 am

Post by PedroR » Thu Oct 15, 2009 4:54 pm

Post by PedroR
Thu Oct 15, 2009 4:54 pm

I think the ATMEGA / Arduino let's you enable and disable RX and TX in turns (meaning you short RX and TX and then switch between enabling RX and TX as you want to send or receive).
I'm not sure if this functionality is available using Arduino though.

If it is, we have a small Arduino Mini board here http://robosavvy.com/store/product_info ... cts_id/564 that may suit your needs.

But again, I am not sure if the Arduino code supports enabling/disabling RX and TX in turns.
I think the ATMEGA / Arduino let's you enable and disable RX and TX in turns (meaning you short RX and TX and then switch between enabling RX and TX as you want to send or receive).
I'm not sure if this functionality is available using Arduino though.

If it is, we have a small Arduino Mini board here http://robosavvy.com/store/product_info ... cts_id/564 that may suit your needs.

But again, I am not sure if the Arduino code supports enabling/disabling RX and TX in turns.
PedroR
Savvy Roboteer
Savvy Roboteer
Posts: 1199
Joined: Mon Jun 16, 2008 11:07 pm

Post by i-Bot » Fri Oct 16, 2009 11:46 am

Post by i-Bot
Fri Oct 16, 2009 11:46 am

The Arduino Mini Board at 5V and 16MHz is very suited to use for a Bioloid Bus IO Interface. The bus will have to connect to the serial port so some switching is needed if this is also to be used for downloading.

The TX and RX pins can be joined together for the AX bus, but must be seperate for the download. You will need special software in the Arduion and that will control the enable of the TX pin for the AX Bus.

The standard Arduino software is not suitable, it is too slow. You need custom C code for this, and it is not trivial. Use the code from Jon Hylands as a basis. You will need to change the clock speed from 8 Mhz and maybe play around with the pins.

http://websvn.hylands.org/listing.php?r ... rev=0&sc=0
The Arduino Mini Board at 5V and 16MHz is very suited to use for a Bioloid Bus IO Interface. The bus will have to connect to the serial port so some switching is needed if this is also to be used for downloading.

The TX and RX pins can be joined together for the AX bus, but must be seperate for the download. You will need special software in the Arduion and that will control the enable of the TX pin for the AX Bus.

The standard Arduino software is not suitable, it is too slow. You need custom C code for this, and it is not trivial. Use the code from Jon Hylands as a basis. You will need to change the clock speed from 8 Mhz and maybe play around with the pins.

http://websvn.hylands.org/listing.php?r ... rev=0&sc=0
i-Bot
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1142
Joined: Wed May 17, 2006 1:00 am

Post by sap1975 » Fri Oct 16, 2009 5:24 pm

Post by sap1975
Fri Oct 16, 2009 5:24 pm

Hi Debasish

I just wanted to tell you that Jon is about to make another batch of his “General I/O Board’s” I’ve been mailing back and forth with him a couple of times and he figures they should be ready in a couple of weeks.

It would properly save you quite a bit of trouble/work

You can check it out here.
http://www.huvrobotics.com/shop/index.php?_a=viewProd&productId=6

Cheers
/Stig.
Hi Debasish

I just wanted to tell you that Jon is about to make another batch of his “General I/O Board’s” I’ve been mailing back and forth with him a couple of times and he figures they should be ready in a couple of weeks.

It would properly save you quite a bit of trouble/work

You can check it out here.
http://www.huvrobotics.com/shop/index.php?_a=viewProd&productId=6

Cheers
/Stig.
sap1975
Savvy Roboteer
Savvy Roboteer
Posts: 46
Joined: Sat Aug 08, 2009 11:53 pm

Post by Suicidal.Banana » Sat Oct 17, 2009 11:55 pm

Post by Suicidal.Banana
Sat Oct 17, 2009 11:55 pm

Or you could check out the Arbotix, a bioloid-aimed-arduino
Or you could check out the Arbotix, a bioloid-aimed-arduino
Suicidal.Banana
Savvy Roboteer
Savvy Roboteer
Posts: 78
Joined: Tue Jun 16, 2009 12:54 pm

Post by i-Bot » Sun Oct 18, 2009 10:25 am

Post by i-Bot
Sun Oct 18, 2009 10:25 am

The Arbotix looks like a good board if you are willing to replace the CM5 and use new controller software. It has a lot more IO than the CM5. The Arbotix software library does not appear to have any slave functions, so it will not add to an existing CM5 bus.

We also await the CM510 from Robotis which promises more IO ports
The Arbotix looks like a good board if you are willing to replace the CM5 and use new controller software. It has a lot more IO than the CM5. The Arbotix software library does not appear to have any slave functions, so it will not add to an existing CM5 bus.

We also await the CM510 from Robotis which promises more IO ports
i-Bot
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1142
Joined: Wed May 17, 2006 1:00 am

Post by arekku » Fri Oct 23, 2009 2:26 pm

Post by arekku
Fri Oct 23, 2009 2:26 pm

I'm using ATmega128 to interface with the bus. So if you utilize this card you could use the same bus drivers I am using.
I'm using ATmega128 to interface with the bus. So if you utilize this card you could use the same bus drivers I am using.
arekku
Robot Builder
Robot Builder
Posts: 17
Joined: Tue Sep 22, 2009 1:20 pm

Post by Suicidal.Banana » Fri Oct 23, 2009 7:23 pm

Post by Suicidal.Banana
Fri Oct 23, 2009 7:23 pm

i-Bot wrote:.. The Arbotix software library does not appear to have any slave functions, so it will not add to an existing CM5 bus. ..

Yeah, sorry, forgot to mention that, the Arbotix is designed to replace the CM5, not as a 'drop-in' replacement though, i've been using one with my bioloid for a week or two now and it works great with the arduino software & pypose
i-Bot wrote:.. The Arbotix software library does not appear to have any slave functions, so it will not add to an existing CM5 bus. ..

Yeah, sorry, forgot to mention that, the Arbotix is designed to replace the CM5, not as a 'drop-in' replacement though, i've been using one with my bioloid for a week or two now and it works great with the arduino software & pypose
Suicidal.Banana
Savvy Roboteer
Savvy Roboteer
Posts: 78
Joined: Tue Jun 16, 2009 12:54 pm


8 postsPage 1 of 1
8 postsPage 1 of 1