a robot programming with robix

18
A ROBOT PROGRAMMING WITH ROBIX. Made by: • Dishank Upadhyay 086440320059 • Hasmukh Thakor 086440320058 • Sanket Vaisnav 086440320060

Upload: dishank-upadhyay

Post on 21-Jul-2016

60 views

Category:

Documents


5 download

DESCRIPTION

Robot programming with robix robo kit

TRANSCRIPT

Page 1: A Robot Programming With Robix

A ROBOT PROGRAMMING WITH ROBIX.

Made by:• Dishank Upadhyay 086440320059• Hasmukh Thakor 086440320058• Sanket Vaisnav 086440320060

Page 2: A Robot Programming With Robix

Programming

• Computer programming is the process of writing, testing, debugging/troubleshooting, and maintaining the source code of computer programs. This source code is written in a programming language.

• Here we are using robix programming to operate some models and mainly to control the servo motors.

Page 3: A Robot Programming With Robix

Robix

• Robix software has the advanced capability to run robots remotely, over a network, or even over the internet.

• Nowadays “rascal 0.2.23” software is used for controlling the model .

• The main thing is to control the servo motor and with help of that the whole mechanism will be carried out with a operation.

Page 4: A Robot Programming With Robix

Servo motor controller:•Here in figure a servo controller is shown.

•This controller is communicated by the LPT port to the computer.

•All the servo motors must be joined in this controller and by programming in computer we can directly take output from here

Page 5: A Robot Programming With Robix

Robix

• Some simple projects (done by robix kit) :– Snack – Chemist– Thrower– Coffee maker– Bubbler

• We are going to see programme of the thrower project here.

Page 6: A Robot Programming With Robix

Thrower:•Consist of:

•3 servo motors•Aluminium slotted links•Aluminium base•Spoon or handle

•To thow the ball or any light weight particle.

Page 7: A Robot Programming With Robix

Thrower :

• To make the program of thrower some commands are used are listed below:– Invert– move– maxspd– accdec– wait– throw

Page 8: A Robot Programming With Robix

Invert

• Syntax: – invert <servo list> on|off

• Description:– In this servo operation is inverted i.e. if servo used

to work with clockwise and if we apply this instruction the rotation will be the counterclockwise.

– EX: invert all off;• It means all current setting will be clear.

Page 9: A Robot Programming With Robix

move

• Syntax:– 1.move <servo list> to <value>– 2.move <servo list> by <value>– 3.move <slist> to|by <val>[[,<slist> to|by <val>]..]

• Description:– 1. is also called absolute move.– Ex: move 1 to 0;

• i.e. move servo to the position 0.– 2. is also called relative move– Ex : move 1 by -50;

• i.e. move servo 1 by 50 units negatively

Page 10: A Robot Programming With Robix

move

– If several servos need to move at once to different positions and/or byvdifferent amounts, then the third and most general form of the move command is used.

– Ex: move 1 by 20, 2 to -400, 5,6 to -100• Servo 1 will move by 20 units, 2 will move to position -

400 and Servos 5 and 6 will move by -100.

Page 11: A Robot Programming With Robix

Maxspd

• Syntax:– maxspd <servo list> <value>

• Description:– Ex: maxspd 1 25;• i.e. servo 1 will operate at maximum speed of 25.

Page 12: A Robot Programming With Robix

accdec

• Syntax:– accdec <servo list> <value>

• Description:– Sets both the acceleration and deceleration of the

servos in <servolist> to <value>.– <value> must be in the range 1..10000– Ex: accdec 1 25;• i.e. acceleration and deceleration value will be 25.

Page 13: A Robot Programming With Robix

maxpos & minpos

• Syntax:– maxpos <servo list> <value>– minpos <servo list> <value>

• Description:– It shows the maximum and minimum position of

the servo.– Maximum and minimum position of the servo

motor is 1400 & -1400 accordingly.

Page 14: A Robot Programming With Robix

wait

• Syntax:– wait <value>

• Description:– Wait approximately <value> tenths of a second

before executing the next command.– Ex: wait 30;• i.e. servo will wait 3 secconds before executing the next

command.

Page 15: A Robot Programming With Robix

Programme:invert allinvert 2 on #macro throw;maxspd 1, 2, 3 25; accdec all 4;move 1 to -957, 2 to -507,3 to -541; wait 25maxspd 1, 2, 3 500accdec all 200;move 1 to 554, 2 to 1121, 3 to 729wait 10end;throw 0

Page 16: A Robot Programming With Robix

Thrower

Page 17: A Robot Programming With Robix

SummaryWhat is programming?

Robix

Servo controller

Robix instructionmove , accdec , wait , maxspd etc.

Thrower programme

Page 18: A Robot Programming With Robix

THANK YOU

• Guided by:– Mr. B.D.Prajapatisir