Repository navigation
2 ‐ Use & Configuration
This is what one of the 4 (identical) front-ends looks like. Due to its highly configurable nature, it might look a bit chaotic at first glance. For this reason, below is a clear representation that separates the possible configurations.

In order to use a front-end as a strain gauge amplifier, the shown components must be mounted. By simply moving the components in the schematic like this it should hopefully be clear how the circuit works.
- When using a quarter-bridge configuration, either R21 or R24 should not be placed, depending on whether the strain gauge should be high- or low-side. The resistor that shouldn't be mounted is the one that will be replaced by the strain gauge, which will be connected via the dedicated connector
- When using a half-bridge configuration, both R21 and R24 should not be placed and the strain gauges will be connected via the same connector
In both cases the series input resistors R63 and R64 should be 0R

If needed, an offset can be applied to the amplifier. To do so, place the following components. If not used, place a 0R resistor in place of the capacitor.

In order to use a front-end as two generic non-inverting amplifiers, the shown components must be mounted.
The three input resistors allow to choose between 3 configurations:
- voltage divider
- pull-up
- pull-down

Note that the ADC inputs on the MCU are configurable to be either single-ended or differential, therefore a differential amplifier can be obtained.
A 4-bit hardware addressing system allows to share the same firmware between all An2CANs while keeping the capability of customised behaviour for each board.
To set an address simply set each jumper to either 3V3/1 or GND/0. A dedicated white rectangle is also available to write down the address with a permanent marker.
| Schematic | PCB |
|---|---|
![]() |
![]() |
Even though the board is compatible with both CAN and USB, only one can be used at a time. This is because the peripherals share the same pins on the MCU. To use CAN simply leave the two jumpers open, to use USB data instead close them. Note that USB power can be used independently of this.
SPI can be used to add slaves to the board or to use it as a slave for another master. Since SPI shares the same pins as the address inputs, only one of the two functionalities can be used at a time (the rationale behing this is that the board would likely be used as an SPI slave and this would not require a digital address).
- if SPI is used, place low-value resistor networks just to reduce edge rates and ringing (e.g. 33R)
- if digital addressing is used, place high-value resistor networks to limit possible currents (e.g. 10k)


