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

Control AX-12 with Visual Basic (VBA or Excel)

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

Post by Boyz » Sun May 27, 2007 9:31 am

Post by Boyz
Sun May 27, 2007 9:31 am

Wow this is amazing!

VanHelsing I want to do something similar to this but to have the image taken from a webcam. I have no clue as how to transform the image to something the arm can plot. Can you help break down the steps of how you did it ( I'm a complete idiot when it come to excel) or point me to reference literature to do this.

Thanks,
Boyz
Wow this is amazing!

VanHelsing I want to do something similar to this but to have the image taken from a webcam. I have no clue as how to transform the image to something the arm can plot. Can you help break down the steps of how you did it ( I'm a complete idiot when it come to excel) or point me to reference literature to do this.

Thanks,
Boyz
Boyz
Newbie
Newbie
Posts: 2
Joined: Sun May 27, 2007 9:11 am

Post by billyzelsnack » Sun May 27, 2007 3:45 pm

Post by billyzelsnack
Sun May 27, 2007 3:45 pm

Thanks for bringing this thread back to life. It was posted well before I got my Bioloid and I guess I didn't browse back enough to find it.

Very inspiring.
Thanks for bringing this thread back to life. It was posted well before I got my Bioloid and I guess I didn't browse back enough to find it.

Very inspiring.
billyzelsnack
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 618
Joined: Sat Dec 30, 2006 1:00 am

Post by roycepipkins » Tue Jun 19, 2007 10:10 pm

Post by roycepipkins
Tue Jun 19, 2007 10:10 pm

Yes, this is an inspiring thread. I wondered if the repeatability of the servos were good enough for plotting. This makes me want to take a crack at a PCB plotting.
Yes, this is an inspiring thread. I wondered if the repeatability of the servos were good enough for plotting. This makes me want to take a crack at a PCB plotting.
roycepipkins
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 25
Joined: Tue Jun 20, 2006 1:00 am

Another plotter

Post by taiowa » Tue Jul 10, 2007 1:20 am

Post by taiowa
Tue Jul 10, 2007 1:20 am

Hello everybody

Got my bioloid last friday and after trying couple of the basic robots from the guidebook I wanted to try something different before building the humanoid. So I decided to build a plotter similar of VanHelsings but a using Java as control language.

I builded my plotter with longer arm for better reach, which actually was a bad design decision because longer equals wobblier.

I used manage mode and swr commands to drive the plotter just like VanHelsing.

First I drawed the duck, but drawing rasterized image took quite long and I had no idea howto create those plotting commands from other normal images. I decided to try to draw vector graphics which are defined by drawing paths by default. I hacked Batis svg graphics libraries to my plotter code and was able to draw pictures straight from .svg format images.

Here is a video of the plotter in action.

phpBB [media]



Couple of images:
The quality of the drawings was actually quite bad. The repeatibility of the drawings is still quite good. The butterfly outline is drawed twice and the plotter has done identical jerks and twists on both runs.

Image
Original butterfly image http://www.croczilla.com/svg/samples/butterfly/butterfly.svg
Image
Hello everybody

Got my bioloid last friday and after trying couple of the basic robots from the guidebook I wanted to try something different before building the humanoid. So I decided to build a plotter similar of VanHelsings but a using Java as control language.

I builded my plotter with longer arm for better reach, which actually was a bad design decision because longer equals wobblier.

I used manage mode and swr commands to drive the plotter just like VanHelsing.

First I drawed the duck, but drawing rasterized image took quite long and I had no idea howto create those plotting commands from other normal images. I decided to try to draw vector graphics which are defined by drawing paths by default. I hacked Batis svg graphics libraries to my plotter code and was able to draw pictures straight from .svg format images.

Here is a video of the plotter in action.

phpBB [media]



Couple of images:
The quality of the drawings was actually quite bad. The repeatibility of the drawings is still quite good. The butterfly outline is drawed twice and the plotter has done identical jerks and twists on both runs.

Image
Original butterfly image http://www.croczilla.com/svg/samples/butterfly/butterfly.svg
Image
taiowa
Newbie
Newbie
Posts: 3
Joined: Wed Jun 27, 2007 7:55 pm

Post by billyzelsnack » Tue Jul 10, 2007 2:50 am

Post by billyzelsnack
Tue Jul 10, 2007 2:50 am

Excellent work. You did this in a week of getting your Bioloid! Impressive.

I'm also impressed that it looks that good considering how long the arm is. That's a lot of leverage for those first two poor little servos!
Excellent work. You did this in a week of getting your Bioloid! Impressive.

I'm also impressed that it looks that good considering how long the arm is. That's a lot of leverage for those first two poor little servos!
billyzelsnack
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 618
Joined: Sat Dec 30, 2006 1:00 am

Post by MOHIT JINDAL » Thu Jan 06, 2011 12:39 am

Post by MOHIT JINDAL
Thu Jan 06, 2011 12:39 am

Can you share that VB CODE with me. I want to control all 18 Ax12 dynamixels with pc using Usb2Dynamixel :roll:
Can you share that VB CODE with me. I want to control all 18 Ax12 dynamixels with pc using Usb2Dynamixel :roll:
MOHIT JINDAL
Savvy Roboteer
Savvy Roboteer
Posts: 178
Joined: Wed Nov 10, 2010 7:43 am

Post by harboot » Wed Mar 16, 2011 10:20 am

Post by harboot
Wed Mar 16, 2011 10:20 am

every body.. help meee..
iam very interest to this project.

i try to run vanhelsing project..
i have problem with my mscomm

"Can't exit design mode because Control MSComm1 can not be created"


i have installed my VB and my mscomm is work,
but it can't run in excel,,, why???????


(sorry. iam newbie)
every body.. help meee..
iam very interest to this project.

i try to run vanhelsing project..
i have problem with my mscomm

"Can't exit design mode because Control MSComm1 can not be created"


i have installed my VB and my mscomm is work,
but it can't run in excel,,, why???????


(sorry. iam newbie)
harboot
Newbie
Newbie
Posts: 1
Joined: Wed Mar 16, 2011 10:18 am

Post by haratron » Wed Mar 30, 2011 6:56 pm

Post by haratron
Wed Mar 30, 2011 6:56 pm

Has anyone tried this with CM-510?
I'm getting some gibberish characters and Bad Command at the end when I execute the controls (by clicking the buttons I mean).
Has anyone tried this with CM-510?
I'm getting some gibberish characters and Bad Command at the end when I execute the controls (by clicking the buttons I mean).
haratron
Savvy Roboteer
Savvy Roboteer
Posts: 37
Joined: Thu Feb 03, 2011 10:16 pm

Previous
23 postsPage 2 of 21, 2
23 postsPage 2 of 21, 2