PCB Activity

1 Introduction

In this assignments, you will learn how to design a printed circuit board (PCB) using the computer aided design (CAD) tool KiCad. First, you will watch a series of YouTube videos which will show you how to use KiCad. Then, you will design a custom PCB board to interface with the DS1722 temperature sensor integrated circuit (IC).

2 Learning Goals

By the end of this lab you will have…

  • Learned how to use KiCad to design a PCB.
  • Created a custom PCB to interface with the DS1722.

3 Requirements

Design a custom PCB to interface with the DS1722 SPI temperature sensor. In addition to the DS1722 chip, the board should include five indicator LEDs: power, SCLK, SDO (MOSI), SDI (MISO), and CS (SS). To aid in your debugging, include test points that you can use to easily probe the SPI signals.

The board must adhere to the mikroBUS standard. In particular, the SPI interface lines should be routed to their respective pins on the mikroBUS headers and the form factor of the board should match the dimensions specified. Figure 1 includes screenshots of some relevant figures from the mikroBUS standard specifications. You should read the whole document.

(a) mikroBUS Dimensions
(b) mikroBUS pinout
Figure 1: mikroBUS standard specifications.

4 Schedule

4.1 Day 1: Schematic Capture

In the first session you will create a schematic for your board. By the conclusion of this class period, you should have a completed schematic for your board with all components properly connected together and ready to be physically arranged on the PCB.

4.1.1 Prep work

4.1.2 In-class

Recreate the following schematic in KiCad.

Figure 2: DS1722 breakout board schematic in KiCad.

Complete the following steps:

4.2 Day 2: PCB Layout Design and Fabrication Preparation

In the second session you will implement your schematic on the physical PCB. By the end of this class period, you should have a completed circuit board which is ready to be submitted to be manufactured.

4.2.1 Prep work

4.2.2 In-class

Complete the following steps:

Figure 3: Screenshot of settings at: Board Setup > Design Rules > Constraints.
Figure 4: Netclasses for signal and power.

5 KiCad Tutorial Videos

Shawn Hymel has an excellent YouTube tutorial on how to make a PCB. The tutorial consists of 10 videos which walk you through the process from beginning to end. You should watch all the tutorials, although you won’t need to follow the steps in the last two videos since the parts will be provided for you and you already know how to solder components to the board.

The tutorials are linked below, and can also be found in the playlist.

  1. How PCBs Are Made
  2. Create a Schematic Symbol
  3. Schematic Capture
  4. Create a Footprint
  5. Associate Footprints and Generate Netlist
  6. Place Parts and Define Outline
  7. Board Layout
  8. Generate Gerbers and Order Boards
  9. Generate BOM and Order Parts
  10. Solder Components to the PCB

6 Design Constraints

To make it easier to source parts for your board, you will need to limit yourself to only specific components. In particular, you should limit yourself to surface mount technology (SMT) Imperial 0805 resistors and Imperial 0805 LEDs. Your through-hole technology (THT) header pins should be a standard
0.100” (2.54 mm) pitch.

7 What to Submit

If you successfully complete your board, by the end of the week, you may submit it to be manufactured. To do so, you must ensure that all design specifications are met. When complete, submit a link to a Github repository which includes all the design files for your board along with any custom libraries. Your git repository must also include a .zip file of the Gerber files needed to manufacture your board.