MAS 863
How To Make (almost) Anything

PCB Fabrication, Board Stuffing

PCB fabrication
   etching
      ferric chloride, cupric chloride, ammonium/sodium persulfate
   machining
      0.010
      1/64
      1/32
   cutting
   printing
   plating
   sewing

PCB materials
   rigid
      FR4 (epoxy glass)
      FR1 (phenolic paper)
   flex
      Kapton
      #1 epoxy film, #1126 copper tape
   high-frequency
      teflon
      glass
   copper
      0.5 oz: 17.5 um
      1.0 oz: 35 um
      2.0 oz: 70 um

board houses
   AP Circuits, Advanced, Sierra
   design rules
      width/spacing (12/12, 6/6 mils)
   layers
      1, 1.5, 2, 4, N
   vias
      blind, buried

components
   through-hole
   surface-mount

assembly
   soldering
      eutectic
      wetting
   desoldering
   reflow
   wave
   stuffing
      tacking down parts
      bottom to top, inside to outside
      fumes
      washing
   pick-and-place
   ROHS
   encapsulation

in-circuit programming
   STK500
   Dragon
   AVR Studio
   WinAVR
   avrdude
   parallel (bsd) cable (wire side view):
      avrdude -p t45 -c bsd -U flash:w:file.hex
   
            9        18        10
      | MOSI (3)  GND (2)  MISO (1) |
         -RESET (4)  SCK (5)
               7        8
                     | cable direction
                     v
   
      plug               1   3   5   4     2
      DB25  13  12  11  10   9   8   7   6   5   4   3   2   1
      DB25    25  24  23  22  21  20  19  18  17  16  15  14
   
   serial (dasa) cable (wire side view):
      avrdude -p t45 -P /dev/ttyUSB0 -c dasa -U flash:w:file.hex
   
                     ^
                     | cable direction
            3        5         8
      | MOSI (3)  GND (2)  MISO (1) |
         -RESET (4)  SCK (5)
               7        4
   
      plug         4 3 1 5   2        
            DCD  Rx  Tx DTR GND
              DSR RTS CTS  RI
      DB9    1   2   3   4   5
      DB9      6   7   8   9
   
      serial voltage limiter

connectors
   IDC
   MTA
      MTA tool
   DB9, DB25

RS232
   pySerial
   rx.py: serial receive, DTR power
      python rx.py /dev/ttyUSB0 9600
   term.py: serial transmit/receive, DTR power
      python term.py /dev/ttyUSB0 9600

assignment
   serial hello-world
      hello.serial.45.cad
      hello.serial.45.asm
      hello.serial.45.hex
   remember DTR power
   brltty

gurus

lab sections
   Siggi: Tuesday 2:00-4:00
   Eric: Thursday 2:00-4:00
   Charlie: Wednesday 3:00-5:00