Bharat Vennu ECE245 Assignment 10
Bharat Vennu ECE245 Assignment 10
12008296
RE2006A18
ECE245
Assignment-10
AIM:-
To pick and place objects from the assembly line(Conveyor belt) integrated
with proximity sensor and colour sensor.
Procedure:
• As the first step, Connect the robot with the control device(laptop) by means
of bluetooth/wifi/USB.
• Now open Dobot Studio-V1.9.4.
• Select block coding on the interface.
• Then run homing to check the robot and connections.
• When the block coding interfaces open we can find options top left divided on
their uses into categories.
• Now select the set conveyer belt speed block and adjust the values.
• then select a set block with the option to label as we wish and label 3 of them
as red num, green num, and blue num.
• as we have to operate with proximity and color sensor select photoelectric
sensor and set color sensor blocks.
• Input setIO multiplexing block.
• Now select a set conveyer block to operate the conveyer belt
• Input a repeat do block to make loops and set the conveyer belt to move
continuously until the specified command
• After adding true to repeat do function, add if else function.
• Now select get the photoelectric sensor and set conveyer blocks to detect the
presence of block in front of the sensor and stop conveyer belt.
• add the move to block to take end effector to a position above the block
• now add a suction cup and on it
• then add move distance blocks to move the end effector to move along the z-
axis to pick and lift the object
• then again add the move to block to bring an object to the color sensor to detect
its color.
• Now add a set to identify color blocks to state the input colors
• As we have to determine the color of the object selected take a set color found
block and add a maximum block with the list of input colors, so that color can
be detected.
• Now add the move to block to take an object from the sensor to a height.
• So as the color of the object is found add an if-else function for the loop.
• then add color found block and input as a red color label as before so the loops
work for red color object
• now select move to block and specify the co-ordinates where we need to place
it
• then suction off and move it to a height
• now repeat same with green and blue colors but change the coordinates for
them so that they overlap and so that they can be positioned as the required
output
• and with else add set conveyer belt to move it if no object presence is sensed.