Skip to the content
2 layers34.3 × 99.7 mmTruss connector breakout, the printed circuit board in 3D

Truss connector breakout

practable/truss

The truss remote laboratory has been designed for use with Structural Engineering and Engineering Design courses at the University of Edinburgh.

Size
34.3 × 99.7 mm
Copper layers
2
Thickness
1.6 mm
Parts
14
Nets
38
Pads
110
Tracks, vias
111, 2
Pours
1
Routed
Yes
KiCad
KiCad 6 (file 20211014)
Created
30 Aug 2022
Updated
14 Sep 2026

Overview

Truss connector breakout is an open-source printed circuit board by practable, from the practable/truss repository on GitHub, published under the AGPL-3.0 licence. It is a 2-layer board of 34.3 × 99.7 mm with 14 parts on 38 nets, routed with 111 tracks and 2 vias.

It belongs with the interfaces and adapters boards of this library.

README

README.md

truss

Introduction

The truss remote laboratory has been designed for use with Structural Engineering and Engineering Design courses at the University of Edinburgh. The truss consists of 6 members, each with a full-bridge strain gauge arrangement using two biaxial strain gauges (Kyowa KFGS-2-120-D16-11). Strain gauge voltages are converted to digital signals using the HX711 ADC and this HX711 library is used to read and tare the gauges. The truss is loaded using a linear servo.

truss

Contents

UI

User Interfaces have been designed with Vue3.js and built with Vite. There are currently three distinct versions of the UI that are built for production:

  • default: all data and components available on the user interface.
  • no-force: force data is hidden for student calculation from strain data.
  • open-day: simplified control interface for demonstrations.

See here for details of the differences.

Changing control interface on UI

The differences in the above UI versions amount to very simple changes in the Vue files.

The load force can be controlled with either a slider or simple buttons (as well experimental versions of a skeuomorphic display and gamepad control). Simply update the loadControlVersion parameter in App.vue.

text
loadControlVersion: 1,    //0 => input field, 1=> slider, 2=>simulation of physical knob, 3 => direct commands typed, 4 => GamePad, 5 => open day, simple buttons

To change whether the load force is displayed or the theoretical strains are available, update the boolean parameters in src/modules/uiStore.js:

text
show_force: false,       //should force values be displayed on the UI
show_theory: false,      //should the theoretical values component be available on the UI

Firmware

The truss remote lab has been designed around the Arduino Nano 33 IoT. The firmware uses a state machine with 11 states, including reading, writing, taring and resetting strain gauges and moving the linear actuator. A single microcontroller performs both reading and writing of data. The state machine will remain in the READ state until a user command to change state. Upon performing that state the state machine will return to READ. The required libraries are included here.

The firmware sends and receives JSON messages, eg:

