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

Controlling a motor from the CM-5 BUS

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

Controlling a motor from the CM-5 BUS

Post by ozirock » Tue Jun 08, 2010 12:41 pm

Post by ozirock
Tue Jun 08, 2010 12:41 pm

Hello All,

I am trying to figure out a way of controlling some normal motors from the CM-5 main controller. I've been looking around the forum and there seems to be solutions using an atmega for controlling servos as can be seen here http://robosavvy.com/forum/viewtopic.ph ... =interface .

I have recently taken an interest in PIC microcontrollers and I was hoping there would be a simple way of controlling a simple motor using the BUS on the CM-5 and a PIC 16f627.

Could anyone tell me if this is even possible or if they know of anywhere I could get information on what it would take to create this device?

Thanks in advance,
Ozirock
Hello All,

I am trying to figure out a way of controlling some normal motors from the CM-5 main controller. I've been looking around the forum and there seems to be solutions using an atmega for controlling servos as can be seen here http://robosavvy.com/forum/viewtopic.ph ... =interface .

I have recently taken an interest in PIC microcontrollers and I was hoping there would be a simple way of controlling a simple motor using the BUS on the CM-5 and a PIC 16f627.

Could anyone tell me if this is even possible or if they know of anywhere I could get information on what it would take to create this device?

Thanks in advance,
Ozirock
ozirock
Newbie
Newbie
Posts: 2
Joined: Tue Jun 08, 2010 12:27 pm

Post by JonHylands » Tue Jun 08, 2010 1:57 pm

Post by JonHylands
Tue Jun 08, 2010 1:57 pm

The easiest thing to do is to buy one of my I/O boards.

If you want to do it yourself, using a PIC, you'll have a bit more trouble. A PIC cannot individually switch on/off the Tx/Rx sides of the hardware UART, so you can't use the Tx/Rx short technique that I use on all of my Bioloid bus devices (using an AVR). You will have to use some kind of buffer and/or bus switch to interface to the bus.

- Jon
The easiest thing to do is to buy one of my I/O boards.

If you want to do it yourself, using a PIC, you'll have a bit more trouble. A PIC cannot individually switch on/off the Tx/Rx sides of the hardware UART, so you can't use the Tx/Rx short technique that I use on all of my Bioloid bus devices (using an AVR). You will have to use some kind of buffer and/or bus switch to interface to the bus.

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

Post by ozirock » Tue Jun 08, 2010 2:33 pm

Post by ozirock
Tue Jun 08, 2010 2:33 pm

Hi,

I was hoping to make it myself, would an analogue switch like these http://ie.farnell.com/nxp/74hc4066n/74h ... tt=380-957 be of any use.

I'm sorry if these are stupid questions, I'm still trying to figure out how it all works.
Hi,

I was hoping to make it myself, would an analogue switch like these http://ie.farnell.com/nxp/74hc4066n/74h ... tt=380-957 be of any use.

I'm sorry if these are stupid questions, I'm still trying to figure out how it all works.
ozirock
Newbie
Newbie
Posts: 2
Joined: Tue Jun 08, 2010 12:27 pm


3 postsPage 1 of 1
3 postsPage 1 of 1