This is a bracket to hold float switches on a rimless aquarium. It could work in other situations where the container doesn't have a large lip. The mount is adjustable allowing you to set the desired switch position. I recommend using nylon hardware for the nut and screw to avoid rust.
I've included OpenSCAD files that allow you to adjust the following characteristics:
- length - the longer the bracket the more available range (default 60)
- width - sets the width of the bracket (default 25)
- switchRadius - how large the hole is for the switch (default 5)
- switchArmLength - how far out the switch can be heald (default 30)
- width - width of the mount (default 25)
- baseLength - how far the back of the mount extends down the back of the tank (default 50)
- glassThickness - thickness of the glass (default 6)
- clipLength - how far the inside of the clip extends down into the tank (I try to keep this out of the water) (default 20)
- screwDiameter - size of the screw hole (default 3)
Here's a link to the openSCAD code on github if you want to suggest a revision https://github.com/mjrsnyder/FloatSwitchBracket
I'd recommend ABS because PLA supposedly degrades over time. I've been using PLA in a freshwater tank for 6 months and have had no issues so far. I do avoid getting the bracket wet though.
Here it is assembled. I later changed out the metal hardware with nylon to avoid rust.
Here it is installed. I later changed out the metal hardware with nylon to avoid rust.