29
Whole Systems, Whole Students Eric Brewer UC Berkeley, Google CCC Council November 2, 2012

Whole Systems, Whole Students

  • Upload
    amalie

  • View
    27

  • Download
    3

Embed Size (px)

DESCRIPTION

Whole Systems, Whole Students. Eric Brewer UC Berkeley, Google CCC Council November 2, 2012. Three Converging Trends. Billions of gadgets Some smart, some just clever Basic cost is low => huge variety Software in everything - PowerPoint PPT Presentation

Citation preview

Page 1: Whole Systems,                Whole Students

Whole Systems, Whole Students

Eric BrewerUC Berkeley, Google

CCC CouncilNovember 2, 2012

Page 2: Whole Systems,                Whole Students

Three Converging Trends

1. Billions of gadgets– Some smart, some just clever– Basic cost is low => huge variety

2. Software in everything– Smart phones, scales, cars, appliances, glasses– Follows from Moore’s Law– Often connected to the cloud

3. Ability to make your own gadgets– Not just the software– … also the electronics, mechanics, packaging

Page 3: Whole Systems,                Whole Students
Page 4: Whole Systems,                Whole Students

Phone as Super Gadget

Several embedded processorsWiFi, cellular, bluetooth, NFCMany sensors:– camera(s), mic(s), GPS, accelerometers, compass, …

• Open-source software stack (Android)• Combine with cloud-based services– Voice recogition, navigation, …

Page 5: Whole Systems,                Whole Students

Software in Gadgets

• Fitness– Scale, fitbit, nike shoe, bike computers

• Cars: 30-100 software systems• Digital cameras: autofocus, face detection• Remote controls• Robot vacuums, mops, …• GPS+video ski goggles

Page 6: Whole Systems,                Whole Students

“Maker” Subculture

… stresses new and unique applications of technologies, and encourages invention and prototyping [Wikipedia]

Enabled by:1. Internet2. New tools3. Fabrication facilities and services

Plus magazines, “Maker Faire”

Page 7: Whole Systems,                Whole Students

Internet enables DIY

• Search engines– Find out how to build almost anything

• YouTube– Watch the process

• Now dedicated DIY sites– Instructables, Howtoons, Make: Projects– Shared models– Buy items designed by others

Page 8: Whole Systems,                Whole Students

New Tools

Started with consumer power tools, radio shack– or Heath Kits before that

New tools– CNC tools: routers, laser cutters– Low-cost fabrication: 3D printer makerbot– CAD software, sketchup– Easy to use microcontrollers (Arduino)

Page 9: Whole Systems,                Whole Students

Arduino Uno

Page 10: Whole Systems,                Whole Students

Arduino is an Enabler

• Family of open-source microcontrollers– Many sensors, motors, lights, etc.– Daughterboards for ethernet, WiFi, …– Simple programming language– Author on your laptop, then download

• Can buy or make the hardware• Thousands of open projects, examples

Page 11: Whole Systems,                Whole Students

Fabrication made Easy

• Tools are still expensive and complex• DIY centers, e.g. TechShop, fix this:– They have a wide range of tools– They have a community– They have classes

• Fabrication services– Upload your design, get it back in a month

Page 12: Whole Systems,                Whole Students

Claim: super educational

• Very creative– Focuses on design skills– Physical manifestation is more rewarding

• Mix of disciplines and thinking– Mechanical and electrical engineering– Computer science– Plus HCI, business, art– Multi-modal learning

• High school students can do this (and should)

Page 13: Whole Systems,                Whole Students

My Best DIY Project(so far)

Page 14: Whole Systems,                Whole Students
Page 15: Whole Systems,                Whole Students
Page 16: Whole Systems,                Whole Students

The Dovetail Joint

Page 17: Whole Systems,                Whole Students

Four pieces of wood, no nails

Page 18: Whole Systems,                Whole Students

4W, 12V Xenon bulb, real candle

Page 19: Whole Systems,                Whole Students

Power flows to Both Ends

Page 20: Whole Systems,                Whole Students

Embedded microcontroller

Page 21: Whole Systems,                Whole Students

Chandelier Electronics

• 18 bulbs at 4W = 72W total• 2 microcontrollers, one at each end– Pseudo-random flickering between 50-100%– 6 1A circuits total, each independent flickering

• 8 wires to every bulb location– 6 circuits plus 2 ground (ethernet cable)– Each circuit handles every 6th bulb in series• 3 bulbs * 4W = 12W, 12W @ 12V => 1A

Page 22: Whole Systems,                Whole Students

Three CS Issues

1. EE vs CS for Embedded Systems2. Security for smart gadgets3. How to design Whole Systems

Page 23: Whole Systems,                Whole Students

EE vs CS

Embedded systems are typically an EE topic– Follows from analog control theory– Also hard real-time systems

New systems are all software– Control loop is in software, likely on Linux– Kind of real time (due to overprovisioning)– … but might need to reboot periodically

We should revisit this dichotomy

Page 24: Whole Systems,                Whole Students

Security

Software-based embedded systems…– Inherently vulnerable to attack– … especially when networked

Many hackable gadgets…– Car (30-100 software systems)• Break into a car via its satellite link• Or disable engine (even if moving)

– NFC: take over a phone via its NFC sensor

Page 25: Whole Systems,                Whole Students

Designing Whole Systems

• Not enough to design the software– Can choose the CPU, sensors, flash, ram, …

• Partially a CAD problem• Mostly a breadth problem– How to train the full range of design skills?– How much is needed from each discipline?– How to cover the device + the cloud?– Claim: CS should lead this rising area

Page 26: Whole Systems,                Whole Students

The Larger Trend

• CS is being applied to solve real problems• We need to create students– that can lead solutions– (not just write software)

• Technology for developing regions– Need to solve the problem• Not deploy technology

– CS only part of the solution (but the enabling part)

Page 27: Whole Systems,                Whole Students

BACKUP

Page 28: Whole Systems,                Whole Students

Tier Base Station

Page 29: Whole Systems,                Whole Students

Tier SIM card