Hey.
I'm trying to read the value of the tachometer signal on my 4cylinder car from the ECU. I fed the line into pin 1 of a Picaxe 8M and am using the pulsin command to read the time inbetween each pulse to then ulimately use to derrive the rpm.
I'm having a problem however. I read the value from pulsin and then debug it, and at idle rpm, the variable reads around 2800 and is fine. If I raise the rpm slowly to around 1200rpm, the vairable reads around 2200, but if I go any higher in the rpm range, the variable starts reading zero instantly, instead of dropping onto the 1000s as expected.
Any one have any ideas?
Thanks
I'm trying to read the value of the tachometer signal on my 4cylinder car from the ECU. I fed the line into pin 1 of a Picaxe 8M and am using the pulsin command to read the time inbetween each pulse to then ulimately use to derrive the rpm.
I'm having a problem however. I read the value from pulsin and then debug it, and at idle rpm, the variable reads around 2800 and is fine. If I raise the rpm slowly to around 1200rpm, the vairable reads around 2200, but if I go any higher in the rpm range, the variable starts reading zero instantly, instead of dropping onto the 1000s as expected.
Code:
main:
pulsin 1,1,w1
debug w1
pause 500
goto main
Thanks
Last edited: