This is my first post, and I'm a beginner with Arduino. I think what I want to do is possible, but the question is how.
i need help with this:
I'm making some pedals for sim racing, but I have doubts about how to wire the pedal and then program the brake pedal. I want it to work with a Loaded Cell.
I've managed to get the following configuration working:
Loaded Cell --> AD1115 --> Arduino Leonardo
But the signal is very weak, resulting in a loss of resolution, or so I think.
What I want to do is the following:
Loaded Cell --> AD620 (amp) --> ADS1115 (analog-to-digital converter) --> Arduino Leonardo
(1) Loaded Cell --> AD620: To amplify the Loaded Cell's signal up to 5V, because the signal from the Loaded Cell is very weak and difficult for an Analog-to-Digital converter to read.
(2) AD620 --> AD1115: Which would be responsible for transforming the signal it receives from the AD620 into a digital signal.
(3) AD1115 --> Arduino Leonardo: Which receives the digital signal and uses it to display the Loaded Cell's reactions on a Windows game controller.
That's the idea, but the wiring isn't "linear," and I'm not sure how to do it... Does anyone know how to do it, or where I can find information?
Simplify your life and use an HX711 loadcell amplifier, They are cheap, you can buy them almost anywhere and are more accurate than what you are now trying to do now
Yes, and it has higher resolution... in fact, it's a test I did before the ADS 1115... but it's slow to respond, there's a lot of lag. I can notice that from the moment I press the pedal until the game controller in Windows detects it, there's a delay.
There will be a delay with any amplifier/ADC. It's probably your software that is causing the delay.
The HX711 can to 80 samples/second.
How fast do you need?
I suppose that with 16 bits (65,536?), I'll have enough resolution for a brake pedal; I don't think it'll be that precise. I'd rather lose resolution and gain response speed...
I didn't know that; it was the model they recommended when I ordered the components to manufacture the pedals. It was in the pedals' Bill of Materials: a 100/120 kg load cell.
To get started you will need a 9V power supply and a voltmeter to make measurements.
You may be able to use a 9V battery but I'm not sure how long it will last.