a robot programming with robix
DESCRIPTION
Robot programming with robix robo kitTRANSCRIPT
![Page 1: A Robot Programming With Robix](https://reader030.vdocuments.us/reader030/viewer/2022020722/577cc7481a28aba711a0865f/html5/thumbnails/1.jpg)
A ROBOT PROGRAMMING WITH ROBIX.
Made by:• Dishank Upadhyay 086440320059• Hasmukh Thakor 086440320058• Sanket Vaisnav 086440320060
![Page 2: A Robot Programming With Robix](https://reader030.vdocuments.us/reader030/viewer/2022020722/577cc7481a28aba711a0865f/html5/thumbnails/2.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022020722/577cc7481a28aba711a0865f/html5/thumbnails/3.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022020722/577cc7481a28aba711a0865f/html5/thumbnails/4.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022020722/577cc7481a28aba711a0865f/html5/thumbnails/5.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022020722/577cc7481a28aba711a0865f/html5/thumbnails/6.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022020722/577cc7481a28aba711a0865f/html5/thumbnails/7.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022020722/577cc7481a28aba711a0865f/html5/thumbnails/8.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022020722/577cc7481a28aba711a0865f/html5/thumbnails/9.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022020722/577cc7481a28aba711a0865f/html5/thumbnails/10.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022020722/577cc7481a28aba711a0865f/html5/thumbnails/11.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022020722/577cc7481a28aba711a0865f/html5/thumbnails/12.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022020722/577cc7481a28aba711a0865f/html5/thumbnails/13.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022020722/577cc7481a28aba711a0865f/html5/thumbnails/14.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022020722/577cc7481a28aba711a0865f/html5/thumbnails/15.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022020722/577cc7481a28aba711a0865f/html5/thumbnails/16.jpg)
Thrower
![Page 17: A Robot Programming With Robix](https://reader030.vdocuments.us/reader030/viewer/2022020722/577cc7481a28aba711a0865f/html5/thumbnails/17.jpg)
SummaryWhat is programming?
Robix
Servo controller
Robix instructionmove , accdec , wait , maxspd etc.
Thrower programme
![Page 18: A Robot Programming With Robix](https://reader030.vdocuments.us/reader030/viewer/2022020722/577cc7481a28aba711a0865f/html5/thumbnails/18.jpg)
THANK YOU
• Guided by:– Mr. B.D.Prajapatisir