---
layout: presentation
title: Intro to 3D printing
description: Description of 3D printing value on mobile phones
class: middle, center, inverse
---
name: inverse
layout: true
class: center, middle, inverse-
---
# Intro to 3D printing and Physical Computing

Jennifer Mankoff, CSE 340 

Winter 2020
---
layout:false

[//]: # (Outline Slide)
.title[Today's goals]
.body[
- Discuss different types of 3D models
- Talk about how 3D printing works
- Talk about how 3D models are converted into low level g-code
]

---
# Magic arms Video

![:youtube Video of child using a 3D printed hand, WoZ2BgPVtA0]

---
# What is 3D printing?

![:youtube Time lapse video explaining 3D printing, m_QhY1aABsE]

---
# More reasons to learn about it! 
3d Printed car

![:youtube Video of car being 3D printed, daioWlkH7ZI]

---
# Many other successes

[3D Printed Medical Device Saves Baby's Life](https://www.youtube.com/watch?v=zr0HGCZSgE4)

[Prosthetic hand](http://youtu.be/CHPuMCshkLU?t=42s) (up to ~2:10)

[Lots of examples quickly](https://www.youtube.com/watch?v=X5AZzOw7FwA)

[3D printers print ten houses in 24 hours](https://www.youtube.com/watch?v=SObzNdyRTBs)

[Printed body parts](http://youtu.be/jSjW-EgKOhk?t=1m8s)

[Printed organs](https://www.youtube.com/watch?v=4nqw1yjyKEs)

[3D printed pizza](http://youtu.be/dvjqmMfMU7w?t=15s)

[3D printed chocolate](http://youtu.be/BIFi8but3Vw)

[3D printed candy](http://youtu.be/8WWHpWgaq7I)

[3D printed fashion](http://youtu.be/63Xozzh_uHM)

[3D Printing a Garden Sprinkler](https://www.youtube.com/watch?v=y9XRD3P2G-E)


---
# What do new fabrication technologies provide?

New ways to create
- Faster, easier, sometimes better

New ways to customize
- Faster iteration
- Mass customization

New materials

New shapes

---
# What new fabrication technologies are not

Not the startrek replicator

Not as fast as the best manufacturing solutions for bulk manufacturing

Not as fast as your 2d printer

Often expensive

Material range is limited


---
# Printing Steps

<div class="mermaid">
graph LR
A(3D Modeling, <br> e.g. OpenSCAD) -->|Prepare for printing| B(Geometry <br> e.g. <i>.stl</i> file)
B -->|Slice| D(Printer instructions<br>G-code file)
D -->|Printer Controller| E(Printed Object)

class A,B,D blue
class E green
</div>

Can find lots of stuff on repositories, like [Thingiverse](http://www.thingiverse.com/)

---
# Printing: Beyond plastic

![:img Picture of a model for embedding a nut and bolt in a print, 40%](img/3dprinting/embedding.png)
![:img Picture of fabric taped down and embedded, 60%](img/3dprinting/fabric.png)
![:img Picture of fabric attached through holes, 40%](img/3dprinting/fabric2.png)

---
# What else to embed?

.left-column-half[
![:img Picture of tendon that can be used to bend something, 80%](img/3dprinting/tendon1.png)
![:img Picture of tendon that has been used to bend something, 80%](img/3dprinting/tendon2.png)
]
.right-column-half[
![:youtube Examples of embedded fabric, 9xqze9csLmY]
]
???
- String or wire (like a tendon)

---
# What else to print?

![:img Gears, 20%](img/3dprinting/gear.png) ![:img Timing wheel, 20%](img/3dprinting/wheel.png) ![:img String Drive Wheel, 20%](img/3dprinting/stringdrive.png)

---
# What not to print

Food handling articles

Safety critical strong things

High heat tolerance things

Things for chemically harsh environments

---
# How does printing enhance a mobile phone?

.left-column-half[
[Etch a Sketch!](https://www.thingiverse.com/thing:3251892)

![:youtube Mobile phone case to use the phone like an etch a sketch, dcaErURbyIA]
]

--
.right-column-half[
New ways of interacting!
- Works by combining condutive plastic with custom interactor
- Looks like touch input to the software
- Gears control motion options mechanically
]
---
# How does printing enhance a mobile phone?
.left-column-half[
[Phone trigger buttons](https://www.thingiverse.com/thing:2960274)
![:youtube Game playing hardware --trigger buttons--,X_C1Qxjg2WI]
]
.right-column-half[
New ways of interacting!
- Similar approach, also conductive
]

---
# How does printing enhance a mobile phone?
.left-column-half[
XiaoyiZhang, TracyTran, YuqianSun, IanCulhane, ShobhitJain, JamesFogarty, JenniferMankoff: [Interactiles: 3D Printed Tactile Interfaces to Enhance Mobile Touchscreen Accessibility](https://make4all.org/portfolio/interactiles/). ASSETS 2018

![:img A picture of a mobile phone with a tangible scrollbar and number pad built into its case to help improve blind interaction with the phone,40% ](img/3dprinting/interactiles.png)
]

.right-column-half[
New ways of interacting!
- Silicon & sewn conductive thread
- Nuts and bolts
]
---
# How does printing enhance a mobile phone?
.left-column-half[

Acoustruments
![:youtube Printed objects whose use can be sensed, C2d1pB1qlvA]
]
.right-column-half[
New ways of interacting!
- Leverages the phone's microphone
- Uses flexible plastic with holes 
- Requires machine learning
]
---
# How does printing enhance a mobile phone?
.left-column-half[
Tactile map for the blind

![:img An interactive map with 6 black conductive touchpoints. The map
is held in a case with 6 conductive buttons that houses a Samsung Note
2 with a 5.5-inch screen., 40%](img/3dprinting/tactile-map.png)
]
.right-column-half[
New ways of interacting!

Phone as embedded computer
- Better solution because reprinting a map is faster than making a whole new portable map for each region
- Similar to new interaction techniques, uses conductive plastic
]

---
# Use your phone to control general hardware

[IOIO](https://learn.sparkfun.com/tutorials/ioio-otg-hookup-guide) / 
[IOIO wiki](https://github.com/ytai/ioio/wiki)

![:img a development board specially designed to allow developers to add advanced hardware I/O capabilities to their Android or PC application. It features a PIC microcontroller,which acts like a bridge that connects an app on your PC or Android device to low-level peripherals. An app-level library helps you write control code for these low level peripherals in the same way you’d write any other Java app!](img/3dprinting/ioio.jpg)


---
# How does printing enhance a mobile phone?
.left-column-half[
![:img (a) 3D printed smartphone adaptor designed for the Samsung
Galaxy Note II with a black ABS dark box comprising slots for
droppers. (b) 3D printed cartridge composed of a white ABS piece
comprising 4 wells and BL substrate reservoirs and a black sliding lid
with transparent ABS windows. (c) The assembled smartphone-based
device with running the specifically designed application for BL
signal acquisition and analysis., 60%](img/3dprinting/biotoxicity.jpg)

Many similar options -- e.g. [Ph
Meter](https://ieeexplore.ieee.org/abstract/document/6916991);
[Sensing sweat
make-up](https://pubs.rsc.org/en/content/articlehtml/2014/an/c4an01612b);
[Nanosensing by
Nasa](https://www.nasa.gov/centers/ames/news/features/2009/cell_phone_sensors.html)
[more examples](https://www.sciencedirect.com/science/article/pii/S0167779914000572)
]
.right-column-half[
New ways of interacting

Phone as embedded computer

New ways of sensing

- [Biotoxicity
sensing](https://www.sciencedirect.com/science/article/pii/S0925400515305992)
- Dark box 
- Phone case
]

???
 By clicking the “start” button (b) the application runs and several
  tabs can be selected (c). The “Procedure” box (d) provide to the
  user the instructions to perform the assay, then the Begin button
  allow to proceed to the “Checklist” box (e) where preset timers
  guide the user through the correct incubation times before BL image
  acquisition. The instructions can be also eluded by selecting “Test
  sample” in the home page, which jumps the user directly to the
  checklist. At the end of the countdown the smartphone camera is
  activated and the user can simply touch the “Acquire” button to
  capture the BL image of both the test and control wells. (f) The
  acquired images are rapidly analyzed on the smartphone and the
  sample toxicity result is displayed as “Cell viability” value and a
  warning message (Safe, Harmful, Highly toxic). BL image and results
  can be also saved for downstream application (i.e. sending results
  to a central laboratory).
  
---
# How does printing enhance a mobile phone?

.left-column50[
[Phone for potentiostatic
control](https://ieeexplore.ieee.org/abstract/document/6916991)

![:img Arrangement used for mobile phone based ECL sensing. The audio
jack supplies the potential to the paper microfluidic sensor while the
resultant emission is detected by the camera in video mode. Both the
excitation and detection processes are controlled by a software
application which can also transmit the results via e-mail. The black
plastic sleeve surrounding the top of the phone holds the sensor
adjacent to the camera and blocks ambient light., 40%](img/3dprinting/potentiometric.jpg)
 ]
.right-column50[
New ways of interacting

Phone as embedded computer

New ways of sensing
- exploits ability to play sounds
- serves basic functions of a potentiostat in controlling an applied
 potential to oxidise ECL-active molecules
- resultant photonic signal is monitored using the camera in video
 mode. 
- combined with paper microfluidic sensors

]
???

The audio jack supplies the potential to the paper microfluidic
sensor, while the resultant emission is detected by the camera in
video mode. Both the excitation and detection processes are controlled
by a software application which can also transmit the results via
e-mail. The black plastic sleeve surrounding the top of the phone
holds the sensor adjacent to the camera and blocks ambient light.

---
# How does printing enhance a mobile phone?

.left-column50[
Printed Analytics
![:youtube Printed objects whose use can be sensed, W1V2AgDbgTQ]
]
.right-column-half[
New ways of interacting

Phone as embedded computer

New ways of sensing
- uses backscatter technology
- works in range of a modified wireless router
]

---
# Summary: What does physical computing offer us?

.left-column-half[
New ways to interact
- capacitive sensing facilitate by conductive plastic/thread
- microphone + machine learning

New ways to sense information
- fluid properties
- audio 
- backscatter
]
.right-column-half[
New ways to combine devices (e.g. through bluetooth sensing of physical hardware)

Benefits:
- modify a device beyond what the manufacturer expected
- apid prototyping of novel solutions
]
--
# END OF DECK
---
# Moon House Video

![:youtube Video of a robot 3d printing a round house, 8zt_3Gs1ksg]

---
# Accessible Game Control

![:youtube Xbox adaptive controller intro, 9fcK19CAjWM]