Whole Systems, Whole Students
description
Transcript of Whole Systems, Whole Students
![Page 1: Whole Systems, Whole Students](https://reader037.fdocuments.us/reader037/viewer/2022102718/56814252550346895dae7cff/html5/thumbnails/1.jpg)
Whole Systems, Whole Students
Eric BrewerUC Berkeley, Google
CCC CouncilNovember 2, 2012
![Page 2: Whole Systems, Whole Students](https://reader037.fdocuments.us/reader037/viewer/2022102718/56814252550346895dae7cff/html5/thumbnails/2.jpg)
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](https://reader037.fdocuments.us/reader037/viewer/2022102718/56814252550346895dae7cff/html5/thumbnails/3.jpg)
![Page 4: Whole Systems, Whole Students](https://reader037.fdocuments.us/reader037/viewer/2022102718/56814252550346895dae7cff/html5/thumbnails/4.jpg)
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](https://reader037.fdocuments.us/reader037/viewer/2022102718/56814252550346895dae7cff/html5/thumbnails/5.jpg)
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](https://reader037.fdocuments.us/reader037/viewer/2022102718/56814252550346895dae7cff/html5/thumbnails/6.jpg)
“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](https://reader037.fdocuments.us/reader037/viewer/2022102718/56814252550346895dae7cff/html5/thumbnails/7.jpg)
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](https://reader037.fdocuments.us/reader037/viewer/2022102718/56814252550346895dae7cff/html5/thumbnails/8.jpg)
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](https://reader037.fdocuments.us/reader037/viewer/2022102718/56814252550346895dae7cff/html5/thumbnails/9.jpg)
Arduino Uno
![Page 10: Whole Systems, Whole Students](https://reader037.fdocuments.us/reader037/viewer/2022102718/56814252550346895dae7cff/html5/thumbnails/10.jpg)
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](https://reader037.fdocuments.us/reader037/viewer/2022102718/56814252550346895dae7cff/html5/thumbnails/11.jpg)
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](https://reader037.fdocuments.us/reader037/viewer/2022102718/56814252550346895dae7cff/html5/thumbnails/12.jpg)
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](https://reader037.fdocuments.us/reader037/viewer/2022102718/56814252550346895dae7cff/html5/thumbnails/13.jpg)
My Best DIY Project(so far)
![Page 14: Whole Systems, Whole Students](https://reader037.fdocuments.us/reader037/viewer/2022102718/56814252550346895dae7cff/html5/thumbnails/14.jpg)
![Page 15: Whole Systems, Whole Students](https://reader037.fdocuments.us/reader037/viewer/2022102718/56814252550346895dae7cff/html5/thumbnails/15.jpg)
![Page 16: Whole Systems, Whole Students](https://reader037.fdocuments.us/reader037/viewer/2022102718/56814252550346895dae7cff/html5/thumbnails/16.jpg)
The Dovetail Joint
![Page 17: Whole Systems, Whole Students](https://reader037.fdocuments.us/reader037/viewer/2022102718/56814252550346895dae7cff/html5/thumbnails/17.jpg)
Four pieces of wood, no nails
![Page 18: Whole Systems, Whole Students](https://reader037.fdocuments.us/reader037/viewer/2022102718/56814252550346895dae7cff/html5/thumbnails/18.jpg)
4W, 12V Xenon bulb, real candle
![Page 19: Whole Systems, Whole Students](https://reader037.fdocuments.us/reader037/viewer/2022102718/56814252550346895dae7cff/html5/thumbnails/19.jpg)
Power flows to Both Ends
![Page 20: Whole Systems, Whole Students](https://reader037.fdocuments.us/reader037/viewer/2022102718/56814252550346895dae7cff/html5/thumbnails/20.jpg)
Embedded microcontroller
![Page 21: Whole Systems, Whole Students](https://reader037.fdocuments.us/reader037/viewer/2022102718/56814252550346895dae7cff/html5/thumbnails/21.jpg)
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](https://reader037.fdocuments.us/reader037/viewer/2022102718/56814252550346895dae7cff/html5/thumbnails/22.jpg)
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](https://reader037.fdocuments.us/reader037/viewer/2022102718/56814252550346895dae7cff/html5/thumbnails/23.jpg)
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](https://reader037.fdocuments.us/reader037/viewer/2022102718/56814252550346895dae7cff/html5/thumbnails/24.jpg)
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](https://reader037.fdocuments.us/reader037/viewer/2022102718/56814252550346895dae7cff/html5/thumbnails/25.jpg)
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](https://reader037.fdocuments.us/reader037/viewer/2022102718/56814252550346895dae7cff/html5/thumbnails/26.jpg)
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](https://reader037.fdocuments.us/reader037/viewer/2022102718/56814252550346895dae7cff/html5/thumbnails/27.jpg)
BACKUP
![Page 28: Whole Systems, Whole Students](https://reader037.fdocuments.us/reader037/viewer/2022102718/56814252550346895dae7cff/html5/thumbnails/28.jpg)
Tier Base Station
![Page 29: Whole Systems, Whole Students](https://reader037.fdocuments.us/reader037/viewer/2022102718/56814252550346895dae7cff/html5/thumbnails/29.jpg)
Tier SIM card