Crea sito

4.2 MeArm Robot Controller



This is a nice example of what you can actually do with AVIL!

As you probably know MeArm is a "pocket size industrial robot" launched on Kickstarter in 2015.
As far as I know it comes in different flavour and versions but in every cases you basically have the Arm (mechanics and servos), and Arduino to control it.

It's a very nice product that really reply in a "desktop size" an industrial robot but, in the examples I was able to find in internet, it's usually controlled using the "raw" Arduino servo library in a regular sketch to move it manually (reading input values from a joystick or from some pc-based software) or to make some movements (without any speed control!) between positions "hard-coded" in the sketch itself.

In few words we have a nice "pocket size industrial robot" but we are completely missing a "pocket size industrial robot controller" that gives us the possibility to:

To do this I just used the AVIL shell example exetending the language in the way I described here.

The functions we need to realize the controller are just six!

This functions are already included in the repository, to enable them you just have to uncomment de MEARM directive in the compot.h file within the library.

This will disable the user's input/output on ethernet (if enabled) so you can connect your pc to the "shell" only using the serial connection.