Skip to the content
2 layersForce sens resistor, the printed circuit board in 3D

Force sens resistor

BEARUBC/FSR_Mat_PCB2

This repository hosts the CAD files for the FSR PCB.

Copper layers
2
Thickness
1.6 mm
Parts
12
Nets
44
Pads
109
Tracks, vias
0, 0
Routed
Not yet
KiCad
KiCad 6 (file 20211014)
Created
28 Nov 2022
Updated
25 Mar 2023

Overview

Force sens resistor is an open-source printed circuit board by BEARUBC, from the BEARUBC/FSR_Mat_PCB repository on GitHub. It is a 2-layer board with 12 parts on 44 nets.

It is built around the 74HCT595D. Its parts include 4 capacitors, 4 ICs, 3 connectors and 1 resistor.

Main components

1

README

README.md

FSR Matrix Printed Circuit Board

**As of 2023-03-24, this README is outdated. Documentation for Tiaan's FSR is in progress.

These are the CAD files for the FSR printed circuit boards (PCB) using through-hole only components. This board is used for controlling a force sensitive resistor matrix, reading analog values from each cell.

📖 Description

This design is based off of Sensitronics' MatrixArray products which are comprised of a multitude of force sensing resistor elements arranged in a grid. Providing n-input multitouch + force sensing capabilities, MatrixArrays are the basis for musical instruments, PC input devices, and other innovative designs. If you have measured single-element FSRs by looking at the voltage across a divider, we're doing the same thing here.

But in this case, we're choosing the point to measure by powering a single drive column, enabling one mux channel so that the ADC sees a single row. In the next section, the Arduino code demonstrates a scan pattern to read all $\approx$ 160 elements in sequence.

🚨 Dependencies

  • Software
    • KiCAD v6
  • Hardware
    • ThruMode MatrixArray
    • Arduino Uno (or other)
    • 74HC595 Shift Register (x2)
    • 74HC4051 Analog Multiplexer (x2)
    • 20k resistor (x1)
    • Solderless Breadboard & Jumper Wire

💻 Installing

🕹️ Software

Use a web browser to navigate to www.kicad.org the KiCad EDA website. Click the DOWNLOAD button on the KiCad home page. On the download page that opens, click the Windows button. Under Stable Release, click either Windows 64-bit or Windows 32-bit, depending on if you are going to install KiCad on a 32-bit or 64-bit version of the Windows operating system. Save the KiCad installation file. It may take a while to download, depending on your internet speed.

  1. Click the Open button under File > Open (Ctrl + O) and navigate to this repository
  2. Select the force_sens_resistor.kicad_pro file
  3. Double click the *.sch file and begin to edit the board
🤖 Hardware

Arrange the hardware connections folling this schematic:

▶️ Executing program

Now that the hardware's connected, it's time to write some code.

To read a single intersection, or "cell", of the MatrixArray, we need to perform the following sequence:

  • Drive the cell's row with +5V
  • Enable the cell's column (multiplexer channel)
  • Take an ADC reading on pin A0
  • Output the reading via serial port

Simple enough, so from here, we will write a scan pattern to efficiently drive and read each cell of the Matrix. Recalling that we're calling shift register drive pins "rows" and multiplexed read pins "columns" in this example, we'll enable each column in order, and while each column is active, we'll drive each row high and take a reading.

cpp
// Constant definitions
...

