guai shu shu instructors: prof. antonio arroyo and eric m. schwartz teaching assistants: tim martin...

6
Guai Shu Shu Instructors: Prof. Antonio Arroyo and Eric M. Schwartz Teaching Assistants: Tim Martin Ryan Stevens Student Name: shengkai Kong

Upload: joan-paul

Post on 05-Jan-2016

216 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Guai Shu Shu Instructors: Prof. Antonio Arroyo and Eric M. Schwartz Teaching Assistants: Tim Martin Ryan Stevens Student Name: shengkai Kong

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

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

Components

Page 4: Guai Shu Shu Instructors: Prof. Antonio Arroyo and Eric M. Schwartz Teaching Assistants: Tim Martin Ryan Stevens Student Name: shengkai Kong

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

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

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