8000 GitHub - swenae/feeder: Software for an automatic feeder for the aquarium, realized with Raspberry Pi and Python.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

swenae/feeder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automatic feeder

Explanation

This is software for an automatic fish feeder for the aquarium, realized with Raspberry Pi and Python3, controlling a servo MG90 and PiCam.

Main script

"feed.py" is the main control script on the Pi. Putting that in a separate directory ("/home/pi/scripts"), you can control the feeder using the Pi's crontab as follows:

Crontab

#sunday till friday
0 17 * * 0-5 python /home/pi/scripts/feed.py 1
#saturday
0 17 * * 6 python /home/pi/scripts/feed.py 2
#every minute
*/1 * * * * python /home/pi/scripts/feed.py 0

Web

After installation of a HTML server (Lighty) on the Pi, please place "index.php" and "action.txt" in its document root "var/www/html". If that was successful, easily type the IP address of your Pi in the browsers bar and you should see the web frontend as shown in the image gallery. If internet access is desired, your Pi must be enabled in the router and given a permanent IP address using a DynDNS service.

Parts list

  • Raspberry Pi Zero W (1/2)
  • PiCam R1.3 or higher
  • RPi and cam housing
  • PiCam connection cabel
  • Servo (MG90)
  • PCB, buttons, LED, some resistors
  • Homemade feeding tower

Figures

Images in the image directory are:

feeder.jpg - working feeder
scheme.png - connection scheme
mechanics.png - mechanics in the feeding towers
web.png - web frontend

About

Software for an automatic feeder for the aquarium, realized with Raspberry Pi and Python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0