and will have a rotary switch to control the throttle pedal input
You can do that.
Or you can read the value coming out of the receiver in the car.
what i did not understand is number 7 I how to get fuel info from throttle and rpm ?
This is the core of my proposal.
The engine uses fuel when it is running.
At any particular RPM, the engine is using more fuel at higher throttle settings.
At any particular throttle setting, the engine is using more fuel at higher RPM.
I doubt that either of these relationships are linear, but let's assume they are for a starting point.
At the start of your program, set a fuelConsumed variable to zero.
Set up a method to count revolutions of the motor. I guess external hardware or an interrupt.
In a loop, read the throttle position. If you are reading the throttle channel from your receiver, I would guess that the throttle reading would return the number of microseconds of the throttle servo pulse, maybe a value ranging from 500 to 1500. Map that to a range that starts at zero.
Now, multiple the throttle reading by the number of revolutions since the last pass through.
Add the result to the fuelConsumed variable.
Reset the number of revolutions to zero.
Transmit the fuelConsumed number to the pit.
Repeat the loop.
The number transmitted can be translated to an estimate of the fuel consumed.
It will be some goofy number. But a number that grows at a similar rate to the rate of fuel consumption.
You just need to multiply it by some factor to get a usable fuel consumed number.
What value for the factor? You need to determine that. And adjust it through trial and error.
what do you think about this method of making Liquid capacitive sensor?
Try it out. Calibrate it to read Full when the bottle is full. Empty when the bottle is empty. And a percentage in between.
Then fill the bottle with 1/10 of the full capacity. Now shake the bottle and see what reading you get.
Is that usable?
I am not saying that it is not doable. But I think it is hard to do it well.