
- Automatic dog feeder for big dogs install#
- Automatic dog feeder for big dogs serial#
- Automatic dog feeder for big dogs code#
- Automatic dog feeder for big dogs trial#
HC-SR04: Ultrasonic sensor distance module Sketch to control the motor that open/ closes the cap that lets the food drop on the dispenser. I rewrote the original code, keeping most functionality intact, and added extra debugging to see if the ultrasound sensor was able to measure the distance when an obstacle was found: /* Yes, you will need to copy and paste it into the IDE.
Automatic dog feeder for big dogs code#
I found that the original code needed a few updates to cover my use case, but it is a good idea to take a look and run it just to learn how it works: $ curl -fail -location -remote-name ''
loop: You read and write data to the sensors. setup: You initialize the components and set up which ports can read and write data. It looks a lot like C, and it has two very simple and important functions: You can write code for the Arduino using its programing language. Just follow these instructions before moving on. If you haven't downloaded and installed the Arduino 2 IDE, please do it now. I've included the diagram source file ( schematics/food_dispenser.fzz) in my Git repository, so you can open it and modify the contents. Automatic dog feeder for big dogs install#
On Red Hat Enterprise Linux (RHEL) and CentOS, you can install it as a Flatpak: $ flatpak install The open source application Fritzing is a great way to draw out electronic schematics and wiring diagrams, and it's available for Fedora as an RPM: $ sudo dnf install -y fritzing.x86_64 fritzing-parts.noarch You may be wondering how I made these diagrams.
Python 3 to run a few scripts to publish ultrasonic sensor data as Prometheus metrics using the computer. Arduino IDE 2: Download this to write the code to control the electronics. Automatic dog feeder for big dogs serial#
sudo privileges to install packages like Minicom (to read data from the serial port) and Fritz (to make some nice-looking drawings of the project). You will need space to place the electronic components and the food inside. I used a square box, but you may use a cylinder like in the original tutorial (the square box made it easier for me to place the components inside). Look for something no less than 12 inches tall.
A cardboard box: Do not underestimate the height. Folding utility knife: I used this to cut holes that were too small for scissors. Glue gun: Any glue gun will do there's no need to get something fancy. SG90 9g micro servo: This opens and closes the trap door inside the food dispenser. We plan to do other projects with some of the pieces in the box. Smraza basic starter kit for Arduino: This starter kit includes the power supply and breadboard to connect the Arduino with other components. ACEIRMC HC-SR04 ultrasonic sensor distance module: This detects if a pet is in front of the dispenser, and if true, dispenses the food. Chanzon 9v battery clip: This connects a 5V battery to our Arduino, so it can run without being attached to the computer through the USB cable. Arduino Nano : This is the brain of the project. We chose this model due to its price and size.
I do not get a commission, and I encourage you to look around for the best price.
Automate Red Hat Enterprise Linux with Ansible and SatelliteĪll the links are to Amazon because it is easy to see the product before buying. Automatic dog feeder for big dogs trial#
Ansible Automation Platform trial subscription. A system administrator's guide to IT automation. Ansible Automation Platform beginner's guide.
Skip to bottom of list Skip to the bottom of list