SlideShare une entreprise Scribd logo
1  sur  33
Adding Electronics to 3D Printed
Action Heroes
Anna Gerber
Anna Gerber
3D Action Heroes
Outline
• Previously: 3D Sculpting Action Heroes
– Generating base models
– Slicing into parts & adding joints
– Customizing via 3D sculpting tools
• Last week: 3D Printing Action Heroes
– Recap Meshmixer & finish models
– Preparing parts for 3D printing
– 3D printing
– Cleaning up 3D printed parts
• Today: Adding electronics to 3D printed Action Heroes
– Make them interactive
– Electronics & coding
– Assembly
Anna Gerber
3D Action Heroes
Outline
• Clean up 3D printed parts
• Soldering
• Micro-controller programming
• Design & test the circuits
• Assemble the action hero
• Decoration
• Discussion of painting / finishing techniques
Anna Gerber
3D Action Heroes
Clean up parts
• Remove raft
• Remove support using pliers and cutters
• Test that parts fit together
• Optional : use hobby knife or fine sandpaper to
tidy up / adjust fit
Anna Gerber
3D Action Heroes
Breadboard
Anna Gerber
3D Action Heroes
• Use to prototype circuits without soldering by
plugging in components and jumper wires
• Numbered rows are connected
• Ours have power rails along the sides
IC test hooks
• We'll use IC test hooks to prototype our circuits
without needing to solder onto the Digispark
• Solder jumper
wires onto the
test hooks
Anna Gerber
3D Action Heroes
Solder wire here
Soldering
Anna Gerber
3D Action Heroes
From Soldering is easy by Mitch Altman, Andie Nordren and Jeff Keyzer
Electricity
• Electricity is a form of energy
• We can connect components that convert
electrical energy into other forms of energy:
light, sound, movement, heat etc, into a circuit
• In a Direct Current (DC) circuit,
current flows from
positive to negative
• We will use the 5V pin
on the Digispark
for power
Anna Gerber
3D Action Heroes
Electrical concepts
• Current (Amps): measures the flow of electrical
energy through a circuit
• Voltage (Volts): measures difference in potential
energy between the positive and negative sides
of a circuit
• Resistance (Ohms): measures a material's
opposition to the flow of energy
• Power (Watts): the rate at which energy is
converted from one form to another
Anna Gerber
3D Action Heroes
Digital vs Analog
• Digital
– discrete values (0 or 1)
– Examples: tilt sensor, push button
• Analog
– continuous values
– typically values for analog sensors are
constrained within a range e.g. 0 – 255, 0 – 1023
– Example: photo resistor
• Some sensors and actuators support both digital
and analog modes
Anna Gerber
3D Action Heroes
LEDs
• Light Emitting Diode
• Polarized: diodes act like one way valves so
must be connected in a certain direction
• Emits light when a current passes through
Anna Gerber
3D Action Heroes
Anode (+)
longer lead
connects to power
Cathode (-)
connects to ground
Resistors
• Introduces resistance, so restricts the amount of
current that can flow through a circuit
• Can be connected in either direction
• Bend and trim the leads to approx 1cm each
make it easier to use with the breadboard
Anna Gerber
3D Action Heroes
Anna Gerber
3D Action Heroes
Digital Write - Blinking an LED
• Unplug the Digispark from the computer!
• Include a 330 ohm (orange, orange brown) current limiting resistor to avoid
damaging the LED
• Attach long lead (+) of LED to pin 1 of Digispark
• Connect short lead of LED to 330 ohm resistor and then GND
Anna Gerber
3D Action Heroes
Loading programs onto the Digispark
• Use Arduino
Integrated
Development
Environment (IDE) to
write and send
programs
• The programming
language is C++
• Open
File > Examples >
01.Basics > Blink
and change pin to 1
Anna Gerber
3D Action Heroes
Uploading to Digispark
• Plug in Digispark and select board (Digispark
Default 16.5 Mhz) & port from the Tools menu
• Unplug Digispark
• Click on upload
• Plug in the Digispark when prompted (watch the
messages at the bottom of the editor window)
Anna Gerber
3D Action Heroes
Piezo Buzzer
Anna Gerber
3D Action Heroes
Open File > Examples > 02.Digital > toneMelody
Change piezo pin to pin 0
Neopixels
• WS2812B light source
– Chainable, individually addressable RGB LEDs
– Many formfactors (pixel, ring, bar, strip etc)
– Each unit is connected via 5V, GND and data pin
– Use external power if working with more than a
few LEDs
• See https://learn.adafruit.com/adafruit-neopixel-
uberguide/overview
Anna Gerber
3D Action Heroes
Install the Neopixel library
• Download library files from:
– https://github.com/adafruit/Adafruit_NeoPixel
• Copy files into your Arduino Libraries folder
• Open
File > Examples > AdaFruit Neopixel >
buttoncycler and change pin to pin 2 and
number of pixels to 2
Anna Gerber
3D Action Heroes
Connect the Neopixels
Anna Gerber
3D Action Heroes
Push Buttons
• Add a button to the circuit with a 10K resistor
Anna Gerber
3D Action Heroes
Action Hero Base
• Base holds the batteries and includes a switch
and power indicator light
• Metal pads connect to wires on bottom of feet to
power electronics inside figure
Anna Gerber
3D Action Heroes
Base circuit
Anna Gerber
3D Action Heroes
Solder the base circuit
Anna Gerber
3D Action Heroes
680ohm resistor
goes here
Assemble the base
Anna Gerber
3D Action Heroes
Attach LED mount
& switch to case
Assemble the base
Anna Gerber
3D Action Heroes
Put some tape over
the tabs to hold them
in place
Assemble the figure
• Solder leg wires (thicker wire to go through legs,
thinner wire through torso)
• Solder wires onto button for back
• Solder neopixels for eyes together & attach short
wires
• Legs:
– Run wires up through leg parts
– Run elastic down through each leg across cross-beam
inside torso)
– Use fishing line to attach feet
– Tighten and tie off elastic
• Thread button wires through back (don't push button
in yet)
Anna Gerber
3D Action Heroes
Assembly (continued)
• Use sticky tape to gather four wires (from legs and
button) and make a pointed end. Thread up through
neck
• Thread fishing line down around cross-beam in head
and through neck, use pliers to grab through arm
hole to bring to the side
• If you can manage it, tie fishing line around body
cross-beam (use pliers through button hole) – this is
tricky. Alternative is to tie off fishing line around arm
elastic
• Thread elastic through arms – fishing line for hands
• See https://youtu.be/6QIx_XImcxc for how joints are
threaded with elastic
Anna Gerber
3D Action Heroes
Assembly (continued)
• Use putty to secure neopixels
• Solder power leads, neopixels and button to
digispark
• Optional: solder leads to piezo and secure inside
head with putty
• Upload your program to digispark & unplug USB
cable
• Secure digispark under headcap with putty – to
make it easy to remove for updating the program
• Place figure on stand and test!
Anna Gerber
3D Action Heroes
Hair
• Use faux fur to create
wild hair
• Hot glue onto head cap
or sew together for
changeable wig
Anna Gerber
3D Action Heroes
Clothes
• Hero tunic:
– Cut a rectangle of lycra about 2 cm wider than
torso on each side, and twice as long as desired
tunic length
– Fold in half longwise and cut out a hole in the
middle for the neck
– Staple, safety pin or sew along the sides around
body
– Take off and trim off excess fabric from sides
(leave at least 0.5cm for seams)
– Turn inside out
– Use a ribbon for a belt
Anna Gerber
3D Action Heroes
Finishing
• "Lines" in print will be obvious under paint, smooth
your print by:
– Using fine grit sandpaper (the slow way)
– Use acetone vapour smoothing (very shiny surface)
• See https://youtu.be/9qByAGrbmS8
– Use XTC-3D epoxy to smooth out surface (easiest
way)
• Prime the surface with brush on acrylic primer (used
for gaming miniatures) or spray on undercoat
• Use acrylic paints, water colour pencils, pastels,
sharpies etc to draw face and decorate.
• Use a thin coat of matte clear spray to waterproof
Anna Gerber
3D Action Heroes
License
• This slide desk was authored by Anna Gerber,
April 2016 and may be shared or adapted under
a Creative Commons Attribution Share Alike (4.0
CC-BY-SA) license:
https://creativecommons.org/licenses/by-sa/4.0/
Anna Gerber
3D Action Heroes

