gaplauncher
Member
Hello together,
i´m new to the forum and i hope to find a solution for a rather special problem.
Background:
I´m currently designing Pedals for use in Racing Simulations on PC.
The Brake Pedal uses a loadcell, amplified via a HX711.
I first started to wire up everything directly between the HX711 and the Teensy via jumper cables.
Everything worked fine.
I then used a breadboard for each component (Teensy and HX711) to have it more clear and to play around with it.
That was the first time i encountered a problem in the axis signal for my brake pedal.
In the diagram you can see in blue how the signal should be and in red how it looks unfortunately.
After that i tried again the "direct connected" way via jumper cables without the use of breadboards. Everything was fine again.
So based on that i thought, it would be best to design a breakout board where i can directly solder the teensy and the hx711 on.
This to make it a beautiful, directly connected solution.
Now with the breakout board i have the same problem as before (shown in the diagram).
The sketch on the teensy is as followed (even if it should be correct since it is working):
#include "HX711.h"
#define DOUT1 0
#define CLK1 1
HX711 scale1(DOUT1, CLK1);
float calibration_factor1 = 150; //Kalibriefaktor für Scale1 Bremskreislauf vorne
void setup() {
scale1.set_scale();
scale1.tare();
}
void loop() {
Joystick.Zrotate(scale1.get_units()); // Bremskreislauf vorne
delay(50);
}
The breakout board connections between teensy and hx711 is all fine.
The cable from the loadcell is connected to the breakout board with RJ45 Socket/Plug. This connection to the HX711 is also correct.
For GND i use a mass plane where the ground pins of the teensy and HX711 is connected to eachother.
Can anyone guess what the problem could be? Or maybe had a similar one?
Is there a component of some sort missing in between?
Can i somehow solve it in the sketch?
I´m really drivinbg crazy right now, and hope somebody could help.
Thanks a lot in advance!!
Cheers Dan
i´m new to the forum and i hope to find a solution for a rather special problem.
Background:
I´m currently designing Pedals for use in Racing Simulations on PC.
The Brake Pedal uses a loadcell, amplified via a HX711.
I first started to wire up everything directly between the HX711 and the Teensy via jumper cables.
Everything worked fine.
I then used a breadboard for each component (Teensy and HX711) to have it more clear and to play around with it.
That was the first time i encountered a problem in the axis signal for my brake pedal.
In the diagram you can see in blue how the signal should be and in red how it looks unfortunately.
After that i tried again the "direct connected" way via jumper cables without the use of breadboards. Everything was fine again.
So based on that i thought, it would be best to design a breakout board where i can directly solder the teensy and the hx711 on.
This to make it a beautiful, directly connected solution.
Now with the breakout board i have the same problem as before (shown in the diagram).
The sketch on the teensy is as followed (even if it should be correct since it is working):
#include "HX711.h"
#define DOUT1 0
#define CLK1 1
HX711 scale1(DOUT1, CLK1);
float calibration_factor1 = 150; //Kalibriefaktor für Scale1 Bremskreislauf vorne
void setup() {
scale1.set_scale();
scale1.tare();
}
void loop() {
Joystick.Zrotate(scale1.get_units()); // Bremskreislauf vorne
delay(50);
}
The breakout board connections between teensy and hx711 is all fine.
The cable from the loadcell is connected to the breakout board with RJ45 Socket/Plug. This connection to the HX711 is also correct.
For GND i use a mass plane where the ground pins of the teensy and HX711 is connected to eachother.
Can anyone guess what the problem could be? Or maybe had a similar one?
Is there a component of some sort missing in between?
Can i somehow solve it in the sketch?
I´m really drivinbg crazy right now, and hope somebody could help.
Thanks a lot in advance!!
Cheers Dan