YOU ARE DOWNLOADING DOCUMENT

Please tick the box to continue:

Transcript
Page 1: Twitch Plays ECE477 ECE 477 Design Review Team 1 − Spring 2015 Hannan Harlan Root Tornquist.

Twitch Plays ECE477ECE 477 Design Review Team 1 − Spring 2015

Hannan Harlan Root Tornquist

Page 2: Twitch Plays ECE477 ECE 477 Design Review Team 1 − Spring 2015 Hannan Harlan Root Tornquist.

Outline• Project overview • Project-specific success criteria• Block diagram• Component selection rationale• Packaging design• Schematic and theory of operation• PCB layout• Software design/development status• Project completion timeline• Questions / discussion

Page 3: Twitch Plays ECE477 ECE 477 Design Review Team 1 − Spring 2015 Hannan Harlan Root Tornquist.

Project OverviewTwitch Plays ECE477 is a Collaborative

Robotics Project

Twitch Plays

ECE477

Team 1

Team 2

Page 4: Twitch Plays ECE477 ECE 477 Design Review Team 1 − Spring 2015 Hannan Harlan Root Tornquist.

Project Specific Success Criteria1. An ability to receive video from a camera via UART and transmit data via

WiFi to a PC.

2. An ability for a robot to receive and decode commands from a webserver over WiFi.

3. An ability for the microcontroller to direct motor speed and direction based on a desired movement operation (forward, backwards, rotate, kick).

4. An ability for a webserver to receive commands from users on the internet, enqueue the commands, and send them to the robots at a human playable rate. (Low delay between commands, but enough time for human to respond).

5. An ability to track the game score via sensors on goals and display the score both on the field of play and on the video feeds. (Note: This will be done via a raspberry PI).

Page 5: Twitch Plays ECE477 ECE 477 Design Review Team 1 − Spring 2015 Hannan Harlan Root Tornquist.

Block DiagramVideo

Subsystem

Goal Sensors

Router Webserver

WiFiModule

Camera Module

Motor Controller

Score Display

Page 6: Twitch Plays ECE477 ECE 477 Design Review Team 1 − Spring 2015 Hannan Harlan Root Tornquist.

Mechanical Design

Page 7: Twitch Plays ECE477 ECE 477 Design Review Team 1 − Spring 2015 Hannan Harlan Root Tornquist.

Component Selection Rationale● Microcontroller● Motors● Camera● WiFi● Power

Page 8: Twitch Plays ECE477 ECE 477 Design Review Team 1 − Spring 2015 Hannan Harlan Root Tornquist.

Component: Microcontroller

Requirements:● Memory for JPEG Frame (~1.14 MB 640*480)● 2 UART (Camera and WiFi)● 3 PWM● 2 GPIO (Motor Direction)

PIC32MZ2048ECM064 meets these requirements

Page 9: Twitch Plays ECE477 ECE 477 Design Review Team 1 − Spring 2015 Hannan Harlan Root Tornquist.

Component: Motors

Stepper● Harder to Control● More Costly● High Precision

Brushed DC● Easy to Control● Cheap● Low Precision

Page 10: Twitch Plays ECE477 ECE 477 Design Review Team 1 − Spring 2015 Hannan Harlan Root Tornquist.

Component: Camera

Omnivision OV9715● SCCB Interface● 10-bit RAW RGB

uCAM II● UART Interface● JPEG Images● 3.3v Logic

Page 11: Twitch Plays ECE477 ECE 477 Design Review Team 1 − Spring 2015 Hannan Harlan Root Tornquist.

Component: WiFi

RN171● Integrated TCP/IP● Packaged Solution● ASCII Input● UART

MRF24WG0MA● Off Chip Stack● High Control● SPI

Page 12: Twitch Plays ECE477 ECE 477 Design Review Team 1 − Spring 2015 Hannan Harlan Root Tornquist.

Component: Power

Tether● Limited

Motion● Constant

Power

Battery● Full

Motion● Limited

Power

Bumper-Car Style● Full

Motion● Constant

Power

Page 13: Twitch Plays ECE477 ECE 477 Design Review Team 1 − Spring 2015 Hannan Harlan Root Tornquist.