Contenu connexe

Similaire à Adding Electronics to 3D Printed Action Heroes

ArduinoSectionI-slides.ppt
ArduinoSectionI-slides.pptArduinoSectionI-slides.ppt
ArduinoSectionI-slides.ppt
Lam Hung
 
11 adv revision_notes_term_3
11 adv revision_notes_term_311 adv revision_notes_term_3
11 adv revision_notes_term_3
CDI Aljeer
 

Similaire à Adding Electronics to 3D Printed Action Heroes (20)

ArduinoSectionI-slides.ppt
ArduinoSectionI-slides.pptArduinoSectionI-slides.ppt
ArduinoSectionI-slides.ppt
 
Intro to Electronics in Python
Intro to Electronics in PythonIntro to Electronics in Python
Intro to Electronics in Python
 
Exoskeleton arm ppt
Exoskeleton arm pptExoskeleton arm ppt
Exoskeleton arm ppt
 
295889096 music-reactive-multicolor-led-lights
295889096 music-reactive-multicolor-led-lights295889096 music-reactive-multicolor-led-lights
295889096 music-reactive-multicolor-led-lights
 
3d printer
3d printer3d printer
3d printer
 
11 adv revision_notes_term_3
11 adv revision_notes_term_311 adv revision_notes_term_3
11 adv revision_notes_term_3
 
