I love a challenge as well.... But sometimes you come to reality !
Will put hours and hours into reinventing the wheel and discover could have bought a used one that needed work from an RV dealer...
Did one for my sisters horse trailer 20 years ago..
Local RV shop had a pile of old ones, paid $25 for a 10,000 lb. one.
Rewired, modified in a half a day and wired it through the trailer wiring harness
to the vehicle ... Not sure if she still has the trailer, will ask for pic if so.
It happens to the best of us guys that love to engineer and tinker.
Prime example for me was my 2005 JD 790 that did not have 3rd function hydraulic and I needed it !
Bought a 12V 12,000 lb linear actuator on eBay welded the eyes on the ends and used a four wheeler winch solenoid / switch !
Poof, it worked !!
Next, took my tow behind Swisher mower and modified it ...
Beats driving into the woods with the PTO mower on back.
Sorry for going off track, show & tell is fun..