3D Printed IoT Pet Feeder

Created Date: 2016-10-28/ updated date: 2018-03-13
Owner & Collaborators
License
By nc sa
Summary
FAB3D Contest Category 2
If you own a cat, has he or she ever woke you up early in the morning to beg you for food? Or maybe you couldn't get home quite on time, so you had to make your pet wait till you get home to feed them? Well, that's what often happened to us until we came up with an idea to build an automated pet feeder that can be controlled over your internet! Be sure to watch and subscribe to our Youtube Channel!
https://www.youtube.com/watch?v=oMOWTn87PkM

Materials

    Tools

      Blueprints

        Making

        • Planning and Designing

          0
          Thumb ntrobotics logo
          I needed to design something that can be 3D printed and off course feed my cat. The device also needed to be able to be controlled over the internet, so my mother can feed our hungry cat wherever she is, so I came up with an idea to use WIFI Arduino with servo motor mechanism to make this project.
          • Use Fusion 360

            0
            Thumb ntrobotics logo
            I chose to use Fusion 360 for this project because I know how to use it better than any other CAD softwares, but you can use any other CAD softwares like Auto CAD, 123D Sketch or OpenSCAD.

            However, if you don't feel comfortable using a CAD software, you can download from this link.
          • Make the Base Platform #1

            0
            Thumb ntrobotics logo
            Draw the outer, inner circle and the servo/tray holder of the base based on your needs and the servo motor's dimensions. You can choose any diameter you like.
            Small screen shot 2016 10 28 at 9.41.38 pm
          • Make the Base Platform #2

            0
            Thumb ntrobotics logo
            Extrude the circle part and the servo/tray holder separately so it becomes a 3D object.
            Small screen shot 2016 10 28 at 9.42.48 pm
          • Make the Tray #1

            0
            Thumb ntrobotics logo
            The tray will hold the food inside the device.

            To make this we need to draw 2 sketches for bottom and the top like the one on the right. Draw this so that it matches up the dimensions of the base platform.

            TIP: Draw sketch using a construction plane from the base platform.
            Small screen shot 2016 10 28 at 9.59.34 pm
          • Make the Tray #2

            0
            Thumb ntrobotics logo
            Now extrude the top sketch to reach the bottom sketch. Use fillets to make the edges smooth.
            Small screen shot 2016 10 28 at 10.03.39 pm
          • Make the Cover #1

            0
            Thumb ntrobotics logo
            Draw a sketch of the cover based on your previous dimensions. Also, we need to draw two lines to cover one quarter of the sketch to make it cover up 3 of the trays. Then add 2 circles for the servo motor horn.
            Small screen shot 2016 10 28 at 10.14.02 pm
          • Make the Cover #2

            0
            Thumb ntrobotics logo
            Extrude the outer circle and the inner circle separately to form the cover. Make sure to not include the one quarter area.
            Small screen shot 2016 10 28 at 10.41.34 pm
          • Make the Cover #3

            0
            Thumb ntrobotics logo
            Apply fillet to the circular line that joins the cover surface (largest surface on the top) and the horn holder's surface (the smaller surface at the very top). Enough fillet should be applied in order to make the top surface smooth.
            Small screen shot 2016 10 28 at 10.46.34 pm
        • Tools and Materials

          0
          Thumb ntrobotics logo

          • 3D Printing Parts

            0
            Thumb ntrobotics logo
            As you saw, I designed these parts using Fusion 360. You can download them from Thingiverse.

            You can use your own 3D printer, or if you don't own one, you can order them using 3D printing services such as 3D Hubs which is what I did.
            Small 1
          • Tools

            0
            Thumb ntrobotics logo
            Here are the list of tools you'll need:
            • Philip screw driver
            • Pliers
            • Cutters
            • Flush cutters
            • Hot glue gun
            • Computer
            • a file
            • soldering iron
            • a wire stripper
            Small 3
        • Assembly

          0
          Thumb ntrobotics logo
          • Making the wire feed

            0
            Thumb ntrobotics logo
            Using flush cutters, cut away the plastic to make enough room for a micro USB to feed through. Use a file to smooth out the edges.
            • Small 4
            • Small 5
          • Cover

            0
            Thumb ntrobotics logo
            Using a hot glue gun, carefully attach the horn to the cover making sure that the centre aligns correctly.
            • Small 7
            • Small 8
        • Electronics

          0
          Thumb ntrobotics logo

          • Cutting the wires

            0
            Thumb ntrobotics logo
            Test mount the motor and the board to measure the required length of the servo cable and cut it.
            Small 9
          • Soldering

            0
            Thumb ntrobotics logo
            Solder the three wires to the board. Make sure to tin the wires first.

            RED = USB
            BROWN = GND
            ORANGE = 5
            • Small circuit diagram
            • Small 10
        • More Assembly

          0
          Thumb ntrobotics logo

          • Mounting the electronics

            0
            Thumb ntrobotics logo
            Mount the servo motor and the circuit board to the base platform.

            TIP: Use a sponge tape for mounting the circuit board.
            Small 11
          • Cover

            0
            Thumb ntrobotics logo
            Attach the cover to the servo motor.
            Small 12
        • Programming

          0
          Thumb ntrobotics logo
          • Install the ESP8266 Board Package

            0
            Thumb ntrobotics logo
            Enter http://arduino.esp8266.com/stable/package_esp8266com_index.json into Additional Board Manager URLs field in the Arduino v1.6.4+ preferences.

            Arduino > Preferences
            Small adafruit products screen shot 2015 07 23 at 12.15.52 pm
          • Install the ESP8266 Package

            0
            Thumb ntrobotics logo
            Go to Tools > Board > Board manager and add ESP8266 package. Then, restart your computer.
            Small screen shot 2016 10 29 at 11.51.43 am
          • Select the Board

            0
            Thumb ntrobotics logo
            Go to Tools > Board and select Adafruit HUZZAH ESP8266.
            Small screen shot 2016 10 29 at 11.58.57 am
          • CPU Speed

            0
            Thumb ntrobotics logo
            Select 80 MHz as the CPU frequency by going to Tools > CPU Frequency.
            Small screen shot 2016 10 29 at 12.02.50 pm
          • Upload Speed

            0
            Thumb ntrobotics logo
            For Upload Speed, select 115200 baud
            Small screen shot 2016 10 29 at 12.04.29 pm
          • Annotation without title

            0
            Thumb ntrobotics logo
            Select the matching COM port for your FTDI or USB-Serial cable
            Small adafruit products com
          • Configuring the App #1

            0
            Thumb ntrobotics logo
            As you might have figured, we are going to use Blynk to connect the Arduino. This way, we won't need to make an app from scratch.

            Download Blynk to your phone from http://www.blynk.cc/.
            Small 11541426
          • Configuring the App #2

            0
            Thumb ntrobotics logo
            Create a new project inside the Blynk app.
            Small 1
          • Configuring the App #3

            0
            Thumb ntrobotics logo
            Send the AUTH TOKEN to your email and paste it to the code under:
            char auth[] = "AUTH TOKEN";

            Then upload it to the board.
            Small 14
          • Configuring the App #4

            0
            Thumb ntrobotics logo
            Tap the create widget icon.
            Small 6
          • Configuring the App #5

            0
            Thumb ntrobotics logo
            Tap Button L
            Small 4
          • Configuring the App #6

            0
            Thumb ntrobotics logo
            Configure the button settings.

            OUTPUT = V1 (Virtual pin)
            Mode = PUSH

            Name the label and give the button a name.
            Small 5
          • Test

            0
            Thumb ntrobotics logo
            In the Blynk app, tap the run button and make sure that the code is uploaded to the board. Remember to fill in:

            char auth[] = "AUTH TOKEN";
            char ssid[] = "SSID";
            char pass[] = "PASSWORD";
          • Taking it to the next level (optional)

            0
            Thumb ntrobotics logo
            If you want to take this to the next level, you could get your pet feeder to send you an email whenever the cat is fed. Just add an email widget.
            Small screen shot 2016 10 29 at 6.09.10 pm
        Add Card Order

        References

          Usages

            Convert State

             to Annotation.

            Select the numebr of the state to annotate.

            OK
            cancel
            Loading

            facebook

            , data-width="400", data-show-faces="true" data-send="true"
            , data-width="400", data-order-by="reverse_time"