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

Replacing the CM-5

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

Replacing the CM-5

Post by Zypkin » Fri Jul 06, 2007 9:16 am

Post by Zypkin
Fri Jul 06, 2007 9:16 am

Hi guys,
I had a look at the previous posts here and I noticed that when talking of getting rid of the CM-5 you always turn to Atmel... is there any special reason???
Since you have to start from zero, why not to choose some faster MCU? ...it could help a lot to have some more computational speed... I mean the Atmega is ok... but 16MHz are not that much...

...what do u think?


Zyp
Hi guys,
I had a look at the previous posts here and I noticed that when talking of getting rid of the CM-5 you always turn to Atmel... is there any special reason???
Since you have to start from zero, why not to choose some faster MCU? ...it could help a lot to have some more computational speed... I mean the Atmega is ok... but 16MHz are not that much...

...what do u think?


Zyp
Zypkin
Robot Builder
Robot Builder
Posts: 19
Joined: Thu Jul 05, 2007 12:26 pm

Post by JonHylands » Fri Jul 06, 2007 11:58 am

Post by JonHylands
Fri Jul 06, 2007 11:58 am

The main reason people are choosing Atmel is because those chips are what Robotis uses, and they have a built-in hardware serial port (at 8 or 16 MHz) that can talk at 1.0 Mbps, which is the bus speed.

Many faster processors have chosen a clock that maxes out their serial speed at 921 kbps, which is not fast enough.

If you want a really fast processor, then do what I'm doing, and use a USB system to talk to the bus - then you can either use something like a gumstix verdex (600 MHz), or a laptop to talk to the bus directly.

- Jon
The main reason people are choosing Atmel is because those chips are what Robotis uses, and they have a built-in hardware serial port (at 8 or 16 MHz) that can talk at 1.0 Mbps, which is the bus speed.

Many faster processors have chosen a clock that maxes out their serial speed at 921 kbps, which is not fast enough.

If you want a really fast processor, then do what I'm doing, and use a USB system to talk to the bus - then you can either use something like a gumstix verdex (600 MHz), or a laptop to talk to the bus directly.

- Jon
JonHylands
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 512
Joined: Thu Nov 09, 2006 1:00 am
Location: Ontario, Canada

Post by cdraptor » Sat Jul 07, 2007 6:19 am

Post by cdraptor
Sat Jul 07, 2007 6:19 am

Has anyone checked out the DiosPro which you can get from CrustCrawler. I notice that is comes with library for AX-12+. Was curious to hear any thoughts from people about this. Considering getting one to play with.

http://www.crustcrawler.com/electronics/diospro/index.php?prod=21
Has anyone checked out the DiosPro which you can get from CrustCrawler. I notice that is comes with library for AX-12+. Was curious to hear any thoughts from people about this. Considering getting one to play with.

http://www.crustcrawler.com/electronics/diospro/index.php?prod=21
cdraptor
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 93
Joined: Tue Apr 03, 2007 2:49 am
Location: Lititz, PA

Post by limor » Sun Jul 08, 2007 3:08 pm

Post by limor
Sun Jul 08, 2007 3:08 pm

