I don't know which technique you're going to use, but on the controlling side I suggest you design it so that you can validate the command before you act on it - it would be all too easy for random noise to trigger your motor prematurely, and I imagine that would be a very bad thing.