Skip to the content
2 layers47.6 × 406.4 mmSensor Board 2x16, the printed circuit board in 3D

All the PCB files

Size
47.6 × 406.4 mm
Copper layers
2
Thickness
1.6 mm
Parts
25
Nets
17
Pads
50
Tracks, vias
44, 0
Routed
Yes
KiCad
KiCad 6 (file 20211014)
Created
21 Sep 2022
Updated
16 Dec 2022

Overview

Sensor Board 2x16 is an open-source printed circuit board by TheGreatGambit, from the TheGreatGambit/Capstone-Electrical repository on GitHub, published under the MIT licence. It is a 2-layer board of 47.6 × 406.4 mm with 25 parts on 17 nets, routed with 44 tracks and 0 vias.

It is built around the OQ0212500000G. Its parts include 17 connectors and 8 switches. It belongs with the sensors and measurement and robots and motor control boards of this library.

Main components

1

README

README.md

The Great Gambit — Electrical

Overview

This project aims to create an autonomous robot capable of playing an intelligent, over-the-board game of chess against a human opponent. The system uses a three-axis, cantilevered, overhead gantry to move parallel to the chess board. Each axis is driven by a stepper motor, the horizontal axes using belts and the vertical axis using a rack and pinion. A crosspoint array of reed switches embedded in the physical chess board allows for piece detection, and with software record of the board state, piece recognition. This system is orchestrated by an MSP432E401Y microcontroller, with chess moves being pulled from the open-source Stockfish chess engine, running on a Raspberry Pi 3A+. All communication between the Raspberry Pi and MSP432 is done through a universal asynchronous receiver-transmitter (UART) serial connection.

This repository contains all schematic and PCB files for the system, generated in KiCad. Files can be graphically viewed at CADLab. In this document, <LGR> will indicate your local path to the GIT repo.

Setup

  1. Clone this repo onto your local machine.
  2. Open <LGR>/Boards/Main_Board/_Top_Level/Main_Board.kicad_pro with KiCad to view the main project.
  3. In KiCad, open Main_Board.kicad_sch to view the schematic, or Main_Board.kicad_pcb to view the PCB.

Adding a Board (Project)

  1. Create the following new directories:
    • <LGR>/Boards/<YOUR_BOARD_NAME>
    • <LGR>/Boards/<YOUR_BOARD_NAME>/_DFM
    • <LGR>/Boards/<YOUR_BOARD_NAME>/_DFM/Gerber
    • <LGR>/Boards/<YOUR_BOARD_NAME>/_Top_Level
  2. Open KiCad
  3. Select File->New Project
  4. A Create New Project window will pop up. In the window, navigate to <LGR>/Boards/<YOUR_BOARD_NAME>/_Top_Level
  5. Enter the file name <YOUR_BOARD_NAME>.kicad_pro and click Save

Adding a Subsheet in an Existing Board

  1. Create a new directory: <LGR>/Boards/<YOUR_BOARD_NAME>/<SUBSHEET_NAME>
  2. Open <LGR>/Boards/<YOUR_BOARD_NAME>/_Top_Level/<YOUR_BOARD_NAME>.kicad_sch in the KiCad Schematic Editor
  3. Select Place->Add Sheet
  4. Click to place the symbol
  5. A Sheet Properties window will pop up. Add the following entry:
    • Sheet Name: <DESCRIPTIVE_NAME>, Sheet File: ../<SUBSHEET_NAME>/<COMPONENT_NAME>.kicad_sch
  6. Right click the component and select Import Sheet Pin to place the hierarchical labels

Installing External Libraries

