SmartFeeder

Introduction: SmartFeeder

Every dog owner has forgotten to feed their pet at least once in their lives. And I wanted to make something that when u forget to feed your pet before u leave, you could still do it from afar or maybe after a certain time.

In this project we are gonna make a automatic dog feeder which is controllable on a website. This website will show u information about the amount of food there is in the bowl and the times it got refilled or if the dog has eaten food.

There are also setting which will be adjustable to your (or your dog's) needs.

Step 1: Supplies

Materials:

  • Raspberry Pi
  • 16GB SD-card
  • breadboard
  • jumper cables
  • ultra sonic sensor
  • servo
  • load cell (I used 5kg)
  • load cell amplifier (HX711)
  • plastic/wood for the housing of this project
  • plastic bowl (for the load cell)

Tools:

  • Screws
  • Screwdriver
  • Drill
  • Saw
  • Sanding paper
  • Super glue/Silicon (and silicon gun)

Step 2: Configuring RPI

The first step I did was the configuration of my raspberry pi, so i cleared everything from my sd card and placed an image on it with Win32diskmanager with this we can write Raspbian on there.

Step 3: SSH to RPI for Wireless

After the image is installed, you can put a ethernet cable into your Pi and pc. go to command prompt and type ipconfig. In the block of text with "ethernet adapter" there should be an ip-adress. This ip adress is the one we are going to SSH on. I used PuTTY to do this step. Here you need to insert the IP and the port (22 for SSH), and insert your password to get on the Pi (standard password is 'raspberry'). Here we need to change our network settings so we can connect wireless. This is the command to do this "wpa_passphrase nameofnetwork" and after this you need to put in the password. A block of text with network {...} will show up, copy this and type "sudo nano /etc/wpa_supplicant/wpa_supplicant.conf". In this you have to paste the text from before on the bottom of the file.

After this you can reboot your Pi.

Step 4: Connect With VS Code

For the coding we need Visual studio code. Once you have this running u need to isntall a plugin for SSH. When this is installed u can click in the bottom left corner or open terminal and type SSH pi@ipadress. After this you will need to put your password and we can start coding.

Step 5: Coding

Now we need to set up the website, you can open a folder in vscode, go to var/www/html and here we begin.

Here will come our HTML, CSS, Images and Javascript.

Now we can open another folder in the same workspace. I put called mine project and placed this in the home folder of my pi. Here will come everything backend related (so most of the python files).

Step 6: Collecting Materials for Housing

For the housing I used wood and a plastic plate which I cut in pieces with a saw.

The L pieces are 50x50 BUT I cut out a piece from 20x40. This needs to be done twice for both sides.

The thin planks are for the bottom and back plate. These are 20x50 both (note: you will need to cut one shorter after for assembly.)

Then we will need a piece that is 20x40 (you can use the rest that came off when cutting the L shapes) for the front.

Here i marked a half-circle for the food to come out.

Next we need 2 little planks that are 20x10 and 18x10 (18 width because the planks are 1cm thick, so it will slide in easy). this is for the tray where the bowl will be. (you can drill a whole in the 18x10 plank for the wires of the load cell.)

Step 7: Assembly of the Outer Part

Next up we will screw all parts together so we know how it will look.

I used 9 screws for the front view, 14 screws for both sides.

Step 8: Slopes

Next I made a slope with wood, the top one is a plank of 18x40cm and the one that goes to the bowl is at the top part 40cm width but goes smaller to the hole in the front. the length is also 40cm. I added extra guard railes so that food doesn't spill in the housing.

Step 9: Attaching the Slopes

I attached the slopes with screws by adding a extra plank to the slope itself. You can also use super glue or silicon.

Step 10: Electronics

This is still under construction

Be the First to Share

    Recommendations

    • Lamps and Lighting Contest

      Lamps and Lighting Contest
    • Rocks, Gems, and Stones Speed Challenge

      Rocks, Gems, and Stones Speed Challenge
    • Space Contest

      Space Contest

    Comments