> For the complete documentation index, see [llms.txt](https://dahl-design.gitbook.io/ddc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dahl-design.gitbook.io/ddc/1.-project-planning/load-cell.md).

# Load cell

<figure><img src="/files/xdKmpWZARAzoSNvJmoRx" alt=""><figcaption></figcaption></figure>

A strain gauge load cell is an instrument that allows you to measure force. For game controllers it is mostly used in high quality brake pedals. This piece of metal has built in strain gauges, which essentially are resistors that change resistance based on how much they are streched and compressed. They are aligned with the surface of the metal rod, and as the rod is flexed, the resistance in the circuit will change. The load cell will output a voltage linear with the force applied to flex the rod.&#x20;

<figure><img src="/files/vzP2RqdorOuAF0YwLD8D" alt=""><figcaption><p>On the left is a strain gauge, on the right is a load cell with four strain gauges</p></figcaption></figure>

There are two hurdles with load cells however:

* The output voltage is extremely low, peaking at around 0.02 V.&#x20;
* The output voltage can be both positive and negative. Most ADCs (analog to digital converters) found in microcontroller chips don't support measuring negative voltages.&#x20;

The solution is a load cell amplifier with a built-in high precision ADC. DDC supports the HX711, which is a popular choice among DIYers. This handy little chip will amplify the signal voltage 128 times and measure the voltage with 24 bit resolution (4000 times the resolution of RP2040s built-in ADCs). It has a sample rate of 80 Hz, meaning you'll have an updated value almost every 0.01 seconds, fast enough for most projects.&#x20;

DDC only supports a single HX7111, meaning a single load cell. This is not an absolute limit, but rather a more practical approach, as it makes the programming part much tidier for the user, and very rarely will anyone need several load cell amplifiers in their project.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://dahl-design.gitbook.io/ddc/1.-project-planning/load-cell.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
