guai shu shu instructors: prof. antonio arroyo and eric m. schwartz teaching assistants: tim martin...
TRANSCRIPT
![Page 1: Guai Shu Shu Instructors: Prof. Antonio Arroyo and Eric M. Schwartz Teaching Assistants: Tim Martin Ryan Stevens Student Name: shengkai Kong](https://reader036.vdocuments.us/reader036/viewer/2022082612/56649f345503460f94c51e2c/html5/thumbnails/1.jpg)
Guai Shu Shu
Instructors: Prof. Antonio Arroyo and Eric M.
SchwartzTeaching Assistants: Tim Martin Ryan Stevens Student Name:
shengkai Kong
![Page 2: Guai Shu Shu Instructors: Prof. Antonio Arroyo and Eric M. Schwartz Teaching Assistants: Tim Martin Ryan Stevens Student Name: shengkai Kong](https://reader036.vdocuments.us/reader036/viewer/2022082612/56649f345503460f94c51e2c/html5/thumbnails/2.jpg)
Objective
•Guai Shu Shu is designed to follow the kids, when get close to the kid, the Guai Shu Shu will ask them which candy they want, the robot can provide two kinds of candies, once the kid make the answer, Guai Shu Shu will use his arm to give them candies.
![Page 3: Guai Shu Shu Instructors: Prof. Antonio Arroyo and Eric M. Schwartz Teaching Assistants: Tim Martin Ryan Stevens Student Name: shengkai Kong](https://reader036.vdocuments.us/reader036/viewer/2022082612/56649f345503460f94c51e2c/html5/thumbnails/3.jpg)
Components
![Page 4: Guai Shu Shu Instructors: Prof. Antonio Arroyo and Eric M. Schwartz Teaching Assistants: Tim Martin Ryan Stevens Student Name: shengkai Kong](https://reader036.vdocuments.us/reader036/viewer/2022082612/56649f345503460f94c51e2c/html5/thumbnails/4.jpg)
arduino
Xbee
Ultrasonic
sensorUltraso
nic sensor
IP camera
Wireless router
laptop
xBee
Left servo
Right servo
Arduino
Voice recognition
shield
micspeake
r
human
Robot arm
consists of 5
motor
![Page 5: Guai Shu Shu Instructors: Prof. Antonio Arroyo and Eric M. Schwartz Teaching Assistants: Tim Martin Ryan Stevens Student Name: shengkai Kong](https://reader036.vdocuments.us/reader036/viewer/2022082612/56649f345503460f94c51e2c/html5/thumbnails/5.jpg)
Receive the image from the IP camera.
Smooth the image, and filter other color
except the yellow
Get the coordination of the yellow.
0<X<200?
X>0&&Y>0
200<X<400?
400<X<600?
Write ‘R’ to serial port
Write ‘C’ to serial port
Write ‘L’ to serial port
![Page 6: Guai Shu Shu Instructors: Prof. Antonio Arroyo and Eric M. Schwartz Teaching Assistants: Tim Martin Ryan Stevens Student Name: shengkai Kong](https://reader036.vdocuments.us/reader036/viewer/2022082612/56649f345503460f94c51e2c/html5/thumbnails/6.jpg)
Receive data?
Receive ‘R’
Receive ‘L’
Receive ‘C’
Left distance<25
AndRight
distance<25
Right distance<
25?
Left distance<
25?
forward
Backward and turn Right
Turn left
Turn right
Turn leftA little
bit
Turn right
A little bit
Left distance<25
AndRight
distance<25
stop
forward