Electronics Design

Designing PCBs

Continuing on from Electronic Production, we will now learn how to take an idea and turn it from a schematic design to an actual PCB.

What is an echo hello-world board?

An echo hello-world board gets its name from the "Hello world" program which is the first program that people write when first learning a new progamming language. Similarly, the echo hello-world board acts as the first board we will design when making our first programmable board. We will be using the ATtiny412 microccontroller for this project.

Example of an echo hello-world board

Assignments

Setting up Autodesk Fusion 360

  1. Download the fab library to have access to the ATtiny412 microccontroller schematic component.
  2. Under files in the top left corner, open "New Electronics Design".
  3. new electronic design
  4. Open "New Schematic" in the top left corner then under the "PLACE COMPONENTS" tab there is an "Open Library Manager". From there, click on "Import libraries" then "Import from local disk" and import in the fab library downloaded from step 1.
  5. Finally enable the fab library.

I will be referring to this schematic to redraw my echo hello-world board.

t412 schematic

After placing the components with reference to schematic above along with the additional button, LED and current limiting resistor, we will press ERC under the VALIDATE tab to check for any errors with our schematic design. After we complete our new schematic design, it should look a little something like this :

my completed schematic design

After completing our schematic design, its time to generate our board. On the top left, we will click "Switch to PCB document". Upon first loading in, the components will all be on the side.

first load in

We will first start with setting up our DRC under the "RULES DRC/ERC" tab. We will adjust the "Clearance" and "Sizes".

DRC clearance DRC size

With the help of the yellow guide line, organise and layout your board component. Switch the layer to 46 Milling and add an outline around the PCB. When completed it should look something like this.

hello world schematic

After which, using the command "export image monochrome Users/(Username)/Downloads/(filename).png 2000" in the command box to export layers 1 Top & 17 Pads as well as 46 Milling respectively, we will get two images that looks like this:

Export hello traces Export hello outline

note: command line syntax is for mac, for windows the syntax is as follow "export image monochrome (drive:\path\filename.png) (resolution)".

We will now need to use GIMP to fill in spaces in the pads as well in the outline.

Hello traces Hello outline

When completed it should look like this and it is ready to be inserted into mods learned in Electronics Production. When we are done milling out the traces, we will find that the copper tracks will have a lot of burr sticking out. We will need to clean this up to prevent the PCB from shorting itself. We do this by sanding down the surface after we finish milling out the outline as well.

burr on copper traces cleaned up hello board PCB

When completed with soldering, the PCB should look something like this:

completed hello board

note: the LED's negtaive terminal is the side with the green tip and the resistor is read as the first 3 value multiplied by 10 to the power of the 4th value (eg. 1001 = 100 x 10^1 = 1000).

The testing of the board will be explored further in Embedded Programming where we will program the board to do something.