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

Transformation of CM5 in I2C Slave?

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

Transformation of CM5 in I2C Slave?

Post by alzb92 » Tue Mar 25, 2008 12:51 am

Post by alzb92
Tue Mar 25, 2008 12:51 am

Hello, everybody!

In your opinion is it possible to transform the CM5 box for it to behave like a brick slave I2C type.

SDA is used by the STATUS ZIGBEE SCL and is used by the switch start.

If so we need to put some resistance "pull-up" because they are already in use?

Thank you in advance for your answers.
Hello, everybody!

In your opinion is it possible to transform the CM5 box for it to behave like a brick slave I2C type.

SDA is used by the STATUS ZIGBEE SCL and is used by the switch start.

If so we need to put some resistance "pull-up" because they are already in use?

Thank you in advance for your answers.
alzb92
Robot Builder
Robot Builder
Posts: 11
Joined: Sat Sep 15, 2007 2:35 pm

Post by limor » Tue Mar 25, 2008 9:41 pm

Post by limor
Tue Mar 25, 2008 9:41 pm

what's the plan? why do you want CM5 to be an I2C slave ?
what's the plan? why do you want CM5 to be an I2C slave ?
limor
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1845
Joined: Mon Oct 11, 2004 1:00 am
Location: London, UK

Post by alzb92 » Tue Mar 25, 2008 11:22 pm

Post by alzb92
Tue Mar 25, 2008 11:22 pm

:lol:

Firstly thank you for responding to this question, which seems stupid :oops:

In fact I would like to use the AX12 and AXS1 + + on a card that supports only the I2C bus while bioloid is USART / TTL.

And since I can not find a card which I guess that schedule and I thought ...

That

So if someone can tell me how little do communicate a AX12 on an I2C bus I am taker.

Thank you
:lol:

Firstly thank you for responding to this question, which seems stupid :oops:

In fact I would like to use the AX12 and AXS1 + + on a card that supports only the I2C bus while bioloid is USART / TTL.

And since I can not find a card which I guess that schedule and I thought ...

That

So if someone can tell me how little do communicate a AX12 on an I2C bus I am taker.

Thank you
alzb92
Robot Builder
Robot Builder
Posts: 11
Joined: Sat Sep 15, 2007 2:35 pm

Post by siempre.aprendiendo » Tue Mar 25, 2008 11:59 pm

Post by siempre.aprendiendo
Tue Mar 25, 2008 11:59 pm

alzb92 wrote::lol:

Firstly thank you for responding to this question, which seems stupid :oops:

In fact I would like to use the AX12 and AXS1 + + on a card that supports only the I2C bus while bioloid is USART / TTL.

And since I can not find a card which I guess that schedule and I thought ...

That

So if someone can tell me how little do communicate a AX12 on an I2C bus I am taker.

Thank you


How will you power your AX12+?

CM-5+battery is a good option :)

Edited:
I mean CM-5 instead of "your card"+I2C interface+battery, but probably you should use "your card" for any other reason :)
alzb92 wrote::lol:

Firstly thank you for responding to this question, which seems stupid :oops:

In fact I would like to use the AX12 and AXS1 + + on a card that supports only the I2C bus while bioloid is USART / TTL.

And since I can not find a card which I guess that schedule and I thought ...

That

So if someone can tell me how little do communicate a AX12 on an I2C bus I am taker.

Thank you


How will you power your AX12+?

CM-5+battery is a good option :)

Edited:
I mean CM-5 instead of "your card"+I2C interface+battery, but probably you should use "your card" for any other reason :)
Last edited by siempre.aprendiendo on Wed Mar 26, 2008 1:55 pm, edited 2 times in total.
siempre.aprendiendo
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 559
Joined: Wed Aug 08, 2007 9:13 pm
Location: Barcelona

Post by limor » Wed Mar 26, 2008 1:45 pm

Post by limor
Wed Mar 26, 2008 1:45 pm

The CM5 does expose some ports of the Atmega128 which may be the ones used to run I2C. you may be lucky.. just have a look at the schematics of CM5.

Otherwise you can use an Arduino board which runs a Atmega168 at same frequency as CM5 (16mhz hence compatible with AX12 1mhz UART with 0% error) and has both UART and I2C.
The CM5 does expose some ports of the Atmega128 which may be the ones used to run I2C. you may be lucky.. just have a look at the schematics of CM5.

Otherwise you can use an Arduino board which runs a Atmega168 at same frequency as CM5 (16mhz hence compatible with AX12 1mhz UART with 0% error) and has both UART and I2C.
limor
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1845
Joined: Mon Oct 11, 2004 1:00 am
Location: London, UK

Post by alzb92 » Wed Mar 26, 2008 6:30 pm

Post by alzb92
Wed Mar 26, 2008 6:30 pm

Thank you for your different answers.

