I have a waterproof enclosure. I want to get two state inputs(ON-OFF, HIGH-LOW) inside this enclosure. I used a waterproof switch before. But I need to get this done witout drilling and damaging the intergrity of the enclosure. I thought of using hall sensors and magnets. That could work. If you have any more ideas please let me know.
Best Regards Stay safe everyone
Assuming the housing is plastic you might consider small reed switches instead of the hall sensor. Easier and less power.
For an out of the box thought. You can use X,Y,Z acceleration sensor and rotate the box to whatever combination you require.
I recall commercial devices like the box that are activated with an external magnet. I suggest a sheet magnet like used on refrigerator door magnetic advertisements and such.
If the cover is transparent you could use a light sensor and anything even a flashlight or phone could be used to turn it on and off. Put the sensor at the end of a short tube to limit its angle of acceptance for the light.
Just another simple button replacement. Will an RF keyfob work?
Your enclosure cannot be metal. There are different versions, one version toggles between HIGH and LOW at one push, another version only momentarily holds to HIGH while you keep the keyfob depressed. Maybe you want the toggle. Would be nice to have LEDs inside to indicate the state of your switch. That requires transparent case. Or you can use a buzzer like beep once for HIGH and twice for LOW.