Sensor and Actuators using Rasberry Pi controller
Sensor and Actuators using Rasberry Pi controllerSensor and Actuators using Rasberry Pi controller
Sensor and Actuators using Rasberry Pi controller
 
Instructor background
Instructor backgroundInstructor background
Instructor background
 
Introduction to Arduino with ArduBlock & SparkFun LilyPad
Introduction to Arduino with ArduBlock & SparkFun LilyPadIntroduction to Arduino with ArduBlock & SparkFun LilyPad
Introduction to Arduino with ArduBlock & SparkFun LilyPad
 
Circuit bending presentation
Circuit bending presentationCircuit bending presentation
Circuit bending presentation
 
MAXIMUM SOLAR ABSORPTION USING DUAL AXIS SOLAR PANEL ppt
MAXIMUM SOLAR ABSORPTION USING DUAL AXIS SOLAR PANEL pptMAXIMUM SOLAR ABSORPTION USING DUAL AXIS SOLAR PANEL ppt
MAXIMUM SOLAR ABSORPTION USING DUAL AXIS SOLAR PANEL ppt
 
Electronic work
Electronic workElectronic work
Electronic work
 
Lecture3_Design Decisions for engineering.pdf
Lecture3_Design Decisions for engineering.pdfLecture3_Design Decisions for engineering.pdf
Lecture3_Design Decisions for engineering.pdf
 
Introduction to robotics & Smart home
Introduction to robotics & Smart homeIntroduction to robotics & Smart home
Introduction to robotics & Smart home
 
How to install under counter LED strip lights
How to install under counter LED strip lightsHow to install under counter LED strip lights
How to install under counter LED strip lights
 
60 hz Electromagnetic Field Detection-Interface System
60 hz Electromagnetic Field Detection-Interface System60 hz Electromagnetic Field Detection-Interface System
60 hz Electromagnetic Field Detection-Interface System
 
Intro to Hardware Programming with the Arduino Uno
Intro to Hardware Programming with the Arduino UnoIntro to Hardware Programming with the Arduino Uno
Intro to Hardware Programming with the Arduino Uno
 
Build cool stuff with arduino for sci camp 16 dec13
Build cool stuff with arduino for sci camp 16 dec13Build cool stuff with arduino for sci camp 16 dec13
Build cool stuff with arduino for sci camp 16 dec13
 
Arduino obstacle avoidance robot
Arduino obstacle avoidance robotArduino obstacle avoidance robot
Arduino obstacle avoidance robot
 
Presentation S4A
Presentation S4A Presentation S4A
Presentation S4A
 

Plus de Anna Gerber

Data Visualisation Workshop (GovHack Brisbane 2014)
Data Visualisation Workshop (GovHack Brisbane 2014)Data Visualisation Workshop (GovHack Brisbane 2014)
Data Visualisation Workshop (GovHack Brisbane 2014)
Anna Gerber
 

Plus de Anna Gerber (17)

Internet of Things (IoT) Intro
Internet of Things (IoT) IntroInternet of Things (IoT) Intro
Internet of Things (IoT) Intro
 
How the Web works
How the Web worksHow the Web works
How the Web works
 
Do you want to build a robot
Do you want to build a robotDo you want to build a robot
Do you want to build a robot
 
"Serverless" express
"Serverless" express"Serverless" express
"Serverless" express
 
