I have an IoT project which will require monitoring whether machine spindles are active within each minute.
- Each spindle is “watched” by an NPN NO inductive proximity switch rated at 2kHz switching frequency.
- Each prox is triggered by a .125" metal button on the spindle
- The button center is spinning on a 3/4" radius
- Spindle speed can be up to 3000 rpm
- In most cases, all 18 available digital inputs on a Photon would be monitoring spindles, one spindle per input.
All the code would have to do is determine whether the state of any of the inputs changed in 60 seconds, publish which inputs had a state change, and do it again over and over.
A minute is a long time and my assumption is that the responsiveness of the Photon inputs could handle it, but what do you guys think? Would a Photon be an appropriate microcontroller for this scenario?