Robot Progress

Overall the task of making our robotic platform draw any constant figure became challenging due to the low cost goal that we where trying to maintain. At the end we manage to draw a square with close accuracy using the ultrasound sensor. A problem still came up when making the same drawing while dragging the pen and while being over the paper(canvas). Due to many of the problems I decided to make a second implementation of the robot that will help with the ultimate goal of using Bluetooth to control the robots. In this implementation the robot direction was control by an app created in app inventor that gave the user the ability to A. control the motion of the robot up down left and right B. the option to pick from 3 hard coded design.

Advertisements

Processing

We have decided to create the following image as the image to be drawn by the robot and here how it will look in Processing.

Code:

void setup(){
size(500, 500);
background(255);
stroke(0);
}

void draw(){
int dimrec = 350;
float c = random(255);
fill(255);
for(int i =0; i<5; i++)
{
rectMode(CENTER);
stroke(0);
rect(width/2,height/2, dimrec, dimrec);

pushMatrix();
translate(width/2,height/2);
rotate(radians(45));

rect(0,0, dimrec,dimrec);
popMatrix();
dimrec = dimrec – 25;
}
noStroke();

fill(0,0,128);
//Letter “F” From FAU
rect(width/2-40,height/2, 12, 50);
rect(width/2-25,height/2-19, 15, 12);
rect(width/2-28,height/2,10, 12);

//Letter “A” From FAU
rect(width/2-8,height/2, 12, 50);
rect(width/2+13,height/2, 12, 50);
rect(width/2+3,height/2-19,7, 12);
rect(width/2+3,height/2,7, 12);

//Letter “U” From FAU
rect(width/2+29,height/2, 12, 50);
rect(width/2+50,height/2, 12, 50);
rect(width/2+40,height/2+19,7, 12);

}

Atmel AVR

Atmel AVR processors uses a variation of the RISC architecture.  This is the same architecture that is used today in most of the smart phones and tablets, although ARM is the company that provides the processor for these applications.  The competing architecture is x86 or x 64 which was develop by Intel.

RISC Architectur – Reduced Intruction Set Computing which is base on the strategy of simplicity of intructions such that you can achive a higher performance with each intruction.

The feature that separates RISC and x86 is that a processor that uses RISC architecture only knows a few types of instructions so this means it can cycle through each set of instructions faster.  Also since the processor is less complicated, the the amount of transistors on it can be reduced and thus a  processor using RISC architecture will draw less power.

Progress

So far all we’ve done is constructed some kits and are now running some simulations using both Processing and Eclips(Java).

Next step is to translate what we have done in the simulations into actual actions using Arduino to control the kit build.

Big Picture

I am a student at FAU currently taking the class embedded robotics. In this class we use a variety of tools to achieve a common goal. Some of those tools are Processing, Eclips using Java, Arduino micro-controller and may more.

Our goal is to create a life size chess game that will be control by a game in a android phone. Meaning when a player makes a move in the chess game application on the android phone the same thing that happens in the game(phone) happens in front of them.