Mode control, received from UI through Serial (for all commands see SerialCommands:

text
{"set": "position", "to": value} 
{"set": "mode", "to": "move"} 
{"set": "mode", "to":"tare_all"} 

Sending data to UI through Serial:

text
{"load_cell":"20.0", "gauge_1": "100.0", "gauge_2": "100.0", "gauge_3": "100.0", "gauge_4": "100.0", "gauge_5": "100.0", "gauge_6": "100.0", "state":"1", "pos":"10"}

PCB

truss-pcb

The PCB requires a 12V input and provides output voltages for different components: 10V (load cell excitation voltage), 6V (linear actuator power) and 5V (strain gauge excitation voltage). Details of jumper requirements for setting up the PCB in different modes will be added (TODO).

Hardware

linear-actuator

The Actuonix L16 linear actuator uses the custom library LinearServo for setting its position. It has a 50mm stroke length, but is limited in this remote lab to a maximum of 20% extension (providing around 150N of load on the truss).

Re-calibration procedure

If a strain gauge value no longer reads an acceptable result (within your experimental tolerance) then the scale factor needs to be updated in the firmware.

  • Note the value in micro-strain that the gauge is currently reading (current_value)
  • Note the current scale factor for that gauge (current_factor)
  • Calculate the value that you want it to read based on the load force (new_value)
  • new_factor = current_value*current_factor / new_value

Using the debug UI (or any other means of sending a JSON command through Websocket to the experiment): send the new calibration data:

text
{"set":"cal","to":[2.0,2.1,2.2,2.3,2.4,2.5,2.6],"auth":"foo"}

Using the auth code that you set up initially.

Then reset to the STARTUP state so that the firmware loads the new calibration data:

text
{"set":"state","to":"STATE_STARTUP"}

Parts

14
QtyValueFootprintReferences
4MountingHole_M3MountingHole:MountingHole_3.2mm_M3_Pad_ViaH3, H3, H4, H4
1D0TerminalBlock_Phoenix:TerminalBlock_Phoenix_MPT-0,5-4-2.54_1x04_P2.54mm_HorizontalJ7
1D1TerminalBlock_Phoenix:TerminalBlock_Phoenix_MPT-0,5-4-2.54_1x04_P2.54mm_HorizontalJ8
1D2TerminalBlock_Phoenix:TerminalBlock_Phoenix_MPT-0,5-4-2.54_1x04_P2.54mm_HorizontalJ9
1D3TerminalBlock_Phoenix:TerminalBlock_Phoenix_MPT-0,5-4-2.54_1x04_P2.54mm_HorizontalJ1
1D4TerminalBlock_Phoenix:TerminalBlock_Phoenix_MPT-0,5-4-2.54_1x04_P2.54mm_HorizontalJ2
1D5TerminalBlock_Phoenix:TerminalBlock_Phoenix_MPT-0,5-4-2.54_1x04_P2.54mm_HorizontalJ4
1D6TerminalBlock_Phoenix:TerminalBlock_Phoenix_MPT-0,5-4-2.54_1x04_P2.54mm_HorizontalJ5
1LimitSwitchTerminalBlock_Phoenix:TerminalBlock_Phoenix_MPT-0,5-2-2.54_1x02_P2.54mm_HorizontalJ6
1ServoConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ3
1Truss ConnectorConnector_Dsub:DSUB-37_Male_Horizontal_P2.77x2.84mm_EdgePinOffset9.90mm_Housed_MountingHolesOffset11.32mmJ10

More from practable/truss

1
  • 2 layers114.3 × 102.9 mmTruss PCB, the printed circuit board in 3D

    Truss PCB

    practable/truss

    The truss remote laboratory has been designed for use with Structural Engineering and Engineering Design courses at the University of Edinburgh.

    208 partsAGPL-3.0

Similar boards

  • 2 layers116.8 × 30 mmType d, the printed circuit board in 3D

    Type d

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    14 parts3kApache-2.0
  • 2 layers32 × 22 mmDiff driver, the printed circuit board in 3D

    Diff driver

    rene-dev/stmbl

    AC Servo Driver for STM32F4

    14 parts990GPL-3.0
  • 2 layers34 × 45 mm2032Charger, the printed circuit board in 3D

    2032Charger

    hackclub/OnBoard

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

    14 parts915
  • 2 layers34 × 109.9 mmTdisplay s3, the printed circuit board in 3D

    Tdisplay s3

    landonr/homeThing

    Wifi Smart Home Remotes that run on ESPHome

    14 parts551GPL-3.0
  • 2 layers45.3 × 42.7 mmMainPcb, the printed circuit board in 3D

    MainPcb

    adamb314/ServoProject

    Getting the most out of your hobby servo

    14 parts545
  • 2 layers42.5 × 28.8 mmC5VRX JACK DIY, the printed circuit board in 3D

    C5VRX JACK DIY

    Twotoz/C5VRX

    Ultra-minimal, zero-CPU 5.8 GHz analog FPV video receiver using ESP32-C5 Wi-Fi 6 PHY MODEM_DIAG, BitScrambler WBFM demodulation & resistor DAC CVBS

    14 parts515GPL-3.0
  • 2 layers62 × 24 mmMai button, the printed circuit board in 3D

    Mai button

    whowechina/mai_pico

    Pico controller for Maimai

    14 parts475

Questions

How big is the Truss connector breakout PCB?

It measures 34.3 × 99.7 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Truss connector breakout use?

14 parts. 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 Truss connector breakout KiCad files?

From the practable/truss repository on GitHub, at the commit this page was made from: the board is mini-truss-pcb/truss_connector_breakout/truss_connector_breakout.kicad_pcb and its schematic mini-truss-pcb/truss_PCB-backups/TRUSS PCB VERSION 1/actuator_sch.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Truss connector breakout design in my own project?

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