International NodeBots Day Brisbane roundup (BrisJS)
International NodeBots Day Brisbane roundup (BrisJS)International NodeBots Day Brisbane roundup (BrisJS)
International NodeBots Day Brisbane roundup (BrisJS)
 
JavaScript Robotics
JavaScript RoboticsJavaScript Robotics
JavaScript Robotics
 
Data Visualisation Workshop (GovHack Brisbane 2014)
Data Visualisation Workshop (GovHack Brisbane 2014)Data Visualisation Workshop (GovHack Brisbane 2014)
Data Visualisation Workshop (GovHack Brisbane 2014)
 
Supporting Open Scholarly Annotation
Supporting Open Scholarly AnnotationSupporting Open Scholarly Annotation
Supporting Open Scholarly Annotation
 
Supporting Web-based Scholarly Annotation
Supporting Web-based Scholarly AnnotationSupporting Web-based Scholarly Annotation
Supporting Web-based Scholarly Annotation
 
Annotations Supporting Scholarly Editing (OA European Roll Out)
Annotations Supporting Scholarly Editing (OA European Roll Out)Annotations Supporting Scholarly Editing (OA European Roll Out)
Annotations Supporting Scholarly Editing (OA European Roll Out)
 
Annotation Tools (OA European Roll Out)
Annotation Tools (OA European Roll Out)Annotation Tools (OA European Roll Out)
Annotation Tools (OA European Roll Out)
 
Intro to data visualisation
Intro to data visualisationIntro to data visualisation
Intro to data visualisation
 
Annotations Supporting Scholarly Editing
Annotations Supporting Scholarly EditingAnnotations Supporting Scholarly Editing
Annotations Supporting Scholarly Editing
 
Getting started with the Trove API
Getting started with the Trove APIGetting started with the Trove API
Getting started with the Trove API
 
Intro to Java
Intro to JavaIntro to Java
Intro to Java
 
HackFest Brisbane: Discover Brisbane
HackFest Brisbane: Discover BrisbaneHackFest Brisbane: Discover Brisbane
HackFest Brisbane: Discover Brisbane
 
Using Yahoo Pipes
Using Yahoo PipesUsing Yahoo Pipes
Using Yahoo Pipes
 

Dernier

DESIGN THINKING in architecture- Introduction
DESIGN THINKING in architecture- IntroductionDESIGN THINKING in architecture- Introduction
DESIGN THINKING in architecture- Introduction
sivagami49
 
Abortion Pills in Oman (+918133066128) Cytotec clinic buy Oman Muscat
Abortion Pills in Oman (+918133066128) Cytotec clinic buy Oman MuscatAbortion Pills in Oman (+918133066128) Cytotec clinic buy Oman Muscat
Abortion Pills in Oman (+918133066128) Cytotec clinic buy Oman Muscat
Abortion pills in Kuwait Cytotec pills in Kuwait
 
Whitefield Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Ba...
Whitefield Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Ba...Whitefield Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Ba...
Whitefield Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Ba...
amitlee9823
 
Abortion pill for sale in Muscat (+918761049707)) Get Cytotec Cash on deliver...
Abortion pill for sale in Muscat (+918761049707)) Get Cytotec Cash on deliver...Abortion pill for sale in Muscat (+918761049707)) Get Cytotec Cash on deliver...
Abortion pill for sale in Muscat (+918761049707)) Get Cytotec Cash on deliver...
instagramfab782445
 
Design Inspiration for College by Slidesgo.pptx
Design Inspiration for College by Slidesgo.pptxDesign Inspiration for College by Slidesgo.pptx
Design Inspiration for College by Slidesgo.pptx
TusharBahuguna2
 
Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)
amitlee9823
 
RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
amitlee9823
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
 
VVIP CALL GIRLS Lucknow 💓 Lucknow < Renuka Sharma > 7877925207 Escorts Service
VVIP CALL GIRLS Lucknow 💓 Lucknow < Renuka Sharma > 7877925207 Escorts ServiceVVIP CALL GIRLS Lucknow 💓 Lucknow < Renuka Sharma > 7877925207 Escorts Service
VVIP CALL GIRLS Lucknow 💓 Lucknow < Renuka Sharma > 7877925207 Escorts Service
aroranaina404
 

Dernier (20)

DESIGN THINKING in architecture- Introduction
DESIGN THINKING in architecture- IntroductionDESIGN THINKING in architecture- Introduction
DESIGN THINKING in architecture- Introduction
 
