Need helping finding a limit switch for motorized raise/lower led light bar
A simple and reliable means to your objective might be magnetic reed switches. A magnet placed on any portion of the moving structure can be used to open and close as the lights rotate.
The circuit for one direction of travel would have the reed switch set to open as the magnet reaches the end of that direction, while the polarity switching circuit receives the other reed switch.
If you can post your circuit diagram, I can be more precise regarding placement of the reed switches, but it's relatively straightforward. When your movement switch is in the &quot;up&quot; position while the lights are down, the reed switch is closed, allowing current to flow. As the light reaches the desired location, the reed switch opens.
When the movement switch is in the &quot;down&quot; position while the lights are up, the same thing applies, as the second reed switch will have closed once the magnet moves away.
I searched for &quot;high current reed switches&quot; and found too many returns to post, especially as the prices range from a few dollars to a few hundred dollars.
Ensure to use a normally-closed switch, as explained on this useful web page.