Hi,
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.
Paul
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.
This is a bit of stupid suggestion but maybe for the high/low input you could use a tilt switch so when the enclosure is the right way up it's high and upside down is low. Otherwise, a couple of reed switches (as already suggested) and a couple of magnets might work fine for both.
I did a project like this a few years ago in a plastic box with a clear cover. I designed a circuit board that included a touch sensor 4x4 keypad array. There are several capacitive touch sensor IC's and some processors with it built in. It can sense the touch through non-conductive materials.
I went a step further and designed the numerical keypad layout graphics and laser etched that to the inside of the enclosure aligned to the PCB touch pads.
For the on switch, I used a reed switch that turns on the power while the magnet is there just long enough for the processor to wake up and then the processor holds the power on until a certain time limit was reached and then it shut itself off.
Hope this helps.
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.