Packaging Design - Field

Playing Field / Enclosure - 48” x 48” x 12”

Page 14: Twitch Plays ECE477 ECE 477 Design Review Team 1 − Spring 2015 Hannan Harlan Root Tornquist.

Packaging Design - Robot

Isometric View Back View Chassis

Page 15: Twitch Plays ECE477 ECE 477 Design Review Team 1 − Spring 2015 Hannan Harlan Root Tornquist.

Software Components

Page 16: Twitch Plays ECE477 ECE 477 Design Review Team 1 − Spring 2015 Hannan Harlan Root Tornquist.

CommunicationMap

Page 17: Twitch Plays ECE477 ECE 477 Design Review Team 1 − Spring 2015 Hannan Harlan Root Tornquist.

Embedded Operations

Initialize Camera Logic

Command Logic

Page 18: Twitch Plays ECE477 ECE 477 Design Review Team 1 − Spring 2015 Hannan Harlan Root Tornquist.

Embedded Operations

Page 19: Twitch Plays ECE477 ECE 477 Design Review Team 1 − Spring 2015 Hannan Harlan Root Tornquist.

Command System Response

System

IRC Bot

Redis Server (Resque Queue)

Page 20: Twitch Plays ECE477 ECE 477 Design Review Team 1 − Spring 2015 Hannan Harlan Root Tornquist.

Command System

Page 21: Twitch Plays ECE477 ECE 477 Design Review Team 1 − Spring 2015 Hannan Harlan Root Tornquist.

Video FeedGenerate Image Feed

Broadcast Twitch Data

Page 22: Twitch Plays ECE477 ECE 477 Design Review Team 1 − Spring 2015 Hannan Harlan Root Tornquist.

Video Feed

Page 23: Twitch Plays ECE477 ECE 477 Design Review Team 1 − Spring 2015 Hannan Harlan Root Tornquist.

Scoring System

Raspberry Pi PC

Page 24: Twitch Plays ECE477 ECE 477 Design Review Team 1 − Spring 2015 Hannan Harlan Root Tornquist.

Scoring System

Page 25: Twitch Plays ECE477 ECE 477 Design Review Team 1 − Spring 2015 Hannan Harlan Root Tornquist.

PCB

Page 26: Twitch Plays ECE477 ECE 477 Design Review Team 1 − Spring 2015 Hannan Harlan Root Tornquist.

Initial PCB Layout

Page 27: Twitch Plays ECE477 ECE 477 Design Review Team 1 − Spring 2015 Hannan Harlan Root Tornquist.

PCB Layout v1.0

Page 28: Twitch Plays ECE477 ECE 477 Design Review Team 1 − Spring 2015 Hannan Harlan Root Tornquist.

PCB Layout v2.0

Page 29: Twitch Plays ECE477 ECE 477 Design Review Team 1 − Spring 2015 Hannan Harlan Root Tornquist.

Layout Comparison

Page 30: Twitch Plays ECE477 ECE 477 Design Review Team 1 − Spring 2015 Hannan Harlan Root Tornquist.

Project Status

Page 31: Twitch Plays ECE477 ECE 477 Design Review Team 1 − Spring 2015 Hannan Harlan Root Tornquist.

Software Development Status

Webcam Control

WiFi Control

Webcam to WiFi

Request Command

Execute Command

IRC Bot

Command Queue

Receive Image

Send Command

Frontend for

Stream

Webcam Server

Score Display

Score Change

Score Tracking

Score Trigger

Microcontroller Webserver Raspberry Pi

Not Started

In Progress

Complete

Page 32: Twitch Plays ECE477 ECE 477 Design Review Team 1 − Spring 2015 Hannan Harlan Root Tornquist.

Project Completion Timeline

Weekly Goals:Week 9: Pic32 WiFi and camera logicWeek 11: Complete Software InteractionsWeek 12: Build Robot and FieldWeek 13: Testing/Turn in Early

Week 14: Testing/Turn in EarlyWeek 15: Testing/Turn in EarlyWeek 16: Showcase

Page 33: Twitch Plays ECE477 ECE 477 Design Review Team 1 − Spring 2015 Hannan Harlan Root Tornquist.

Questions?


Related Documents