Let's gather all of the materials we need to make the dispenser using the servo motor. Once we are finished with it, we will add MQTT functionality, so you can control it via MQTT (for example, via a smartphone app).
We will need the following:
- A plastic bottle with a big opening
- Thick paper or thin cardboard
- Hot glue or super glue
Follow the following steps to build the dispenser:
- Cut the bottle in half using the scissors. We will use the top part for our food dispenser: