THE FUTURE OF ROCK CLIMBING SmartWall 10/8/2009 Steve.

39
THE FUTURE OF ROCK CLIMBING SmartWall 10/8/2009 Steve

Transcript of THE FUTURE OF ROCK CLIMBING SmartWall 10/8/2009 Steve.

THE FUTURE OF ROCK CLIMBING

SmartWall

10/8/2009Steve

Team Members

Anil DamleMatanya HorowitzKirk LiuMark VankempenSteve Wilson

10/8/2009Steve

Presentation Outline

Review Solution Overall Status

Handhold Construction Architecture Status

Controller Architecture Status

Project Logistics Progress & Budget Goals

10/8/2009Steve

Project Review

SmartWall Use modern technology on the antiquated rockwall

Hardware Output

Light-up handholds Dynamic route creation

Input Pressure sensors User-programmable routes User specific memory

Memory User profiles

10/8/2009Steve

System Overview

Host Computer

Controller

Handhold Handhold

SD Card

User Input

10/8/2009Steve

Touchscreen

Project Status

10/8/2009Steve

Handhold prototype complete and ordered PCB Layout Physical Design Sensor Placement

Completed Wall With non- smart handholds installed

Wireless protocol completeController PCB layout complete and orderedHave clear handholds in shipment

System Diagram

MSP 430 F5438 XBee

LCD Display

Numeric Keypad

SD CardStorage

Host Compute

r

10/8/2009Steve

XBee

MSP 430 F2418

Force Sensors

Lighting Output

XBee

Controller

Handhold

Computer

Handhold

Controller will communicate bi-directionally with host controller

LED’s used to light up handholds as outputPressure sensors used to detect inputPCB must be small enough to fit inside a handholdSemi-transparent handholds have been bought

from Franklin Handholds Boulder Based Custom design for PCB and Batteries

10/8/2009Mark

Handhold Architecture

10/8/2009Mark

MSP430F2418 Xbee Wireless

Force Sensor

LED’s

GPIO

ADC

UART

Handhold – PCB

10/8/2009Mark

The handhold PCBs are complete and ordered (version 1.0)

Space for up to 8 force sensorsTransmits force dataReceives LED lighting

instructionsCharges batteriesRoom for ½” bolt

Handhold – MSP 430

10/8/2009Mark

MSP430F2418 16-Bit Ultra-Low-Power 116KB Flash 8KB RAM 12 Bit ADC 2 USCIs

Handhold Force Sensors

10/8/2009Mark

Each force sensor will be connected to a single supply non-inverting Op-Amp circuit

There will be a total of 8 Op-Amps on the board (2 ICs of 4 Op-Amps each)

Force sensor ranges from 1.5V (low force) to 3V (high force)

FlexiForce sensor will be usedPurchased from SparkFun

Handhold – Lighting Output

10/8/2009Mark

LEDs will be controlled by GPIO on MSP430LEDs will be driven by power supplies with

the processor controlling the gate of the MOSFET

Four different colored LEDs, either on or offFuture revisions will allow for color and

intensity variability in LEDs

MAX1555 - Battery Chargers

10/8/2009Kirk

Charge from USB or AC Adapter Automatic Switchover when AC Adapter is

Plugged In On-Chip Thermal Limiting Simplifies Board

Design Charge Status Indicator 5-Pin Thin SOT23 PackageRecharge on wall

Recessed electrodes

Handhold Power PCB

10/8/2009Kirk

Three Voltage Regulators (1.5V, 3.3V, 5V)Batteries not user-removable

Battery Solution

10/8/2009Kirk

One 6Ahr triple pack for each handhold.Each cells outputs a nominal 3.7V at 2000mAh

sleep mode ~ <1uA, Active ~ 200uA

Model:E585460 Dimensions: 0.75x2.1x2.1" Weight: 3.88oz

Wall power of handholds for debuggingKeep components in low power as much as

possibleAim for >1 month between charges

Handhold Status

10/8/2009Kirk

Completed so far: Custom handholds solution PCB layout complete and ordered (Revision 1.0) Parts ordered Coding underway

To do: Add recessed electrodes Build clip-on charger Programming Assemble

Handhold Controller Protocol

10/8/2009Kirk

Handholds communicate with Controller using packets

XBee handles timing, traffic congestion Controller set to Coordinator

Handholds are End Devices Handholds automatically sleep when not in use

Cyclic Mode – Wake up at 1Hz, check for information Broadcast data at 2Hz Power draw < 50µA during sleep

Handhold Controller Protocol (Climbing)

10/8/2009Kirk

Field ID Status Force(4 x 8 bit)

