- Wed Sep 25, 2019 11:43 am
#38019
You are really looking to drive an output (injector) via PWM against a variable input (TPS).
A similar application example can be found here.
https://circuitdigest.com/microcontroll ... entiometer
With some small modifications and testing you can find out what ADC reading is equal to 15% if your TPS and you can set the output off below that.
You can then scale the remaining values until full TPS to the output.
You could even implement a duty cycle limit at 90% for an example (so you injector is not just on.
James
Buzzliteyear wrote: ↑Wed Sep 25, 2019 10:49 am if you have a better way to use a 2560 and have the tps firer a injector from 15% tps upwards without any triggers? please let me know.You really don't need to be running speeduino at all, you are making life much harder for yourself.
Brett
You are really looking to drive an output (injector) via PWM against a variable input (TPS).
A similar application example can be found here.
https://circuitdigest.com/microcontroll ... entiometer
With some small modifications and testing you can find out what ADC reading is equal to 15% if your TPS and you can set the output off below that.
You can then scale the remaining values until full TPS to the output.
You could even implement a duty cycle limit at 90% for an example (so you injector is not just on.
James