For our project, we had to build a stair climbing robot. But due to COVID, it got canned, so here is my best attempt at emulating the circuit that I would have built.
Many thanks to Dejan Nedelkovski from HowtoMechatronics for how to accomplish the arduino side of things. Here is the link to his tutorial:
https://howtomechatronics.com/tutoria...
GitHub page to download all the stuff: https://github.com/BreadTesting/Stair...