Timestamp

Format U32 U8 U32 U32

Handhold Controller

Field Destination ID

Mode Set Mode Dependent Data

Timestamp

Format U32 U8 U32 U32

Controller Handhold

Handhold Modes

10/8/2009Kirk

Mode Mode ID Mode Description

Mode Details

Shutdown 0 Shutdown for long period of time

Set Cyclic Sleep to period of one minute

Not in use 1 Low power mode for Handhold not on route

Broadcast if pressure detected

On route 2 Handhold is on route

Implement lighting scheme, broadcast pressure data

Controller

10/8/2009Matanya

Controller broadcasts status information No handhold-handhold communication Handles dissemination and storage of information Provides initialization instructions, lighting modes Detects unique users

Controller Architecture

10/8/2009Matanya

MSP430F5438 Xbee Wireless

RFID

SD CardLCD

Keypad

SPIUART

UARTGPIO

UART

Controller – MSP 430

10/8/2009Matanya

MSP430F5438 Ultra low power Flexible I/O Structure

SPI, UART 16KB RAM

JTAG programmable On chip debugging

Host Controller – Data Storage

10/8/2009Matanya

SD Card storage SPI Interface Custom file system

Have development code Computer readable

RemovableContains user profiles

Allows for profile modifications

Host Controller – RFID Recognition

10/8/2009Matanya/Anil

Provides intuitive method to load user profiles

RFID Reader ID-12 implements hardware Serial string output of unique 32-bit card ID

Controller debugging components

10/8/2009Matanya/Anil

Two line LCD display Serial command input

Numeric keypad Matrix input

Allows for debugging input-output

Controller – Wireless Communication

10/8/2009Matanya/Anil

Communicates to Handholds via XbeeXBee 1mW Chip AntennaSerial interfaceHardware – Xbee 1mW Chip Antenna

Low power mesh networking

Data transmission Pressure Lighting mode Status

Controller Status

10/8/2009Matanya

Complete: PCB layout complete (Revision 1.0)

All parts ordered Hardware done

Wireless Protocol complete

To Do: Software

SD Card interface Handhold interface Initialization sequence

Assembly

Computer

10/8/2009Anil

PC computer with Windows XP Pentium 4 1.8Ghz 512 MB RAM

Matlab Necessary Generated user interface Provides communication with profile Implements video processing, evaluates route

planning algorithmWill provide higher level functionality

Video processing, Route creationConnection to web camera

Computer - Touchscreen

10/8/2009Anil

Possibility Tiling of handhold has freed budget Still contingent on EEF Funding

LCD8LVGATS $300 VGA Input USB Output

More research once we get funding Mouse and keyboard backup

Computer – User Interface

10/8/2009Anil

Parameter adjusteme

nt

Profile

Interactive wall image

Budget – To date

Item Cost

Wall 200

Dumb Handholds Free (Thanks Jake!)

Host PC Free

Controller PCB 50

Handhold PCB 50

Components for PCB’s 150

Pressure Sensors 80

Batteries 40

USB module / RFID 20

Total ~600

10/8/2009Anil

Budget - Future

10/8/2009Anil

Item Cost

Handhold Components (each) 170

MSP 430 Free

LED’s 10

Pressure Sensors 80

Batteries 40

Resistors 4

Capacitors 3

PCB 10

Controller Components 20

Camera 20

Touchscreen 300

Total (10 Handholds) ~2100

Concerns

Sensor saturation More expensive sensors

Budget Insufficient # of handholds

Mix in dumb handholds Correlate with video data

No touchscreen

Ability to test algorithms Wall is too small Request wall-time at rock gym

10/8/2009Anil

Milestone #1

Controller talking to multiple handholdsPreliminary Initialization Sequence

Handhold placement analysis

Light up handholds for routesPreliminary algorithm results

Route creation

10/8/2009Anil

Milestone #2

Data logging to SD CardAlgorithms complete and tested Preliminary user interface

Ability to view data

Basic functionality completedRFID Login

10/8/2009Anil

Logistics - Schedule

10/8/2009Anil

Individual Tasks Remaining

Matanya

Mark

Steve

Kirk

Anil

Route Plannin

gVideo

Processing

User Interface

RFID User Recognitio

n

Controller Logging

10/8/2009Anil

Touchscreen interface

Handhold Assembly/ Debuggin

g

Controller Debuggi

ngHandhold

Initialization

Handhold Poll Force Sensors

Handhold LED

lighting

Handhold

Broadcast & Receive

Controller Wireless

Transmission

Computer

Logging

Controller Initializatio

n

Questions

10/8/2009Anil