Arduino-izing LEGO Technic - and now I need some ideas for the Lego Service Truck 8071
So, after doing some research I think the most helpful solution I can offer is a picture of various techniques and a link to a straight-forward, budget friendly tutorial. I think trying to explain anything in depth would be tedious and vulnerable to misinterpretation. It also appears that super glue, hot glue, and some pieces to sacrifice/modify will be necessary.
The link: https://www.instructables.com/id/Arduino-izing-Lego-Technic-Go-Kart/
Pic: