Pressure Sensor Matrix Mat Project

Abbreviations and terminology

  • Pressure: Force to be measured by the sensor matrix
  • MCU: Central microcontroller unit, system on chip or FPGA that evaluates sensor data and communicates with a PC
  • User: Person on the mat
  • FPS: Frames per second, number of times all sensor values are transmitted to the PC
  • Mat: The final product, in protective foil or rubber, likely not involving optional cushioning material like an actual gym mat
  • X dimension: Width of the mat, second to the longest extent
  • Y dimension: Length of the mat, longest extent
  • Z dimension: Thickness of the mat
  • DPcm: Dots per cm, resolution in both X and Y
  • Dynamic range: Range of pressure values that can be measured by a single sensor
  • Image: Data from all sensors
  • Sensor: A single pressure sensor embedded in the mat
  • ADC: Analog to digital converter

Project description

Desired is a human interface device in the shape of a gym mat, that detects and digitizes pressure. To allow computer-based evaluation of the user’s posture, a sufficiently high resolution in the time, space and pressure domains are required.

Fundamental ideas

A 3M Product called Velostat is a polymeric foil impregnated with carbon to make it electrically conductive. Applying force decreases its resistance drastically. Using small sections of this product we will form a number of pressure dependent voltage dividers, whose output voltage will be fed into an ADC via a multiplexer. To control the multiplexer and transmit the digitized data to a computer, a MCU is used.


  • Mat size: 1m x 2m to fit most adults
  • DPcm: 1
  • NDots: 2000
  • Resolution pressure: 100 g
  • Dynamic range: 0 … 10 kg
  • Resolution ADC: 8 b
  • Size of 1 image: 16000 b
  • Serial Baudrate: 115200 bps
  • FPS: 7
  • Sensor size: TBD, this is what we can adjust to get the desired dynamic range

Characterizing Velostat

Experiment description

A test-fixture was made to test differently sized sections of Velostat in. It is based on a vise whose jaws were replaced with plane, parallel surfaces. These were covered with copper tape to ensure good contact with the test object. One of the jaws is also mounted on a load cell, with which we can measure the clamping force. In this fixture we are testing 3 differently sized Velostat samples at different pressure levels while recording their resistance. Doing so we expect to see the materials dynamic range and the influence of sensor area on the same.

Figure 1: Velostat test fixture
Experiment result

As we can see in Figure 3 the dynamic range of Velostat is roughly 0g … 1000g and independent of sensor area. This result can be used as a foundation for estimations involving a flexible mat material, that will distribute pressure evenly on sensor area and surrounding non-sensor area.

400mm² 40mm² 4mm²
100g 500 Ω 600 Ω 800 Ω
200g 300 Ω 440 Ω 570 Ω
300g 200 Ω 320 Ω 430 Ω
400g 140 Ω 230 Ω 340 Ω
500g 110 Ω 170 Ω 270 Ω
600g 92 Ω 140 Ω 230 Ω
700g 72 Ω 120 Ω 200 Ω
800g 60 Ω 103 Ω 180 Ω
900g 50 Ω 91 Ω 160 Ω
1000g 45 Ω 84 Ω 150 Ω
1100g 39 Ω 76 Ω 144 Ω
1200g 32 Ω 72 Ω 139 Ω
1300g 29 Ω 70 Ω 135 Ω
1400g 27 Ω 69 Ω 131 Ω
1500g 26 Ω 68 Ω 129 Ω
Figure 3: Resistance of differently sized Velostat samples at different pressure levels

Further estimations

To accommodate most adults, the final product should be dimensioned for users between roughly 50 kg and 200 kg.
The average foot size can pessimistically be assumed to be size 9.
Using computer software we have scaled and vectorized a footprint to measure its area, which is approximately 126 cm² (Figure 4).
Based on these figures we expect a maximum pressure of 200kg per 126cm² ≅ 1.6kg/cm²
Sticking with the sensor pitch DPcm = 1 with no gaps, each sensor would see a maximum of 1.6 kg, which would be outside of its dynamic range.
To correct this, we will include 5mm gaps between the sensors, effectively halving their areas and their expected maximum pressure at the same time.

Figure 4: Measurement of footprint area

8×8 Sensor matrix demonstrator

Experiment description

To verify our aforementioned ideas, a demonstrator unit will be made. In particular we want to find out

  • if it is viable to arrange pressure-dependent voltage dividers in a scalable matrix
  • If the pressure per sensor can be regulated by adjusting the sensor-area non-sensor-area ratio
  • which conductive and protective materials will work well

A small 8 x 8 sensor matrix along with its control circuitry fits well on a single 100 mm x 160 mm circuit board and is easy to assemble.

Circuit description

Every pressure-dependent voltage divider in our matrix consists of a variable resistor (sensor) and a fixed resistor. The sensors are arranged in columns and rows of 8. The high sides of all sensors in a column are connected to one output of a shift register. The low sides of all sensors in a row are connected to a fixed ground-resistor and an analog switch input. A MCU controls the shift register and the analog switch in a common scanning strategy: Rows are connected one at a time to a MCU analog input pin by the analog switch and their voltage is measured while columns are energized one at a time by the shift register. That way we are able to measure all 64 sensor voltages with only one ADC and a few digital pins.

Figure 5: Half schematic circuit diagram
Construction details

In the introduction 3.1 we were talking about small sections of Velostat. Upon closer inspection it seems unnecessary to actually cut the material into sensor sized pieces, because the resistance in X and Y dimensions negligibly high. So instead we will use a 8 cm x 8 cm piece of velostat and the sensor size will be defined entirely by the copper layers.
As we have seen in 4.2 the sensor resistance can be as low as 30 Ω, so it is important for the fixed resistors to have a high enough resistance as to not overload the shift registers. A resistance, that is too high, on the other hand will decrease the sensor voltage swing. 200 Ω will be used, so that even if a column and a row were shorted, only 25 mA could flow.

Figures 6,7,8: Bottom copper layer, Velostat layer, populated circuit board
Experiment Results
  • The matrix arrangement and the pressure distribution work very well.
  • The readings on the outer edges were slightly offset by pressure from the upper layer of sticky tape. Wider margins should be used in the following attempts.
  • The shift register and multiplexer are fast enough to operate without any delay() calls in the MCU.
  • We have tried to use conductive adhesive tape to ensure good contact between the 3 sensor layers. But because its viscosity is a lot lower than that of the velostat and copper layers, it turns all the pressure into deformation, making the intended operation impossible.
  • All copper surfaces are known to oxidize quickly, which will change their resistance. The copper tape product we use appears to be lightly coated in an antioxidant. So far no problems could be observed.

    Figure 9: 8 x 8 sensor matrix and data visualization

Scaling up to 24×24 sensors

Experiment description

Additional problems might only become visible in a larger sensor matrix. Before committing the expensive materials for the final full-size version, we want to assemble one more prototype to test the interaction of multiple shift registers and multiplexers for example. A 24 x 24 sensor matrix will serve that purpose well and might also help us to get used to the proper handling of the delicate copper tape.
This version will not be based on a circuit board, but will be enclosed in adhesive vinyl foil and connected to an interface board via ribbon cables.
The interface board contains 3 shift registers in a daisy chain configuration, so that 24 outputs can be controlled by 3 MCU pins. It will also contain 3 analog multiplexers, so that every one of 24 analog inputs can be connected to one of 3 MCU analog inputs.

Construction details

We see only one way of aligning the copper traces in an economically viable way: Using the release liner of the previous strip as a spacer to guide the next strip. Originally we had aimed for a resolution of 1 DPcm, but relying on this technique in assembly we have to adjust that value to 1.2 DPcm, because only 6 mm wide copper tape is conveniently available.

Figure 10: 24 x 24 sensor matrix
Experiment result

One thought on “Pressure Sensor Matrix Mat Project”

  1. Is there any forum yet?
    The main reason, as I see it, for people flocking to the eevblog(which again in my opinion you are trembling over right now, when it comes to content, for medium and advanced electronics and design people) back in it’s beginnings, was the forum. And once onto there, one can find help on all sort of issues.
    Suggestion on this would be to have a “New Designs” section and once in a while help someone in there push one of their projects a bit(never doing it for them), this will eventually get even more people involved and voluntarily work on some ideas that might be very interesting. This way you might even get to do what projects part of hackaday) doesn’t appear to properly be able to do, get new people involved in other people’s projects and push those forward as open source.
    Maybe I am delirious, this is 2004 after all. Happy new year!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.