Wednesday, February 22, 2012

3pi motor control from Arduino

What is a 3pi robot ?
What is an Arduino board ?
What is an AVR Atmel Micro-controller ?
----------------
#include

OrangutanMotors motors;

void setup()               // run once, when the sketch starts
{

}

void loop()                // run over and over again
{
  // note that the following line could also be accomplished with:
  // int pot = analog.read(7);
  //int pot = analog.readTrimpot();    // determine the trimpot position
  int motorSpeed1 = 25;  // turn pot reading into number between -256 and 255
  int motorSpeed2 = 0;  // turn pot reading into number between -256 and 255

// Minus - Zero -> back to right (turn around one point)
// Zero - Minus -> Back to leftt (turn around one point)
// Positive - Zero -> front to right (turn around one point)
// Zero - Positive -> front to left (turn around one point)

// Speed1 < Speed2 -> back to right
// Speed1 > Speed2 -> Back to leftt
// Speed1 > Speed2 -> front to right
// Speed1 < Speed2 -> front to left
// looking at robot from back ->  left number goes to left motor & right goes to right motor
motors.setSpeeds(motorSpeed1,motorSpeed2);
}
---------------

Friday, January 20, 2012

Making mesh plot out of discrete points in Matlab


If you are wondering how to make a mesh plot out of discrete points, check out following link :

Tuesday, January 10, 2012

Printing out with ABB Rapid, TPWrite

TPWrite "The value is now "+ValToStr(pTemp.extax.eax_c);


This command would print out the data on FlexPendant. In robotStduio this would not be written in the output window(!), but you can follow this in Virtual FlexPendant.

For loop in ABB Rapid programming language

FOR index FROM initial_value TO final_value DO
      //Do Following ...
ENDFOR

Tuesday, October 25, 2011

Arduino driver, windows 2008

A while ago I had to connect Arduino to a Windows Server 2008. Well those who are familiar with the limitations on Windows Servers would not be surprised to know that it did not install automatically. It did not even get to know the UART communication protocol after installing MS Developers kit neither !!! The trick was only to turn on driver findings through windows updates which is deactivated by default on Windows 2008 (it is enabled by default on Windows 7).

Saturday, October 22, 2011

Rubik's Cube Solver


OBS: click on the image to see the animated gif file

Wednesday, September 7, 2011

JBI File Extension


Job file created by Motoman robot programming software; contains instructions for motion and other actions that control the robot; can be programmed and simulated offline and then uploaded to the robot's job database.
Motoman software is primarily used in industrial settings, but also in academic environments to teach robot programming. Motoman robots can be used for tasks such as assembly, handling, machine tending, packaging, palletizing, painting, and welding.
Source : http://www.fileinfo.com/extension/jbi
Programs that open this file extension :
Motoman MotoPallet EG
Motoman MotoFTP
Motoman FDDWIN32
Motoman ROTSY
Compucraft RobotWorks