Note: to delete previous settings delete "Cadsoft" folder in "C:\Users\jim.lindblom\AppData\Roaming"
Link: http://www.cadsoftusa.com/download-eagle/?language=en
File Name: eagle-win-6.4.0.exe (Windows), eagle-mac-6.4.0.zip (Mac)
- Run WinZip Self-Extractor.
- Setup (Wait about a minute).
- Next on Welcome Screen.
- Yes to license agreement.
- Decide destination directory, Click Next
- Click next to start copying files. Wait a minute.
- Select "Run as Freeware". Click Next.
- Freeware limitations? !!! TODO
- Click Finish.
Click "Yes" to any/all directory creations
- Overview about each tree.
- Click on an example in each tree, and show how information panel changes.
- Explain green dots.
- Show "Directories" Dialog
- Options > Directories
- Point Libraries to our library folder (.../Eagle Class Files/lbrClass). In addition to current directory.
- Point Scripts to our folder (.../Eagle Class Files/scrClass). In addition to current directory.
- Show how lbrClass and scrClass directories are added to tree view.
- Set Libraries to USE NONE from default folder. Make sure lbrClass folder is used.
- Explain why we won't be using default libraries. Too overwhelming.
- Right-click Libraries tree, click Use None.
- Should make all green dots go away.
- Talk a bit more about library. Expand and look at parts. This is a good place to explain symbiosis between board and package.
- Create a New Project
- Right click "eagle" folder. Select New Project. Title folder "Bare Bones Arduino".
- Explain difference between regular folder, and project folder.
- Explain green dot again.
- Create a Schematic in Project
- Right click project folder. Select New > Schematic.
- Schematic editor should open
- Explain the Schematic Editor View
- Explain toolbar. We'll talk more in-depth about each tool as we encounter it.
- Every tool can also be accessed from Draw, View, Tools menu.
- Add a frame.
- Click "Add" button (looks like And gate, with black arrow over it). Also found under Edit menu.
- Explain what add tool does.
- Should only be one library -- spk1 -- in add view. Ask if people see more/not spk1.
- Expand spk1. Select FRAME-LETTER. Either double-click it, or select and click OK.
- Frame will "Glow" and follow mouse around. Move mouse over dotted cross (origin) and LEFT CLICK to place the frame.
- Another frame will follow mouse around. We don't want to place another, so Hit ESC.
- Hit ESC again to get out of add view
- Explain grid/origin
- Set the grid with "Grid" tool (icon under open). Also under View menu.
- Show where mouse coordinates are displayed.
- Explain how to navigate with mouse around schematic.
- Middle mouse button zooms in/out
- Hold middle mouse down, and drag mouse to move around screen.
- If student doesn't have a mouse, view tools become useful. Show where zoom in/out, zoom to fit, and zoom select are.
- Save schematic -- file name bareBonesArduino.sch
- After saving, you can hit "Redraw". The title will be added to the frame. Date wil be updated.
- Add POWER_JACKPTH
- Explain why different footprints for jack.
- Add to top left of frame.
- Hit ESC, ESC to get out
- Explain value and name parameters.
- Add Capacitor
- CAP > CAPPTH
- Place near the jack. ESC, ESC
- Add two Ground Nodes
- One below jack. One below cap.
- Add one VCC node
- Above cap.
- Net VCC
- Explain why use "Net" tool, and not "Wire"
- Explain how the net tool works.
- Start at a "Pin" (explain how to recognize pins, different parts have different amounts of pins), and finish at another pin.
- Wire from barrel Jack + to top of cap.
- Can also start on net. Always need to finish at a pin (or else hit ESC).
- Wire from net bend to VCC pin.
- When connecting more than two pins to a net, a Warning dialog will pop up. Usually, you'll have meant to merge the pins to one net, so click Yes.
- A node junction should be created when creating a three-way junction.
- Net GND
- to pins to route on barrel jack to GND node
- Route bottom fo cap to GND
- Explain the MOVE tool
- Moving a part is a good way to check if nets are connected.
- Click the "Generate/switch to Board" tool. Under the File menu.
- If board is being created, it'll ask if you want to. Click Yes.
- New Board should be created with the parts we've added.
- Explain the ratsnest wires.
- Run script file -- spk.scr
- May need to navigate to script directory (Eagle Class Files/scrClass)
- This should turn background black. Explain why we like to differentiate. Show how this can be adjusted.
- Save board. And go back to schematic.
- Add: AVR-MEGA8-PPTH
- Place it in the center of schematic
- Bring board back up. Show that ATmega was added there as well.
- Don't close board! Explain why don't close board! Explain green dots.
- Add three resistors (RESISTORAXIAL-0.3)
- One vertical near reset pin.
- Three to lower-right portion of sheet
- ESC ESC
- Show how names are being auto-incremented.
- Add values to resistors. 10k on reset, 220 on LEDs.
- We also need to go back and value capacitor(0.1uF)
- Add three LEDs (LED5MM)
- Place them below the resistors
- Need to group move LEDs.
- Group LEDs
- Select Move tool
- Point out status bar text directions.
- Hold ctrl+right click to move group.
- Move group of LEDs on top of resistor.
- Add a capacitor (CAPPTH)
- We want cap to go horizontally.
- Right click once to rotate cap 90°.
- Can also use rotation (quadrant) tools top left.
- Place cap to left/bottom of reset resistor. Pins even with reset pin.
- Value cap at 0.1uF
- Add 6-pin connector (FTDI_BASICPTH)
- Place in bottom left
- Add 8-pin connector (M081X08)
- Flip the part by middle clicking.
- Place in top-right of frame.
- Add AVR programmer (AVR_SPI_PRG_6PTH)
- Place below AVR
- Add 5 GNDs
- One for AVR
- One for ISP
- Three for LEDs
- Add 3 VCCs
- One for AVR
- One for reset pull-up
- One for ISP
- Reinforce using NET tool!
- Start on LEDs. Same as before. Go from AVR to LED (PB0, PB1, PB2). LED to resistor. resistor to GND.\
- Wire up VCC and GND on AVR
- Make sure nodes appear!
- Wire up reset circuit
- Resest pin to resistor and capacitor
- Resistor pulled up to 3.3V
- Wire to nowhere (about three grid spaces) on other end of cap.
- Name your first net
- Name net DTR
- Use label tool to add name to net.
- Wire up serial header.
- Make six nets. Name all accordingly. Label each net.
- Can label before naming.
- Nets that are already named will ask if you want to make the connection. Good sign. Click yes.
- Label RX and TX on AVR
- Use Show tool to show that pins are connected.
- Wire up ISP connector
- Make MISO, MOSI, SCK, RESET nets on AVR
- Add connections to A0-A5 and VCC, GND on 8-pin header
- Make same (analog) connections on AVR.
TA DA!
- Switch to board editor
- DON'T CLOSE SCHEMATIC!
- All parts should have been added to editor as well.
- Explain visible layers: dimensions, via, tsilk, tdoc, ratsnest.
- Move ATmega328 to middle of board.
- Have to click part origin to move it.
- Use right click to rotate
- Note on how airwires remain attached.
- Arranging parts is all about making our routing easier. Try to criss-cross airwires as rarely as possible.
- Move 8-pin analog header to right of IC.'
- Show how much more difficult it'll be if rotated incorrectly.
- More LEDs, arrange resistors nearby.
- Explain why the green dots can't overlap (it's copper!)
- Place ISP header.
- Overlaps are inevitable.
- Place serial 6-pin header.
- Move DTR cap near serial header.
- Move pull-up resistor between DTR and reset pin.
- Add barrel jack and decoupling cap to top left of board.
- Explain barrel jack's tDoc layer.
- Adjust dimension layer lines to better fit our board.
- Can group move entire board to align bottom left with origin.
- Contest to have smallest, routed board?
- Explain top and bottom layers.