can anyone recommend a neat way to add a proximity sensor to an internet button? I’d like to be able to control the lights/send events by waving a hand over the button at a range of 10 to 20cm. I need a way to do this so that the button can be housed in a robust case as this project will be for a sports application and will inevitably get a knock or two. Any examples of ways to house the button would be much appreciated as I can’t see any mounting holes. I’d also like to be able to use the functionality of the buttons and allow space for a rechargeable battery within the case.
Any help appreciated,