! Making your own Open Source Hardware Arduino Shield with Fritzing Justin Mclean justin@classsoftware.com
Make Your Own Arduino Shield Want to make your own shield Have limited electronics experience Just solder basics or has a friend who does Never made a PCB before Want to keep costs low
Why Arduino? Large community Low cost / low power Easy to program Many form factors
Arduino IDE
Rapid Prototyping Can go from prototype to real product quickly Can extend hardware (arduino shields) or create single PCB Arduino and arduino components are easy to get
Clyde
Inside Clyde
Pebble
Pebble Prototype
Process Proof of concept Working prototype Design PCB Generate PCB design files Manufacture PCB Finished product
Arduino Shield Open Source Hardware Simple LED shield with a simple application Low cost Easy to make
Breadboard
Prototype
Prototype (back)
PCB layers Top silkscreen Solder Solder mask Copper Board Drill holes
PCB Design Software Eagle - not OS or free, low cost version has restrictions KiCad - OS complex but powerful Fritzing - OS simple designed for Arduino Platform Several online commercial services have sprung up
Fritzing Open Source for Mac Windows and Linux 3 views, breadboard, circuit diagram and PCB Easy to use mostly drag and drop What you do in one view effects others
Fritzing Large library of parts Auto route not very useful Breadboard view not compact Easy export of files
Breadboard View
PCB View
Exported Files
Check Your Design
PCB ordering services Hackvana http://www.hackvana.com OSH Park https://oshpark.com Seeed Studio Fusion PCB http://www.seeedstudio.com
Boards
Board (back)
Board (back)
It works!
I can t wait 2-3 weeks! Can pay more to quicker turn around Can use chemicals to etch boards and use surface mount or drill holes by hand Can use CNC machine to etch and cut and drill
Access to Tools 3D printers, CNC, Laser cutter - help with rapid prototyping and reduce cycle time from weeks to days Need access - join a local hacker group / maker space
CNC Machines Opposite of a 3D printer Smaller, cheaper, better software Can cut metal, wood, plastic, wax + more Can do 3D as well as 2D Othermill and Otherplan software (free) Slowish (compared to laster cutter)
Othermill
Otherplan
CNC cut board
CNC cut board
CNC issues OtherPlan supports gerber files Takes about 30min to 45min for each side Copper rings may need extra support May need to modify some traces No solder mask No copper in holes between sides
Surface Mount Components Just about all costumer electronics use very small surface mount components Generally cheaper and more variety than through hole Fritzing supports through hole to SMD
How Small?
SMD Boards Need vias to join board sides Hard to manually solder smaller parts but possible Fritzing supports through hole to SMD
SMD version
Making One is Easy Through hole components or large SMD components Components are cheap (but cheaper in quantity) Solder it together in 10 or 20 minutes But what if you want to make 10?
Scaling Up Rig
Scaling Up Rig
Testing Board Test before everything is soldered Pogo pins + prototype board Example demo code to test board
Testing Rig
Stackable
What Else? Licensing Documentation Packaging Examples Hosting Shipping
OS hardware Different from OS software Patent or trademark protection - several years and expensive Does it matter if someone can make it cheeper than you?
Licensing GPL style - CERN and TAPR Apache style - Solderpad Creative Commons
Documentation OSH needs to be documented PCB Design files Bill of materials Step by Step building instructions Example working software
Example Code Basic test program Control LEDs via serial Control LEDs via ethernet (REST + WebSockets) Control LEDs via WiFi
WebServer Code
Hosting Open hardware Hub http://www.openhardwarehub.com SolderPad http://solderpad.com Upverter http://upverter.com
Packaging Prototype
Packaging (prototype)
Digital Fabrication Laster cutter Online services 1-2 week turn around May have to work with both imperial and metic units (a pain!)
Laser cut files
Manufacturing Seeed Studio PCB Assembly http://www.seeedstudio.com/service/ Can make in quantities as small as 100 Standard library of parts for quick turn around Cost is lower than you may expect
Making 100 Boards Need gerber files and bill of materials Need testing plan / documentation SMD has higher set up costs and may not be possible to go in smaller runs
Questions? Ask now or email me at justin@classsoftware.com Ask me on twitter @justinmclean