void setup() {
  Serial.begin(BAUD_RATE);

  pinMode(PIN_ADC_INPUT, INPUT);
  pinMode(PIN_SHIFT_REGISTER_DATA, OUTPUT);
  pinMode(PIN_SHIFT_REGISTER_CLOCK, OUTPUT);
  pinMode(PIN_MUX_CHANNEL_0, OUTPUT);
  pinMode(PIN_MUX_CHANNEL_1, OUTPUT);
  pinMode(PIN_MUX_CHANNEL_2, OUTPUT);
  pinMode(PIN_MUX_INHIBIT_0, OUTPUT);
  pinMode(PIN_MUX_INHIBIT_1, OUTPUT);
}
void loop() {
  for(int i = 0; i < ROW_COUNT; i ++) {
    setRow(i);
    shiftColumn(true);
    shiftColumn(false);                         //with SR clks tied, latched outputs are one clock behind

    for(int j = 0; j < COLUMN_COUNT; j ++) {
      int raw_reading = analogRead(PIN_ADC_INPUT);
      byte send_reading = (byte) (lowByte(raw_reading >> 2));

🧔🏽‍♂️Authors

Contributors names and contact info

Tiaan Boshoff Kyle Kochi Tiffany Prayitino Umar Ali

🧾 Version History

  • 1.0
    • Initial Release following Sensitronics' MatrixArray tutorial

Parts

12
QtyValueFootprintReferences
40.1uFCapacitor_THT:CP_Axial_L10.0mm_D4.5mm_P15.00mm_HorizontalC1, C2, C3, C4
24051Package_DIP:DIP-16_W10.16mmU3, U4
274HCT595Package_DIP:DIP-16_W7.62mm_LongPadsU1, U2
120kResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P1.90mm_VerticalR1
1DRIVE_COLSConnector_PinSocket_1.00mm:PinSocket_1x16_P1.00mm_VerticalJ2
1MCU_HEADER_PINSConnector_PinSocket_1.00mm:PinSocket_1x09_P1.00mm_VerticalJ1
1READ_ROWSConnector_PinSocket_1.00mm:PinSocket_1x10_P1.00mm_VerticalJ3

More from BEARUBC/FSR_Mat_PCB

1
  • 2 layers56 × 65 mmTiaan fsr exp, the printed circuit board in 3D

    Tiaan fsr exp

    BEARUBC/FSR_Mat_PCB

    This repository hosts the CAD files for the FSR PCB.

    19 parts2

Similar boards

  • 2 layers92 × 94.5 mmPicoCNC, the printed circuit board in 3D

    PicoCNC

    phil-barrett/PicoCNC

    Raspberry Pi Pico based grblHAL Controller

    152 parts173
  • 2 layers116.8 × 73.7 mmDuPal V3, the printed circuit board in 3D

    DuPal V3

    DuPAL-PAL-DUmper/DuPAL_Board

    This repository contains the KiCad files and the gerber files for the DuPAL boards.

    133 parts57CC-BY-SA-4.0
  • 2 layers102 × 102 mmMRR ESPE, the printed circuit board in 3D

    MRR ESPE

    maplerainresearch/MRR_ESPE

    MRR ESPE 3D printer control board

    168 parts39
  • 2 layers209.1 × 126.6 mmTH XWhatsIt, the printed circuit board in 3D

    TH XWhatsIt

    listofoptions/TH-XWhatsIt

    through hole implementation of the capsense controllers by XWhatsIt

    60 parts21
  • 2 layers70 × 65 mmFluepdot, the printed circuit board in 3D

    Fluepdot

    Fluepke/Fluepdot

    Project for controlling Annax flipdot panels used by the Berliner Verkehrsbetriebe

    116 parts17AGPL-3.0
  • 2 layers199.4 × 50.8 mmNixie board, the printed circuit board in 3D

    Nixie board

    vascofazza/cloxie_nixie_clock

    Schematics and code for Cloxie: my Nixie Tube Clock.

    85 parts17GPL-3.0
  • 2 layers90.6 × 77.8 mmEmurom, the printed circuit board in 3D

    Emurom

    jtsiomb/emurom

    ROM emulator. Accepts ROM images through USB and acts as a parallel ROM chip.

    58 parts15CC-BY-SA-4.0
  • 2 layers94.9 × 94.7 mmGate, the printed circuit board in 3D

    Gate

    CountMurphy/DoorwayToHeaven

    A gate to other worlds

    141 parts13MIT

Questions

What parts does the Force sens resistor use?

12 parts, built around the 74HCT595D. 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 Force sens resistor KiCad files?

From the BEARUBC/FSR_Mat_PCB repository on GitHub, at the commit this page was made from: the board is force_sens_resistor.kicad_pcb and its schematic force_sens_resistor.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Force sens resistor design in my own project?

Its repository states no licence, so its author keeps all rights: ask BEARUBC before reusing the design.