Care to elaborate? These pumps are single directional. They will spin in the opposite direction but will not move any fluid. To flip the engine around 180, I would be driving the pump in the opposite direction. So I've ordered a clockwise rotating pump as well.
Sure...
pump rotation doesn't change...
from here:

to here:
same pump, same engine, much shorter chain
Using a GM crankshaft position sensor. It counts the microseconds between each rotation and averages them out every 5 rotations. All sensors log data each crankshaft rotation and are averaged out over 5 rotations before being sent to the computer.
Weather sensor is a Bosch BME280.
Accuracy tolerances are 3% on Humidity, pressure is within 1 hPa absolute, and temperature accuracy tolerance is 1* Celsius.
The load cell accuracy is 0.1% tolerance at any reasonable operating temperature.
The load valve is a high resolution needle valve that is PID controlled. Lost steps aren't an issue, as for most engines the range of operation for a dyno pull is ~400 steps. Being off by 1 step out of 72 would give me 5.5 lost steps per dyno pull, which means that engine acceleration would only have a 1.375% error rate. I'm accounting for the pump/chain inertia in the math. 1.375% chance in acceleration is trivial. Even if my inertia is only 80% correct, it reduces the torque error rate from acceleration changes to 0.275% error rate.
The exponential filter is basically a high accuracy smoothing factor. 100 factors instead of the typical 5. A smoothing factor of 50 is equal to a typical "5", which not only gives me 10x the smoothing resolution within the typical smoothing range, but an additional 50 factors if needed.
A spring scale will never match a digital load cell for dyno use. You're talking low resolution, high vibration, zero electronic input vs a digital load scale that will do torque/hp calculations for you at ever RPM and has been calibrated down to 0.01 lbs accuracy at 5, 10, 15, 20, 25 lbs.
All of the math is done on the Arduino. This isn't a mini either, its a Nano. Entire EFI engines can be ran on an arduino, I think a nano can handle 4 sensors and a stepper motor, considering I'm using a nano in one of my cars for paddle shifting, traction control, CANBUS transfer data to/from the ECU, idle stepper control, boost solenoid control via PID, and about a dozen other features.
RFI noise from the magnet isn't an issue, I've programmed around it. It only effected the crank sensor anyway as that was the only 'floating' pin on the arduino while the square wave was at the bottom of its pulse. I simply read RPM on the falling side of the square wave and then do a double check for any voltage on the floating pin before counting it as a revolution. This filters out 'false' square wave signals. RFI isn't an issue. RPM accuracy has been verified.
I've been around dynos most of my career. My little $500 project here has nearly as many features as most $5000+ small engine dynos, and with superior PID control to boot.
Maybe next time, try not to sound so condescending.
yeah sorry.. nano..
main point is.. it's no multithreading in any of those tiny atmegas
thus, code is strictly line based..
and that means poorly written code (I'm not saying it IS poorly written, I'm saying you need to be aware of that issue)
can cause a misreading or say a misalignment of sensor data.
Consider this:
loop(
*read crankposition
*calculate rpm from last known value new position and passed time
*update rpm value if different
*read load cell value
*check lookup table for loadcell milivolts
*if different from previous value update value
*forward to serial out
)
And you have three major issues in the code already...
since a skipped if statement or a peek in a lookup table cause a time variation in runtime per loop.
sensor critical data should be gathered first:
loop(
*read crankshaft position
*read load cell value
*read ambient sensor
** do what has to be done with the aligned values
*forward to serial out
)
is much less affected by runtime (as long as the sensors are not lagging of course)
and thus result in more accurate readings and much less need for smoothing (interpolating) values
especially if the math is done on the arduino itself, since that again increases runtime and opens the chance for misaligned values..
torque is acceleration per time..
acceleration is change per time so it's an exponential error you can avoid by just keeping the time between reading each sensor (which must be done individually on an arduino) as small as possible.
Also, the arduino isn't shielded, and it runs an internal clock (16mhz usually) at resonating rpms it can surely skip a beat that close to the flywheel.
just moving it into a small box can increase your accuracy.
you can test that easily by having another nano setup as simple clock
sside by side with the dyno one.. see a false time on the arduino
And you need to take measurements to shield it (or move it away from the magneto at least)
It's not the magnet .. it's the ignition discharge that could cause issues btw.
You're interpolating values, thus lose massive resolution!
a spring scale does the same thing actually, it smoothes the values,
physically, not digitally.. but the result is just as precise maybe even moreso
(given the scale -rather the spring- is of good enough quality of course)
Talking about load cells... they jitter (never seen one home gamer cell that doesn't)
especially under vibration

Anyhow,
if it's bare and you have an internal lookup table all should be fine, you can smooth the jitter and move the table lookup to a later stage,
if you have an amplifier in between or the cell comes with an internal lookup table (and you receive indeed serial in with weight-values)
I hope you spent a lot of money, otherwise the reading will be off more often than not.
thumbsup for the internal control loop on the stepper ..
still.. I lost steps - pre driver- on all my steppers already, sometimes just one, sometimes a dozen (poorly written code at times.. it's an iterative process *lool*)
that wouldn't be detected by a pid directly, but it'd adjust on the nextsignal, so no big deal I guess
Such things are also smoothed out btw you can't see the hiccups
of such issues with interpolated graphs...
A crude non interpolated and thus ugly output can reveil a lot of such things.
Some you can remove physically (different mounting, better wiring, good shielding, nicer code)
And if you are able to reduce the amount of interpolation,
you gain a massive amount of precision and resolution.
for next to no additional costs and with very little effort.
'sid