I built a dog ball launcher and treat dispenser similar to this using Arduino. Feel free to ping me if you want the source code and electronic diagrams <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=P8jMdRXeMfA" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=P8jMdRXeMfA</a>