15
BABY DUCK Chenlu Sun MAE

BABY DUCK Chenlu Sun MAE. IDEA A baby duck looking for her mom Functions: Basic motion Obstacle avoidance Distance keeping Color tracking

Embed Size (px)

Citation preview

Page 1: BABY DUCK Chenlu Sun MAE. IDEA A baby duck looking for her mom Functions:  Basic motion  Obstacle avoidance  Distance keeping  Color tracking

BABY DUCK Chenlu SunMAE

Page 2: BABY DUCK Chenlu Sun MAE. IDEA A baby duck looking for her mom Functions:  Basic motion  Obstacle avoidance  Distance keeping  Color tracking

IDEA

A baby duck looking for her mom

Functions: Basic motion Obstacle avoidance Distance keeping Color tracking

Page 3: BABY DUCK Chenlu Sun MAE. IDEA A baby duck looking for her mom Functions:  Basic motion  Obstacle avoidance  Distance keeping  Color tracking

LAYOUT

Page 4: BABY DUCK Chenlu Sun MAE. IDEA A baby duck looking for her mom Functions:  Basic motion  Obstacle avoidance  Distance keeping  Color tracking

STRUCTURE

Micro Controller Unit ( MCU )

Sensors

Human feedback

Communication

Motors

Page 5: BABY DUCK Chenlu Sun MAE. IDEA A baby duck looking for her mom Functions:  Basic motion  Obstacle avoidance  Distance keeping  Color tracking

MICRO CONTROLLER UNIT (MCU) Atmel Xmega 128A1

Page 6: BABY DUCK Chenlu Sun MAE. IDEA A baby duck looking for her mom Functions:  Basic motion  Obstacle avoidance  Distance keeping  Color tracking

SENSORS

Webcam

Sonar

Photoresistor

Page 7: BABY DUCK Chenlu Sun MAE. IDEA A baby duck looking for her mom Functions:  Basic motion  Obstacle avoidance  Distance keeping  Color tracking

SENSORS - WEBCAM

iPhone:iOS 6 App

Laptop: OpenCV 2.4.4 + Visual Studio 2012

IP address

Video capture

Page 8: BABY DUCK Chenlu Sun MAE. IDEA A baby duck looking for her mom Functions:  Basic motion  Obstacle avoidance  Distance keeping  Color tracking

SENSORS - WEBCAM

Page 9: BABY DUCK Chenlu Sun MAE. IDEA A baby duck looking for her mom Functions:  Basic motion  Obstacle avoidance  Distance keeping  Color tracking

SENSORS - WEBCAM

Page 10: BABY DUCK Chenlu Sun MAE. IDEA A baby duck looking for her mom Functions:  Basic motion  Obstacle avoidance  Distance keeping  Color tracking

SENSORS - SONARTC Sonar rigger signal

IO port input interrupt M(L/R) { Read TC M(L/R)_Distance = average of 20 history data M(L/R)_Distance > 800 Obstacle detected}

If (M_Detected) { Slow down or back If L_Distance > R_Distance + ∆ , turn left If R_Distance > L_Distance + ∆ , turn right}

If (L_Detected), turn right

If (R_Detected), turn left

M

L

R

Page 11: BABY DUCK Chenlu Sun MAE. IDEA A baby duck looking for her mom Functions:  Basic motion  Obstacle avoidance  Distance keeping  Color tracking

SENSORS - PHOTORESISTOR

Dark

Beep

Stop

ADC problem

Page 12: BABY DUCK Chenlu Sun MAE. IDEA A baby duck looking for her mom Functions:  Basic motion  Obstacle avoidance  Distance keeping  Color tracking

HUMAN FEEDBACK

LED Show status of three sonar sensors If M ( L / R ) _Detected, turn M ( L / R ) _LED on

Page 13: BABY DUCK Chenlu Sun MAE. IDEA A baby duck looking for her mom Functions:  Basic motion  Obstacle avoidance  Distance keeping  Color tracking

COMMUNICATION

Blue Tooth

Built-in Blue Tooth

Blue Tooth Slave Module

Page 14: BABY DUCK Chenlu Sun MAE. IDEA A baby duck looking for her mom Functions:  Basic motion  Obstacle avoidance  Distance keeping  Color tracking

MOTORS

Two motors Rear-wheels driving

speed control Front-wheel turning

Work with gears position control

Motor driver IC Dual drivers PWM input – easy control

× 2

+

Page 15: BABY DUCK Chenlu Sun MAE. IDEA A baby duck looking for her mom Functions:  Basic motion  Obstacle avoidance  Distance keeping  Color tracking

THIS IS NOT THE END

OpenCV

Atmel

Spark Fun

T-Tech

webcam

START Lowe’

s