- Thu Mar 24, 2016 11:27 pm
#6748
I was fiddling with my newly assembled Speeduino board and checking that all of the outputs worked correctly when I noticed that there is a pulse on all 4 injector outputs about 9 seconds after I power the board up. Looking in the code, this is a priming pulse which is instigated at the end of the setup function in speeduino.ino. So I added in some code to findout how long the setup function took and it was only 9msec.
Is this typical behaviour? I am used to Arduinos executing my sketch in about 1 second from power-up. If I reset the board, by opening the Serial Monitor say, then it only takes about 1 second before the priming pulse is sent. So the delay is just to do with power-up.
I think that 9 seconds is rather too long for when I stall the car as I pull out into traffic. Does this mean that I have to practice restarting the car (when I am panicking) without turning the ignition off? Also, I think I'd want a light to show me when the ECU was ready for me to start the car when I get in, a bit like the glow-plug light that old diesels had.
Is this typical behaviour? I am used to Arduinos executing my sketch in about 1 second from power-up. If I reset the board, by opening the Serial Monitor say, then it only takes about 1 second before the priming pulse is sent. So the delay is just to do with power-up.
I think that 9 seconds is rather too long for when I stall the car as I pull out into traffic. Does this mean that I have to practice restarting the car (when I am panicking) without turning the ignition off? Also, I think I'd want a light to show me when the ECU was ready for me to start the car when I get in, a bit like the glow-plug light that old diesels had.
When all is said and done, there's a lot more said than done.