Electronics Design
Designing a PCB using EAGLE
To create our own circuit board, we have to use a CAD tool to design the schematic and drawing its layout. Autodesk EAGLE is a software that helps us do just that.
In EAGLE, there are two windows called SCH and BRD. We can switch between the schematic and board button to design a pcb.
Assignment: Redraw an echo hello world board (add at least a button and led)
I will be making an echo board using the ATtiny85 chip. This is the datasheet summary for ATtiny85 found on Microchip website.
To get started, I will need to download and install the component library. The library I’m using is fab.lr.
Steps to download fab.lr
In my file manager, I place the downloaded fab.lr (named eagle_fab) in the EAGLE library.
Now for me to use it, at the EAGLE control panel, go to the directory and select the library. A green dot indicates that it is in use.
Create a new project.
We will have to add and connect components in the schematic window first. To add components, select the add parts icon . You can either look through the listed libraries for a component to add or you can type it into the box above the “drop” button.
Editing the schematic
- Add in the right components for your board.
- Use NET tool to wire our parts together.
- Use NAME tool to identify our components/name our nets.
- Use VALUE tool to set resistors resistance or capacitors capacitance.
- Verify the design using ERC.
- Go to board view to position our components and route traces.
Refer to this Sparkfun link for detailed explanation on wiring up schematic on EAGLE. https://learn.sparkfun.com/tutorials/using-eagle-schematic
This is a screenshot of my completed schematic
Editing the Board
When we move to Board view, the components that we have just wire will be jumbled up. We will have to re-arrange the traces accordingly, up to the user’s design.
- Move individual components around. Rotate to figure out the simplest pathway.
Route all the traces. Or use the autorouter feature.
Use DRC to select wire dimension.
- Create a border under the milling layer. (blue)
It it safe to say, to cnc a pcb in fablab, use this parameters to determine width of traces:
- 10mil / 0.25mm for very fine traces
- 16mil / 0.4mm for traces
- 32mil / 0.8mm for board outline
Finalised board design before generating Gcode
Export board design
Select the LAYER icon located on the top left of the screen.
From here you may use EAGLE’s pcb-gcode setup or export a high resolution png image. Since EAGLE has a setup to generate Gcode, i’ll would like to try exporting my board design directly from EAGLE software.
Run pcb-gcode ULP.