Hi guys,
I'm building a motor of sorts, it's an old compressor powered by air (exactly a compressor backwards). I'm using solenoids instead of reed valves and i need to drive those with an arduino, in order to do that i need a crank position sensor of sorts. I'm planning on using a hall effect sensor with a 36-1 (or similar) trigger wheel...
My question is around the speed at which the arduino operates and whether or not 36 interrupts per revolution is too much... at a nominal speed of say 100rpm, that's 60 sec per 100 revs, and there's 36 trigger signals per rev... so about 0.016s between pulses. Is that enough time to decide whether the valves should be open and to open/close them? I'll also be running a PID controller (or similar) to determine the timing of the next valve event (open/close)...
Any thoughts?