by Juha » Mon Nov 06, 2006 2:10 pm
by Juha
Mon Nov 06, 2006 2:10 pm
Hi guys,
I though I'd give you a brief update on what I've been doing.
I've always had the plan on replacing the cm-5 with a solution that fits my needs better. I mean, I think Bioloid is an excellent structure to build your robot on, the ax-12 has awesome features (like chaining, feedback, they're powerful etc), and the plastic structures with the kit are very good quality (light, but very strong).
However, cm-5 provides almost no expandability.
So, yesterday I was finally able to control the ax-12 actuators with my new prototype controller. Not really much there yet, just bunch of wires on a prototyping board.
What I'm using is SNAP module from Imsys
http://www.imsys.se/products/modules/snapmodule.htm.
SNAP is based on the TINI java processor, which is packed on a 72 pin SIMM. It has 2MB of flash and 8MB of DRAM and it supports J2ME-CLDC with floats. The fact that it runs java code (with "real" thread support) fits my need really well, since I've been working with java for as long as java has existed. Right now I'm powering the module from the Bioloid bus.
The module has excellent networking capabilities, like 3x serial, i2c, 10/100base Ethernet, CAN etc. There are also generic I/O pins which you can use.
Right now I just have one java class which can handle the communication over the half-duplex serial bus, and construct/send and receive messages over the bus. On top of this I have a command-line tool I can use over terminal to type in the messages.
What I'm planning on doing the next:
Software:
1) Right now I'm designing a java framework that handles the movement sequences. Idea is, that you can design "static" sequences like you can with the movement editor (just number data) or extend a java base class to create more dynamic movements. There are more issues here; I'll get back to that later...
Hardware (*):
1) Bluetooth: this is one of the top priorities. There are some nice & cheap serial-over-Bluetooth modules; I'll just have to figure out which one to order.
2) Camera (**). I've also run into some nice miniature cameras which take pictures in JPG and send then over serial, like this one:
http://www.tdc.co.uk/camera/index.htm#itmc328
3) Gyros/Accelerometers. This is probably the best one I've run into:
http://www.sparkfun.com/commerce/produc ... ts_id=741#
Of course, with this one I'd need a/d converters. Something that communicates over I2C might be nicer.
4) Compass module. This seems quite ok
http://www.sparkfun.com/commerce/produc ... ts_id=7915
5) General I/O and A/D: These are needed for different buttons/LEDs etc, and also possibly for the section 3. The plan is to use I2C for these kinds of things; I don't what to waste the few general I/O pins that on SNAP for something like turning a LED on/off or reading a status of some button. Perhaps use this one:
http://www.sparkfun.com/commerce/produc ... ts_id=8130
However, it's digital only. So another choice might to make a similar solution with some AVR which typically have A/D on them, and communicate with it over I2C.
6) New battery, like I wrote in the general section of this forum. I'll probably go with Li-Po battery. I found this Finnish store recently:
http://www.verticalhobby.com/indexen.html
Robot structure:
1) At some point I'll design an actual board. I'll just first have to figure out all the components I want on it.
2) I'll have to expand the torso of the robot to fit SNAP in there. It will most likely reside in sort of a "back bag". The torso will be few cm taller then now.
3) More actuators for moving head + proper arms. I might first take the ax-12 from the arms when I update the torso with moving head. But at some point I'll have to order more ax-12s. Does robosavvy sell single ax-12? (Half a dozen or so)
* = Ideas on where to get these are really appreciated! One of the problems is, that I've found nice components, but they're all from different stores
It would be a lot easier to order them from one store... please, if you have ideas on the components I need, let me know
** = My plan is to have
on board image processing. Not just a solution where you have wireless camera on the robot, and image is send to your computer / some monitor. Of course, the ultimate goal is stereovision
I've worked with machine vision a little bit in my past.
Hmm... What else...
I'm taking it easy with this project; let's see when I'll actually have the robot walking with the new controller.
So, the update wasn't so "brief" in the end
Thoughts / ideas appreciated!
Br,
Juha
Hi guys,
I though I'd give you a brief update on what I've been doing.
I've always had the plan on replacing the cm-5 with a solution that fits my needs better. I mean, I think Bioloid is an excellent structure to build your robot on, the ax-12 has awesome features (like chaining, feedback, they're powerful etc), and the plastic structures with the kit are very good quality (light, but very strong).
However, cm-5 provides almost no expandability.
So, yesterday I was finally able to control the ax-12 actuators with my new prototype controller. Not really much there yet, just bunch of wires on a prototyping board.
What I'm using is SNAP module from Imsys
http://www.imsys.se/products/modules/snapmodule.htm.
SNAP is based on the TINI java processor, which is packed on a 72 pin SIMM. It has 2MB of flash and 8MB of DRAM and it supports J2ME-CLDC with floats. The fact that it runs java code (with "real" thread support) fits my need really well, since I've been working with java for as long as java has existed. Right now I'm powering the module from the Bioloid bus.
The module has excellent networking capabilities, like 3x serial, i2c, 10/100base Ethernet, CAN etc. There are also generic I/O pins which you can use.
Right now I just have one java class which can handle the communication over the half-duplex serial bus, and construct/send and receive messages over the bus. On top of this I have a command-line tool I can use over terminal to type in the messages.
What I'm planning on doing the next:
Software:
1) Right now I'm designing a java framework that handles the movement sequences. Idea is, that you can design "static" sequences like you can with the movement editor (just number data) or extend a java base class to create more dynamic movements. There are more issues here; I'll get back to that later...
Hardware (*):
1) Bluetooth: this is one of the top priorities. There are some nice & cheap serial-over-Bluetooth modules; I'll just have to figure out which one to order.
2) Camera (**). I've also run into some nice miniature cameras which take pictures in JPG and send then over serial, like this one:
http://www.tdc.co.uk/camera/index.htm#itmc328
3) Gyros/Accelerometers. This is probably the best one I've run into:
http://www.sparkfun.com/commerce/produc ... ts_id=741#
Of course, with this one I'd need a/d converters. Something that communicates over I2C might be nicer.
4) Compass module. This seems quite ok
http://www.sparkfun.com/commerce/produc ... ts_id=7915
5) General I/O and A/D: These are needed for different buttons/LEDs etc, and also possibly for the section 3. The plan is to use I2C for these kinds of things; I don't what to waste the few general I/O pins that on SNAP for something like turning a LED on/off or reading a status of some button. Perhaps use this one:
http://www.sparkfun.com/commerce/produc ... ts_id=8130
However, it's digital only. So another choice might to make a similar solution with some AVR which typically have A/D on them, and communicate with it over I2C.
6) New battery, like I wrote in the general section of this forum. I'll probably go with Li-Po battery. I found this Finnish store recently:
http://www.verticalhobby.com/indexen.html
Robot structure:
1) At some point I'll design an actual board. I'll just first have to figure out all the components I want on it.
2) I'll have to expand the torso of the robot to fit SNAP in there. It will most likely reside in sort of a "back bag". The torso will be few cm taller then now.
3) More actuators for moving head + proper arms. I might first take the ax-12 from the arms when I update the torso with moving head. But at some point I'll have to order more ax-12s. Does robosavvy sell single ax-12? (Half a dozen or so)
* = Ideas on where to get these are really appreciated! One of the problems is, that I've found nice components, but they're all from different stores
It would be a lot easier to order them from one store... please, if you have ideas on the components I need, let me know
** = My plan is to have
on board image processing. Not just a solution where you have wireless camera on the robot, and image is send to your computer / some monitor. Of course, the ultimate goal is stereovision
I've worked with machine vision a little bit in my past.
Hmm... What else...
I'm taking it easy with this project; let's see when I'll actually have the robot walking with the new controller.
So, the update wasn't so "brief" in the end
Thoughts / ideas appreciated!
Br,
Juha