So, do you know enough about the electronics to attach this thermocouple to an analog input? Or is it some kind of module?
The engine has an 'rpm sensor'. How does that work? I mean - in the sense of there are wires coming out of it, right, so what is coming along those wires? A voltage? A regular pulse? Is this rpm sensor some kind of I2C module?
And what would you like the sketch to actually do? In terms of "when this happens, the sketch should do this"?