Professional Documents
Culture Documents
UGEB Project-Assignment
UGEB Project-Assignment
UGEB Project-Assignment
Task 1: Build a program that can detect disk pattern. You can input a number 1 to 7, such the disk
pattern will stop at it.
Task 2: Build a program to draw a dot or line (A) in 1 st ring, draw a contour (B) between ring 2 and ring 3
and move the arm to the photo gesture.
We will count the time taken of the task 1 and the task 2.
Photo gesture
Commands provided in given program
'a': gripper
case 'x':
case 'y':
case 't':
selected_axis = inChar;
1. All groups need to adjust the monitor arrangement (camera view, serial input view), arm moves
to ‘h’ command.
2. Program starts again or robot arm in home position via the serial monitor. The pen is already
plugged in.
3. In Zoom, Dr. Han announce all groups start press the ‘record video’ button of the camera
program.
4. Dr. Han asks you move disk pattern to 111 via serial input ‘7’.
5. Next Dr. Han will give the disk pattern ‘x’ to you. (‘x’ is 1 to 7).
6. All groups enter ‘x’ to the serial monitor.
7. After motor stop and pattern found, you need to stop the camera recording. Using ‘Snipping
Tool’ in your home computer to capture the remote computer’s screen. Then send the captured
image to Dr. Han. (It needs 1 or 2 minutes maximum)
8. Don’t do anything in remote computer, lab in charge will record all computers data. You can give
notice to us by turning the LED to flash.
*************Task 2******************
9. In Zoom, Dr. Han will request all groups to draw a rectangle, i.e. input the command ‘r’ in the
serial monitor. It is a test to make sure the drawing is good.
10. After it, all groups enter ‘h’ in the serial monitor, hence move the arm to the home position.
11. Lab in charge will clean all the drawing board. If the drawing is not accepted, lab in charge will
adjust for you and test again.
12. In Zoom, Dr. Han announce all groups start press the ‘record video’ button of the camera
program.
13. Next Dr. Han will request you enter the ‘z’ to the serial monitor to start the timer and move the
arm to a pre-defined gesture.
14. You need to control the robot arm to draw (A)** a dot or line within the ring 1 and (B)**draw a
contour (closed loop line) between Ring 2 and Ring 3.
15. After you finish the drawings, the robot arm needs go to the gesture as fig. photo-gesture.
16. After the robot arm moved to the photo-gesture, you need to stop the camera recording. Using
‘Snipping Tool’ in your home computer to capture the remote computer’s screen. Then send the
captured image to Dr. Han.
17. We may need 10 to 15 minutes for steps 9 to 15.
18. Don’t do anything in remote computer, lab in charge will record all computers data. You can give
notice to us by turning the LED to flash.
19. End of project demo.
** It is very difficult to control the drawing online, so we will not count the moving in and moving
out of the pen.
Demo commands
*** After step 13, you can build your command by yourself and do what you want. It is no restriction.