Going for a three weeks holiday. Who is going to feed my fish? I can ask friends or neighbors to drop in every 2, 3 days (safest way) or do the 7 days feed block * 3 times or buy a ready made auto feeder, checked a few selling on Amazon which doesn’t have everything I need.
So I decided to build one which can do the following:
- Automatically feed at a pre scheduled time
- ‘Feed Now’ button from my mobile (as demo in video below)
- take a few pictures after the each feed to prove it does work.
- live cam streaming – this is something nice to have.
Hardware: MeArm and Raspberry Pi 3B
Software: Python code on Pi to control the arm positions and take pictures. An web app deployed on Azure to act as the brain to control when to feed, when to take pictures etc. Pi is constantly sending http request to the web app to check if need to trigger a feed action or take picture action.
Live cam streaming* over internet. (*fake streaming – sending pictures every half seconds when required)
Step by Step
1. Follow the instructions here to build a MeArm, wire it to your Pi and build the servo control driver kernel (Thanks to richardghirst ‘s brilliant code). You can skip the last python code section in the instruction as we are going to write our own client control code.
2. Download the web app code from here (.net core + angular2), deploy it to a web host for example Azure free web app service. Web app screen shots as below on an iphone.
Read More: Fish Feeder