Guai Shu Shu Instructors: Prof. Antonio Arroyo and Eric M. Schwartz Teaching Assistants: Tim Martin Ryan Stevens Student Name: shengkai Kong
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.
Components
arduino Xbee Ultrasoni c sensor IP camera Wireless router laptop xBee Left servo Right servo Arduin o Voice recognition shield micspeaker human Robot arm consists of 5 motor
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
Receive data? Receiv e ‘R’ Receiv e ‘L’ Receiv e ‘C’ Left distance<25 And Right distance<25 Right distance<25? Left distance<25? forward Backward and turn Right Turn left Turn right Turn left A little bit Turn right A little bit Left distance<25 And Right distance<25 stop forward