Top Banner
SmartThink Remote System Team Cyclops Justin Bewley Winter Jojola Florence Manega Paul Roberts Denknesh Temesgen
28

SmartThink Remote System Team Cyclops Justin Bewley Winter Jojola Florence Manega Paul Roberts Denknesh Temesgen.

Dec 21, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: SmartThink Remote System Team Cyclops Justin Bewley Winter Jojola Florence Manega Paul Roberts Denknesh Temesgen.

SmartThink Remote System

Team CyclopsJustin BewleyWinter Jojola

Florence ManegaPaul Roberts

Denknesh Temesgen

Page 2: SmartThink Remote System Team Cyclops Justin Bewley Winter Jojola Florence Manega Paul Roberts Denknesh Temesgen.

Introduction

• SmartThink Remote System – Designed for people with disabilities– Aids in performing everyday tasks

• Controls television set

• Controls objects attached to SmartThink adapters  

Page 3: SmartThink Remote System Team Cyclops Justin Bewley Winter Jojola Florence Manega Paul Roberts Denknesh Temesgen.

Conceptual Design

• Infra Red transmission – Line of sight + 10 degrees– Learns Pre-programmed IR codes  

• Incorporates an LED array attached to a target CPU – LEDs correspond to state of FPGA state

machine  

Page 4: SmartThink Remote System Team Cyclops Justin Bewley Winter Jojola Florence Manega Paul Roberts Denknesh Temesgen.

Conceptual Design continued…

• Head mounting– Digital compass

• Imitate head motion

– Inclinometers • Levels; determine vertical angle of sight

Page 5: SmartThink Remote System Team Cyclops Justin Bewley Winter Jojola Florence Manega Paul Roberts Denknesh Temesgen.

Description of working system

• Motherboard– Microcontroller

– FPGA

– Memory

• IR Transmission– Tx / Rx

– Adapter

• Sip/Puff Switch• Button Switch• Software

Page 6: SmartThink Remote System Team Cyclops Justin Bewley Winter Jojola Florence Manega Paul Roberts Denknesh Temesgen.

Overview Block Diagram

Page 7: SmartThink Remote System Team Cyclops Justin Bewley Winter Jojola Florence Manega Paul Roberts Denknesh Temesgen.

Motherboard

Page 8: SmartThink Remote System Team Cyclops Justin Bewley Winter Jojola Florence Manega Paul Roberts Denknesh Temesgen.

Micro-controller Shown below is the MC68HC11, with the clock (8MHz) and reset button

Page 9: SmartThink Remote System Team Cyclops Justin Bewley Winter Jojola Florence Manega Paul Roberts Denknesh Temesgen.

Schematics continuedDriver for the address and data (MC74HC245) latch for the data (MM74C373)

Page 10: SmartThink Remote System Team Cyclops Justin Bewley Winter Jojola Florence Manega Paul Roberts Denknesh Temesgen.

Schematics continuedBelow is the schematics for the ROM and RAM

Page 11: SmartThink Remote System Team Cyclops Justin Bewley Winter Jojola Florence Manega Paul Roberts Denknesh Temesgen.

FPGA - Spartan

Page 12: SmartThink Remote System Team Cyclops Justin Bewley Winter Jojola Florence Manega Paul Roberts Denknesh Temesgen.

State Machine

Page 13: SmartThink Remote System Team Cyclops Justin Bewley Winter Jojola Florence Manega Paul Roberts Denknesh Temesgen.

IR Transmission

Page 14: SmartThink Remote System Team Cyclops Justin Bewley Winter Jojola Florence Manega Paul Roberts Denknesh Temesgen.

IR Reception

• Television Set• Adaptor to go on

other devices, i.e. fan – Regulated by

120Vac.– Processor checks

for IR codes– Relay switches

power flow to peripheral device

Page 15: SmartThink Remote System Team Cyclops Justin Bewley Winter Jojola Florence Manega Paul Roberts Denknesh Temesgen.

Sip/Puff Switch• Origin Instruments, Corporation

• Zero-Power Design, No AC Plug and No Batteries

• The metal switch box contains the devices that

convert sips & puffs to electrical switch closures

• Switch events are accessed from the 1/8"

microphone connectors on the end panel