There were a few microcontrolers that were considered as replacement for controling the AX12 bus. search this Bioloid forum for microcontroler (with 1 or 2 l's).
the 1mbps bus speed is an issue for most but Atmel.
Personally i prefer the idea of a "multi-rate control" mechanism whereby low-level control is done at the servo level, with with a fast communications bus, high-level control including adaptive control done by a faster processor that can be on board like a gumstix or remote PC with slower communications link and higher latency.
There were a few microcontrolers that were considered as replacement for controling the AX12 bus. search this Bioloid forum for microcontroler (with 1 or 2 l's).
the 1mbps bus speed is an issue for most but Atmel.
Personally i prefer the idea of a "multi-rate control" mechanism whereby low-level control is done at the servo level, with with a fast communications bus, high-level control including adaptive control done by a faster processor that can be on board like a gumstix or remote PC with slower communications link and higher latency.
limor
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1845
Joined: Mon Oct 11, 2004 1:00 am
Location: London, UK

Post by Merlin » Tue Dec 04, 2007 7:33 pm

Post by Merlin
Tue Dec 04, 2007 7:33 pm

cdraptor wrote:Has anyone checked out the DiosPro which you can get from CrustCrawler. I notice that is comes with library for AX-12+. Was curious to hear any thoughts from people about this. Considering getting one to play with.

http://www.crustcrawler.com/electronics/diospro/index.php?prod=21


Nor Limor or JonHylands has given an answer to cdraptor question.
I am also looking into DiosPro and I wanna know about previous experiences from other builders... any opinion?

merlin
cdraptor wrote:Has anyone checked out the DiosPro which you can get from CrustCrawler. I notice that is comes with library for AX-12+. Was curious to hear any thoughts from people about this. Considering getting one to play with.

http://www.crustcrawler.com/electronics/diospro/index.php?prod=21


Nor Limor or JonHylands has given an answer to cdraptor question.
I am also looking into DiosPro and I wanna know about previous experiences from other builders... any opinion?

merlin
Merlin
Savvy Roboteer
Savvy Roboteer
Posts: 56
Joined: Sun May 06, 2007 2:47 am

Post by limor » Tue Dec 04, 2007 8:38 pm

Post by limor
Tue Dec 04, 2007 8:38 pm

The current "state of the art" is to use an FTDI USB-to-Serial chip.

Because : Most embedded computers have USB host controller and a device driver for FTDI.

You could use Jon's board or you could use an Arduino or Sparkfun board or any one of hundreds of FTDI based boards or slap something together. (on the serial side of the FTDI you short the Rx and Tx and hook up to the Bioloid bus. this has been heavily documented here on the forum.)

Why limit yourself to 40mhz and a massive board of the DiosPro?

I'm in the middle of setting up a gumstix (verdex) together with Jon's board to control the Bioloid (using Simulink as to design the closed-loop control software).
The current "state of the art" is to use an FTDI USB-to-Serial chip.

Because : Most embedded computers have USB host controller and a device driver for FTDI.

You could use Jon's board or you could use an Arduino or Sparkfun board or any one of hundreds of FTDI based boards or slap something together. (on the serial side of the FTDI you short the Rx and Tx and hook up to the Bioloid bus. this has been heavily documented here on the forum.)

Why limit yourself to 40mhz and a massive board of the DiosPro?

I'm in the middle of setting up a gumstix (verdex) together with Jon's board to control the Bioloid (using Simulink as to design the closed-loop control software).
limor
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1845
Joined: Mon Oct 11, 2004 1:00 am
Location: London, UK

Post by JonHylands » Tue Dec 04, 2007 10:33 pm

Post by JonHylands
Tue Dec 04, 2007 10:33 pm

I didn't reply, because I haven't ever looked at the Dios line. If I was looking for a micro-controller to connect to the bus, I would almost certainly use an ATmega128. The DiosPro looks like a pumped up Basic Stamp, which means I would have no interest in it. Why run at 130,000 commands per second when you can run at 16 million instructions per second...

- Jon
I didn't reply, because I haven't ever looked at the Dios line. If I was looking for a micro-controller to connect to the bus, I would almost certainly use an ATmega128. The DiosPro looks like a pumped up Basic Stamp, which means I would have no interest in it. Why run at 130,000 commands per second when you can run at 16 million instructions per second...

- Jon
JonHylands
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 512
Joined: Thu Nov 09, 2006 1:00 am
Location: Ontario, Canada

Post by kennethw » Wed Dec 19, 2007 6:02 am

Post by kennethw
Wed Dec 19, 2007 6:02 am

Why run at 130,000 commands per second when you can run at 16 million instructions per second...


I have an incredibly newbie question: Does the gumstix live on-board or are you tethering? I ask because a 600mhz processor must draw much more power... How do you power it in this configuration?
Why run at 130,000 commands per second when you can run at 16 million instructions per second...


I have an incredibly newbie question: Does the gumstix live on-board or are you tethering? I ask because a 600mhz processor must draw much more power... How do you power it in this configuration?
kennethw
Robot Builder
Robot Builder
Posts: 17
Joined: Wed Dec 19, 2007 12:17 am

Post by Robo1 » Wed Dec 19, 2007 6:27 am

Post by Robo1
Wed Dec 19, 2007 6:27 am

Hi there

The gumstix doesn't draw that much power compared to the rest of the system and yes you put the gumstix in side the robot.

I also have a question for JonHylands about your USB interface. What do you do about the direction selector or doesn't the AX's need one. This is inregard my DX/RS485 setup.

Thanks Bren
Hi there

The gumstix doesn't draw that much power compared to the rest of the system and yes you put the gumstix in side the robot.

I also have a question for JonHylands about your USB interface. What do you do about the direction selector or doesn't the AX's need one. This is inregard my DX/RS485 setup.

Thanks Bren
Robo1
Savvy Roboteer
Savvy Roboteer
Posts: 501
Joined: Fri Jun 30, 2006 1:00 am
Location: UK - Bristol

Post by JonHylands » Wed Dec 19, 2007 3:01 pm

Post by JonHylands
Wed Dec 19, 2007 3:01 pm

The gumstix probably uses less power on average than a single AX-12.

Another interesting option that I'm going to be trying out soon is the Hammer (http://www.tincantools.com). It has USB host, so it should work just fine with the FT232 board I have.

You don't need a direction selector, because the FT232 takes care of that for you. It basically always runs in receive mode (from the bus) except when it is transmitting data.

For talking to the DX/RX RS-485 bus, the FT232 handles switching the direction pins on the MAX485.

- Jon
The gumstix probably uses less power on average than a single AX-12.

Another interesting option that I'm going to be trying out soon is the Hammer (http://www.tincantools.com). It has USB host, so it should work just fine with the FT232 board I have.

You don't need a direction selector, because the FT232 takes care of that for you. It basically always runs in receive mode (from the bus) except when it is transmitting data.

For talking to the DX/RX RS-485 bus, the FT232 handles switching the direction pins on the MAX485.

- Jon
JonHylands
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 512
Joined: Thu Nov 09, 2006 1:00 am
Location: Ontario, Canada

Post by siempre.aprendiendo » Wed Dec 19, 2007 4:59 pm

Post by siempre.aprendiendo
Wed Dec 19, 2007 4:59 pm

limor wrote:I'm in the middle of setting up a gumstix (verdex) together with Jon's board to control the Bioloid (using Simulink as to design the closed-loop control software).


Would you publish your work? :wink:

I'm very interested about replacing CM-5 :)
limor wrote:I'm in the middle of setting up a gumstix (verdex) together with Jon's board to control the Bioloid (using Simulink as to design the closed-loop control software).


Would you publish your work? :wink:

I'm very interested about replacing CM-5 :)
siempre.aprendiendo
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 559
Joined: Wed Aug 08, 2007 9:13 pm
Location: Barcelona

Post by kennethw » Wed Dec 19, 2007 6:57 pm

Post by kennethw
Wed Dec 19, 2007 6:57 pm

JonHylands wrote:The gumstix probably uses less power on average than a single AX-12.


I'm just curious how this setup (with the accompanying boards) compares with using the original controller, in terms of power consumption. I'm sure that it's hard to determine if the actuators are the major draw.
JonHylands wrote:The gumstix probably uses less power on average than a single AX-12.


I'm just curious how this setup (with the accompanying boards) compares with using the original controller, in terms of power consumption. I'm sure that it's hard to determine if the actuators are the major draw.
kennethw
Robot Builder
Robot Builder
Posts: 17
Joined: Wed Dec 19, 2007 12:17 am

Post by JonHylands » Wed Dec 19, 2007 7:36 pm

Post by JonHylands
Wed Dec 19, 2007 7:36 pm

Guaranteed the actuators are the major draw. An AX-12 peaks at 800 mA, so it probably averages a quarter of that, which is 200 mA at 10 volts, or 2 watts. If your robot is moving a lot, its probably closer to half that, or 4 watts.

The gumstix (without wifi) draws somewhere around 300 mA at 5 volts, or 1.5 watts.

The CM-5 probably draws well under a watt, probably close to 0.5 watts.

- Jon
Guaranteed the actuators are the major draw. An AX-12 peaks at 800 mA, so it probably averages a quarter of that, which is 200 mA at 10 volts, or 2 watts. If your robot is moving a lot, its probably closer to half that, or 4 watts.

The gumstix (without wifi) draws somewhere around 300 mA at 5 volts, or 1.5 watts.

The CM-5 probably draws well under a watt, probably close to 0.5 watts.

- Jon
JonHylands
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 512
Joined: Thu Nov 09, 2006 1:00 am
Location: Ontario, Canada

Post by kennethw » Wed Dec 19, 2007 11:39 pm

Post by kennethw
Wed Dec 19, 2007 11:39 pm

JonHylands wrote:Guaranteed the actuators are the major draw...


Thanks, Jon. Sorry to hijack the thread with my newbieness.
JonHylands wrote:Guaranteed the actuators are the major draw...


Thanks, Jon. Sorry to hijack the thread with my newbieness.
kennethw
Robot Builder
Robot Builder
Posts: 17
Joined: Wed Dec 19, 2007 12:17 am

Post by limor » Thu Dec 20, 2007 2:58 pm

Post by limor
Thu Dec 20, 2007 2:58 pm

siempre.aprendiendo wrote:
limor wrote:I'm in the middle of setting up a gumstix (verdex) together with Jon's board to control the Bioloid (using Simulink as to design the closed-loop control software).


Would you publish your work? :wink:

I'm very interested about replacing CM-5 :)


sure. thats the plan
siempre.aprendiendo wrote:
limor wrote:I'm in the middle of setting up a gumstix (verdex) together with Jon's board to control the Bioloid (using Simulink as to design the closed-loop control software).


Would you publish your work? :wink:

I'm very interested about replacing CM-5 :)


sure. thats the plan
limor
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1845
Joined: Mon Oct 11, 2004 1:00 am
Location: London, UK

Next
17 postsPage 1 of 21, 2
17 postsPage 1 of 21, 2