Note: We no longer use a custom path for project libraries. We instead use relative paths from ${KIPRJMOD}

  1. Install the library:
    1. Download an external library
    2. Unzip the download to get a *.epw file
    3. Download the Library Loader tool from Mouser
    4. Register/login to the Library Loader tool
    5. Click Open ECAD Model and select the downloaded *.epw file
    6. By default the output is in ~/Downloads/LIB_GET.zip. Unzip it
    7. Copy the unzipped contents into: <LGR>/Project_Libraries/<LIBRARY_NAME>
  2. Import the symbol:
    1. In the KiCad Schematic Editor, go to: Preferences->Manage Symbol Libraries->Project Specific Libraries
    2. Add the following entry by clicking the + button:
      • Nickname: <LIBRARY_NAME>, Library Path: ${KIPRJMOD}/../../../Project_Libraries/<LIBRARY_NAME>/KiCad/<LIBRARY_NAME>.lib
    3. Select Migrate Libraries
    4. Place the device in KiCad by going to Place->Add Symbol and search for <LIBRARY_NAME>
  3. Add the footprint:
    1. In the KiCad PCB Editor, go to: Preferences->Manage Footprint Libraries->Project Specific Libraries
    2. Add the following entry by clicking the + button:
      • Nickname: <LIBRARY_NAME>, Library Path: ${KIPRJMOD}/../../../Project_Libraries/<LIBRARY_NAME>/KiCad
  4. Update the symbol field to make exporting the BOM easier:
    1. Right click on the symbol and click Properties
    2. Click Edit Library Symbol. This should open a symbol editing window.
    3. Go to File -> Symbol Properties
    4. Use the + button to add the fields Datasheet, Manufacturer's Part Number, Digikey Part Number, Mouser Part Number, Digikey Link, and Mouser Link in that order (with that exact spelling/capitalization)
      • The Datasheet should be a URL to the datasheet, and the Digikey link and Mouser link fields should be links to the part's product page
    5. Uncheck the Show field for everything except the Reference and Value fields
    6. If the part has a meaningful value (e.g., a 10k resistor), add that value in the Value field
    7. In the Footprint field, select the folder icon and search for <LIBRARY_NAME> in the popup
    8. Double click the result to associate the footprint you imported with the symbol you imported
      • Note: The footprint field might show something like <LIBRARY_NAME>:<SEEMINGLY_RANDOM_STRING>, this is okay
    9. Click Ok and close the library editor
    10. In the schematic, either right click the symbol and select Update or delete and re-add the symbol. The fields should now be included correctly

Parts

25
QtyValueFootprintReferences
17OQ0212500000GOQ0212500000G:OQ0212500000GJ1, J2, J3, J4, J5, J6, J7, J8, J10, J11, J12, J13, J14, J15, J16, J17 +1
8GP560_V03GP560_V03:GP560_V03S1, S2, S3, S4, S5, S6, S7, S8

More from TheGreatGambit/Capstone-Electrical

3
  • 2 layers174 × 97.8 mmTop Level, the printed circuit board in 3D

    Top Level

    TheGreatGambit/Capstone-Electrical

    All the PCB files

    229 partsMIT
  • 2 layers431.8 × 431.8 mmSensor Board 17x17, the printed circuit board in 3D

    Sensor Board 17x17

    TheGreatGambit/Capstone-Electrical

    All the PCB files

    80 partsMIT
  • 2 layers92.7 × 406.4 mmSensor Board 4x16, the printed circuit board in 3D

    Sensor Board 4x16

    TheGreatGambit/Capstone-Electrical

    All the PCB files

    40 partsMIT

Similar boards

  • 4 layers36.9 × 34 mmMp6612, the printed circuit board in 3D

    Mp6612

    cpeniche/hardware

    32 parts
  • 2 layers159.5 × 30 mmType f, the printed circuit board in 3D

    Type f

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    25 parts3kApache-2.0
  • 2 layers113.5 × 95.1 mmSweep high, the printed circuit board in 3D

    Sweep high

    davidphilipbarr/Sweep

    Sweep - a small promicro based keyboard inspired by the Ferris.

    25 parts2.1k
  • 2 layers58.4 × 114.3 mmPicoPedal, the printed circuit board in 3D

    PicoPedal

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    25 parts915
  • 2 layers54 × 15 mmXyp gpib, the printed circuit board in 3D

    Xyp gpib

    xyphro/UsbGpib

    Versatile, cheap and portable USB to GPIB converter (USBTMC class based)

    25 parts690MIT
  • 2 layers50 × 76 mmVoron 0, the printed circuit board in 3D

    Voron 0

    dennisss/dacha

    Monorepo for awesome tools/projects/libraries

    25 parts397Apache-2.0
  • 2 layers237.5 × 102.9 mmStorage, the printed circuit board in 3D

    Storage

    jes/scamp-cpu

    A homebrew 16-bit CPU with a homebrew Unix-like-ish operating system.

    25 parts301Unlicense

Questions

How big is the Sensor Board 2x16 PCB?

It measures 47.6 × 406.4 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Sensor Board 2x16 use?

25 parts, built around the OQ0212500000G. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Sensor Board 2x16 KiCad files?

From the TheGreatGambit/Capstone-Electrical repository on GitHub, at the commit this page was made from: the board is Boards/Sensor_Board_2x16/_Top_Level/Sensor_Board_2x16.kicad_pcb and its schematic Boards/Main_Board/Button_Subsystem/Button.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Sensor Board 2x16 design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).