• Switches are designed for low current electronic loads

• Retail: $295.00

Page 16: SmartThink Remote System Team Cyclops Justin Bewley Winter Jojola Florence Manega Paul Roberts Denknesh Temesgen.

Memory Map

Page 17: SmartThink Remote System Team Cyclops Justin Bewley Winter Jojola Florence Manega Paul Roberts Denknesh Temesgen.

Software Breakdown

• Interrupt from XCS10

• Serial Data Out

• Serial Data In

• Find open slot for data

Page 18: SmartThink Remote System Team Cyclops Justin Bewley Winter Jojola Florence Manega Paul Roberts Denknesh Temesgen.

Interrupt from XCS10

• (State is latched to data bus from XCS10)

• Processor reads in state from data bus• Based on state, read in from

appropriate flash memory preset location (SPI)

• Send data across Serial TX until signal is complete (SCI)

• Send data out serially

Page 19: SmartThink Remote System Team Cyclops Justin Bewley Winter Jojola Florence Manega Paul Roberts Denknesh Temesgen.

Serial Data Out(memory addr. Z)

• For(I = 0; I < IR signal length; I++)– Gather memory byte from Z+I– Send data along serial line

Page 20: SmartThink Remote System Team Cyclops Justin Bewley Winter Jojola Florence Manega Paul Roberts Denknesh Temesgen.

Serial Data In(void)

• For(I = 0; I < IR sig. Len; I++)– Put memory byte from serial line into

location $TEMP+I

• Find open pre-selected data space->Y• If(Y == ERROR)

– Memory space all used up, flash ERROR

– Zero out memory space @ Temp

• Else, move memory from TEMP to Y

Page 21: SmartThink Remote System Team Cyclops Justin Bewley Winter Jojola Florence Manega Paul Roberts Denknesh Temesgen.

Find open data space(void)

• Based on config byte at 0x0000, find open space in memory for new code (0 = mem in use) (1 = mem open)

• If no open space, return ERROR

• If there is an open space, return which space and declare the space used

Page 22: SmartThink Remote System Team Cyclops Justin Bewley Winter Jojola Florence Manega Paul Roberts Denknesh Temesgen.

Parts List

• Motherboard– HC11– Spartan XCS10

• IR– TX-IR (Control chip)– 4MHz (Resonator)– ZTX601 (Darlington circuit)– IR LED (+ 10 deg high power)– TSOP-1140 (IR receiver)– MAX223CPP (DIP-drives voltage to 12V)– PIC 16C84-04 (Controller for adapter)

Page 23: SmartThink Remote System Team Cyclops Justin Bewley Winter Jojola Florence Manega Paul Roberts Denknesh Temesgen.

Parts List Continued

• Switches– Sip / Puff– Buttons

• Misc– Batteries

• 12 Vdc 4Ah NiMH (2)

– Servos• Hitec Hobby Servos (2)

Page 24: SmartThink Remote System Team Cyclops Justin Bewley Winter Jojola Florence Manega Paul Roberts Denknesh Temesgen.

Schedule

Page 25: SmartThink Remote System Team Cyclops Justin Bewley Winter Jojola Florence Manega Paul Roberts Denknesh Temesgen.

Milestone 1

• Boot up HC11

• FPGA Runs Basic Logic

• State Machine Logic Encoded

• Transmitter/Receiver Hardware Built

Page 26: SmartThink Remote System Team Cyclops Justin Bewley Winter Jojola Florence Manega Paul Roberts Denknesh Temesgen.

Milestone 2

• FPGA Debugged and Working

• Read/Write to RAM

• IR Signals Can be Learned

• Switches Interfaced with FPGA

Page 27: SmartThink Remote System Team Cyclops Justin Bewley Winter Jojola Florence Manega Paul Roberts Denknesh Temesgen.

Division of Labor

• Motherboard – Winter, Justin, Denknesh

• IR – Paul, Florence, Justin

• Sip/Puff – Florence, Denknesh

• Boot Code – Paul

• User Manual - Winter

• Technical Reference Manual - Everyone

Page 28: SmartThink Remote System Team Cyclops Justin Bewley Winter Jojola Florence Manega Paul Roberts Denknesh Temesgen.

Questions?