8377087607, Door Step Call Girls In Kalkaji (Locanto) 24/7 Available
8377087607, Door Step Call Girls In Kalkaji (Locanto) 24/7 Available8377087607, Door Step Call Girls In Kalkaji (Locanto) 24/7 Available
8377087607, Door Step Call Girls In Kalkaji (Locanto) 24/7 Available
 
Abortion Pills in Oman (+918133066128) Cytotec clinic buy Oman Muscat
Abortion Pills in Oman (+918133066128) Cytotec clinic buy Oman MuscatAbortion Pills in Oman (+918133066128) Cytotec clinic buy Oman Muscat
Abortion Pills in Oman (+918133066128) Cytotec clinic buy Oman Muscat
 
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Th...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Th...Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Th...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Th...
 
call girls in Vasundhra (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...
call girls in Vasundhra (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...call girls in Vasundhra (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...
call girls in Vasundhra (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...
 
Whitefield Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Ba...
Whitefield Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Ba...Whitefield Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Ba...
Whitefield Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Ba...
 
Case Study of Hotel Taj Vivanta, Pune
Case Study of Hotel Taj Vivanta, PuneCase Study of Hotel Taj Vivanta, Pune
Case Study of Hotel Taj Vivanta, Pune
 
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Gi...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Gi...Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Gi...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Gi...
 
Abortion pill for sale in Muscat (+918761049707)) Get Cytotec Cash on deliver...
Abortion pill for sale in Muscat (+918761049707)) Get Cytotec Cash on deliver...Abortion pill for sale in Muscat (+918761049707)) Get Cytotec Cash on deliver...
Abortion pill for sale in Muscat (+918761049707)) Get Cytotec Cash on deliver...
 
Sweety Planet Packaging Design Process Book.pptx
Sweety Planet Packaging Design Process Book.pptxSweety Planet Packaging Design Process Book.pptx
Sweety Planet Packaging Design Process Book.pptx
 
Design Inspiration for College by Slidesgo.pptx
Design Inspiration for College by Slidesgo.pptxDesign Inspiration for College by Slidesgo.pptx
Design Inspiration for College by Slidesgo.pptx
 
Hire 💕 8617697112 Meerut Call Girls Service Call Girls Agency
Hire 💕 8617697112 Meerut Call Girls Service Call Girls AgencyHire 💕 8617697112 Meerut Call Girls Service Call Girls Agency
Hire 💕 8617697112 Meerut Call Girls Service Call Girls Agency
 
Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)
 
RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
❤Personal Whatsapp Number 8617697112 Samba Call Girls 💦✅.
❤Personal Whatsapp Number 8617697112 Samba Call Girls 💦✅.❤Personal Whatsapp Number 8617697112 Samba Call Girls 💦✅.
❤Personal Whatsapp Number 8617697112 Samba Call Girls 💦✅.
 
VVIP CALL GIRLS Lucknow 💓 Lucknow < Renuka Sharma > 7877925207 Escorts Service
VVIP CALL GIRLS Lucknow 💓 Lucknow < Renuka Sharma > 7877925207 Escorts ServiceVVIP CALL GIRLS Lucknow 💓 Lucknow < Renuka Sharma > 7877925207 Escorts Service
VVIP CALL GIRLS Lucknow 💓 Lucknow < Renuka Sharma > 7877925207 Escorts Service
 
VIP Model Call Girls Kalyani Nagar ( Pune ) Call ON 8005736733 Starting From ...
VIP Model Call Girls Kalyani Nagar ( Pune ) Call ON 8005736733 Starting From ...VIP Model Call Girls Kalyani Nagar ( Pune ) Call ON 8005736733 Starting From ...
VIP Model Call Girls Kalyani Nagar ( Pune ) Call ON 8005736733 Starting From ...
 
