I think I have the sensor stuff sorted out pretty well now.
There are only a couple basic types of sensors control wire.
Stuff that is an absolute output which means have nothing to do with the 5V ref voltage, it just is what it is. MAP is normally this way.
then stuff that is a % of the 5v ref line meaning it floats with whatever the 5V ref line is reading. TPS is like this
So I've gone though all the primary sensors and configured them and added the correct calibrations to convert the voltage reading to kPA for MAP, degreeC for temps etc.
I also added a smoothing coefficient to everything that is basically a rolling average where 0 means use the current reading, 0.999 means use only 0.001 or 0.1% of the new reading to allow just about anything to be cleaned up enough to use.
I've figure out the xxx.graphml files too.....it's a flow chart of the control logic with all names and formulas and how they link. It also highlights broken items which is nice....it caught a typo I made.
With this pretty finalize I can start building the interface layout and instructions for using it.
Attachments: |
Unresolved error Capture.JPG [ 108.26 KiB | Viewed 10447 times ]
|
Baro logic Capture.JPG [ 62.04 KiB | Viewed 10447 times ]
|
|