So I will try with the CM5, and if I do then I will turn to a Aduino.

Thank you
Thank you for your different answers.

So I will try with the CM5, and if I do then I will turn to a Aduino.

Thank you
alzb92
Robot Builder
Robot Builder
Posts: 11
Joined: Sat Sep 15, 2007 2:35 pm

Post by i-Bot » Wed Mar 26, 2008 7:11 pm

Post by i-Bot
Wed Mar 26, 2008 7:11 pm

Even if you are willing to carve up your CM-5 and make major software changes, making an I2C slave is a major task.

The SDA/SCL pins are already used for other purposes. These pins access the clocked shift register, and without these you will have bit bang every bit.

Even if you expose the SDA/SCL pins the timing of a slave is much more difficult to that of a master. Given the CM-5 is pretty busy serving a 1M serial bus, you are likely to have problems.

What is you I2C bus master ? How intelligent is its I2C interface ? How will it respond to long clock holds ?
Even if you are willing to carve up your CM-5 and make major software changes, making an I2C slave is a major task.

The SDA/SCL pins are already used for other purposes. These pins access the clocked shift register, and without these you will have bit bang every bit.

Even if you expose the SDA/SCL pins the timing of a slave is much more difficult to that of a master. Given the CM-5 is pretty busy serving a 1M serial bus, you are likely to have problems.

What is you I2C bus master ? How intelligent is its I2C interface ? How will it respond to long clock holds ?
i-Bot
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1142
Joined: Wed May 17, 2006 1:00 am

Post by alzb92 » Wed Mar 26, 2008 9:57 pm

Post by alzb92
Wed Mar 26, 2008 9:57 pm

hi, :D

Even if you expose the SDA/SCL pins the timing of a slave is much more difficult to that of a master. Given the CM-5 is pretty busy serving a 1M serial bus, you are likely to have problems.


This is why I prefer to use the CM5. The price between a CM5 and make a card with ATMEGA128L and components is more expensive.

:oops:
Even if you expose the SDA/SCL pins the timing of a slave is much more difficult to that of a master. Given the CM-5 is pretty busy serving a 1M serial bus, you are likely to have problems.

:idea:
In fact, I found a C library that supports the I2C So I thought ...
As the card is equipped ATMEGA128L level hardware I thought that with the planned interruptions management was all alone.
In addition to the maximum management will be on the side of the CM5. (Implementation of a protocol between the CM5 software and map). It's just a party to introduce software largest assessed PC


What is you I2C bus master ? How intelligent is its I2C interface ? How will it respond to long clock holds ?

It's a SerializerWL Interface. And I think that a clock it's 400MHz.


In fact I like the sensors from bioloid but I do not have enough knowledge of programming to low-performing and things interesting with the CM5.
In addition zigbee module uses a proprietary standard, which does not allow the Zigbee operate satisfactorily without putting your hands in the really fat "(French-speaking)

Thank you for your set guards, and I will think before doing anything.

In your opinion, if I make a map specially provided for the conversion between UART and I2C / TTL, is it better.
But in this case should be that you m'aiguilles a little on research should I do next Hardware (because for me ...).

Alzb92
hi, :D

Even if you expose the SDA/SCL pins the timing of a slave is much more difficult to that of a master. Given the CM-5 is pretty busy serving a 1M serial bus, you are likely to have problems.


This is why I prefer to use the CM5. The price between a CM5 and make a card with ATMEGA128L and components is more expensive.

:oops:
Even if you expose the SDA/SCL pins the timing of a slave is much more difficult to that of a master. Given the CM-5 is pretty busy serving a 1M serial bus, you are likely to have problems.

:idea:
In fact, I found a C library that supports the I2C So I thought ...
As the card is equipped ATMEGA128L level hardware I thought that with the planned interruptions management was all alone.
In addition to the maximum management will be on the side of the CM5. (Implementation of a protocol between the CM5 software and map). It's just a party to introduce software largest assessed PC


What is you I2C bus master ? How intelligent is its I2C interface ? How will it respond to long clock holds ?

It's a SerializerWL Interface. And I think that a clock it's 400MHz.


In fact I like the sensors from bioloid but I do not have enough knowledge of programming to low-performing and things interesting with the CM5.
In addition zigbee module uses a proprietary standard, which does not allow the Zigbee operate satisfactorily without putting your hands in the really fat "(French-speaking)

Thank you for your set guards, and I will think before doing anything.

In your opinion, if I make a map specially provided for the conversion between UART and I2C / TTL, is it better.
But in this case should be that you m'aiguilles a little on research should I do next Hardware (because for me ...).

Alzb92
alzb92
Robot Builder
Robot Builder
Posts: 11
Joined: Sat Sep 15, 2007 2:35 pm


8 postsPage 1 of 1
8 postsPage 1 of 1