call girls in Kaushambi (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...
call girls in Kaushambi (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...call girls in Kaushambi (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...
call girls in Kaushambi (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...
 
HiFi Call Girl Service Delhi Phone ☞ 9899900591 ☜ Escorts Service at along wi...
HiFi Call Girl Service Delhi Phone ☞ 9899900591 ☜ Escorts Service at along wi...HiFi Call Girl Service Delhi Phone ☞ 9899900591 ☜ Escorts Service at along wi...
HiFi Call Girl Service Delhi Phone ☞ 9899900591 ☜ Escorts Service at along wi...
 

Adding Electronics to 3D Printed Action Heroes

  • 1. Adding Electronics to 3D Printed Action Heroes Anna Gerber Anna Gerber 3D Action Heroes
  • 2. Outline • Previously: 3D Sculpting Action Heroes – Generating base models – Slicing into parts & adding joints – Customizing via 3D sculpting tools • Last week: 3D Printing Action Heroes – Recap Meshmixer & finish models – Preparing parts for 3D printing – 3D printing – Cleaning up 3D printed parts • Today: Adding electronics to 3D printed Action Heroes – Make them interactive – Electronics & coding – Assembly Anna Gerber 3D Action Heroes
  • 3. Outline • Clean up 3D printed parts • Soldering • Micro-controller programming • Design & test the circuits • Assemble the action hero • Decoration • Discussion of painting / finishing techniques Anna Gerber 3D Action Heroes
  • 4. Clean up parts • Remove raft • Remove support using pliers and cutters • Test that parts fit together • Optional : use hobby knife or fine sandpaper to tidy up / adjust fit Anna Gerber 3D Action Heroes
  • 5. Breadboard Anna Gerber 3D Action Heroes • Use to prototype circuits without soldering by plugging in components and jumper wires • Numbered rows are connected • Ours have power rails along the sides
  • 6. IC test hooks • We'll use IC test hooks to prototype our circuits without needing to solder onto the Digispark • Solder jumper wires onto the test hooks Anna Gerber 3D Action Heroes Solder wire here
  • 7. Soldering Anna Gerber 3D Action Heroes From Soldering is easy by Mitch Altman, Andie Nordren and Jeff Keyzer
  • 8. Electricity • Electricity is a form of energy • We can connect components that convert electrical energy into other forms of energy: light, sound, movement, heat etc, into a circuit • In a Direct Current (DC) circuit, current flows from positive to negative • We will use the 5V pin on the Digispark for power Anna Gerber 3D Action Heroes
  • 9. Electrical concepts • Current (Amps): measures the flow of electrical energy through a circuit • Voltage (Volts): measures difference in potential energy between the positive and negative sides of a circuit • Resistance (Ohms): measures a material's opposition to the flow of energy • Power (Watts): the rate at which energy is converted from one form to another Anna Gerber 3D Action Heroes
  • 10. Digital vs Analog • Digital – discrete values (0 or 1) – Examples: tilt sensor, push button • Analog – continuous values – typically values for analog sensors are constrained within a range e.g. 0 – 255, 0 – 1023 – Example: photo resistor • Some sensors and actuators support both digital and analog modes Anna Gerber 3D Action Heroes
  • 11. LEDs • Light Emitting Diode • Polarized: diodes act like one way valves so must be connected in a certain direction • Emits light when a current passes through Anna Gerber 3D Action Heroes Anode (+) longer lead connects to power Cathode (-) connects to ground
  • 12. Resistors • Introduces resistance, so restricts the amount of current that can flow through a circuit • Can be connected in either direction • Bend and trim the leads to approx 1cm each make it easier to use with the breadboard Anna Gerber 3D Action Heroes
  • 14. Digital Write - Blinking an LED • Unplug the Digispark from the computer! • Include a 330 ohm (orange, orange brown) current limiting resistor to avoid damaging the LED • Attach long lead (+) of LED to pin 1 of Digispark • Connect short lead of LED to 330 ohm resistor and then GND Anna Gerber 3D Action Heroes
  • 15. Loading programs onto the Digispark • Use Arduino Integrated Development Environment (IDE) to write and send programs • The programming language is C++ • Open File > Examples > 01.Basics > Blink and change pin to 1 Anna Gerber 3D Action Heroes
  • 16. Uploading to Digispark • Plug in Digispark and select board (Digispark Default 16.5 Mhz) & port from the Tools menu • Unplug Digispark • Click on upload • Plug in the Digispark when prompted (watch the messages at the bottom of the editor window) Anna Gerber 3D Action Heroes
  • 17. Piezo Buzzer Anna Gerber 3D Action Heroes Open File > Examples > 02.Digital > toneMelody Change piezo pin to pin 0
  • 18. Neopixels • WS2812B light source – Chainable, individually addressable RGB LEDs – Many formfactors (pixel, ring, bar, strip etc) – Each unit is connected via 5V, GND and data pin – Use external power if working with more than a few LEDs • See https://learn.adafruit.com/adafruit-neopixel- uberguide/overview Anna Gerber 3D Action Heroes
  • 19. Install the Neopixel library • Download library files from: – https://github.com/adafruit/Adafruit_NeoPixel • Copy files into your Arduino Libraries folder • Open File > Examples > AdaFruit Neopixel > buttoncycler and change pin to pin 2 and number of pixels to 2 Anna Gerber 3D Action Heroes
  • 20. Connect the Neopixels Anna Gerber 3D Action Heroes
  • 21. Push Buttons • Add a button to the circuit with a 10K resistor Anna Gerber 3D Action Heroes
  • 22. Action Hero Base • Base holds the batteries and includes a switch and power indicator light • Metal pads connect to wires on bottom of feet to power electronics inside figure Anna Gerber 3D Action Heroes
  • 24. Solder the base circuit Anna Gerber 3D Action Heroes 680ohm resistor goes here
  • 25. Assemble the base Anna Gerber 3D Action Heroes Attach LED mount & switch to case
  • 26. Assemble the base Anna Gerber 3D Action Heroes Put some tape over the tabs to hold them in place
  • 27. Assemble the figure • Solder leg wires (thicker wire to go through legs, thinner wire through torso) • Solder wires onto button for back • Solder neopixels for eyes together & attach short wires • Legs: – Run wires up through leg parts – Run elastic down through each leg across cross-beam inside torso) – Use fishing line to attach feet – Tighten and tie off elastic • Thread button wires through back (don't push button in yet) Anna Gerber 3D Action Heroes
  • 28. Assembly (continued) • Use sticky tape to gather four wires (from legs and button) and make a pointed end. Thread up through neck • Thread fishing line down around cross-beam in head and through neck, use pliers to grab through arm hole to bring to the side • If you can manage it, tie fishing line around body cross-beam (use pliers through button hole) – this is tricky. Alternative is to tie off fishing line around arm elastic • Thread elastic through arms – fishing line for hands • See https://youtu.be/6QIx_XImcxc for how joints are threaded with elastic Anna Gerber 3D Action Heroes
  • 29. Assembly (continued) • Use putty to secure neopixels • Solder power leads, neopixels and button to digispark • Optional: solder leads to piezo and secure inside head with putty • Upload your program to digispark & unplug USB cable • Secure digispark under headcap with putty – to make it easy to remove for updating the program • Place figure on stand and test! Anna Gerber 3D Action Heroes
  • 30. Hair • Use faux fur to create wild hair • Hot glue onto head cap or sew together for changeable wig Anna Gerber 3D Action Heroes
  • 31. Clothes • Hero tunic: – Cut a rectangle of lycra about 2 cm wider than torso on each side, and twice as long as desired tunic length – Fold in half longwise and cut out a hole in the middle for the neck – Staple, safety pin or sew along the sides around body – Take off and trim off excess fabric from sides (leave at least 0.5cm for seams) – Turn inside out – Use a ribbon for a belt Anna Gerber 3D Action Heroes
  • 32. Finishing • "Lines" in print will be obvious under paint, smooth your print by: – Using fine grit sandpaper (the slow way) – Use acetone vapour smoothing (very shiny surface) • See https://youtu.be/9qByAGrbmS8 – Use XTC-3D epoxy to smooth out surface (easiest way) • Prime the surface with brush on acrylic primer (used for gaming miniatures) or spray on undercoat • Use acrylic paints, water colour pencils, pastels, sharpies etc to draw face and decorate. • Use a thin coat of matte clear spray to waterproof Anna Gerber 3D Action Heroes
  • 33. License • This slide desk was authored by Anna Gerber, April 2016 and may be shared or adapted under a Creative Commons Attribution Share Alike (4.0 CC-BY-SA) license: https://creativecommons.org/licenses/by-sa/4.0/ Anna Gerber 3D Action Heroes

Notes de l'éditeur

  1. Intro section: 10 minutes Introductions, housekeeping In this hands-on two hour beginner’s class we’ll:Generate customised 3D human models using MakeHuman Slice up a 3D model and add articulated joints using Meshmixer’s slice and merge tools Use Meshmixer’s 3D sculpting tools to customize 3D parts
  2. We'll cover how to sculpt the figure It actually takes longer than 2 hours to create a completely custom figure You are welcome to come into the Fab Lab during opening hours to keep working on your models, or you can download the software at home
  3. Channel down center splits the two sides – use a bridging wire if you want them to be connected across the entire breadboard