
It runs on two AA batteries which should be purchased separately, or it can be plugged in using the USB cable and run off electricity. The innovative DXOPHIEX WiFi automatic fish feeder is ideal if you want an easy way to feed your fish from the comfort of your mobile device. Instead, you just need to ensure that the product is routinely charged every 3 to 6 months depending on how long this product is used with the included USB cable. This saves you from having to buy and replace old batteries. Furthermore, this automatic feeder is equipped with a large-capacity battery that can be charged up to 800 times, making it a long-lasting feeder. It can be programmed to dispense food four times a day, with one to three food portions depending on how often and how much food your fish needs during mealtime. This automatic feeder is ideal for dispensing an assortment of fish foods, including granules, pellets, and flakes. It can be used on both freshwater and marine aquariums up to 158 US gallons in size. It has a holding capacity of 7 ounces, allowing this product to hold a large amount of food in comparison to similar feeders.

There is no risk of over-delivery and little risk of missed deliveries. It also lets you see historical data of the device.Ĭontrary to the Arduino sketch, the NodeMCU solution is more reliable as it uses NTP to keep track of wall clock time. The server lets you manually trigger the feeder and allows you to program the schedule using a cron-like syntax. Run the server with Node.JS and the proper environment variables (MQTT_HOST, MQTT_PORT, MQTT_USER, MQTT_PASSWORD). A companion server (located in /server) provides a user interface and connects to the same broker to collect data and send commands to the device.
#Automatic betta fish feeder software#
The NodeMCU software must be configured to talk to an MQTT broker. example extension and replace the variables according to your environment. just beware not to connect the board's 3.3v to the servo's VCC). Be careful that the board runs at 3.3v whereas a servo usually runs at 5v (You don't need a logic converter for the control signal. It is safer and has more features than the arduino code, but is a little more complex to use.Ĭonnect the servomotor to GPIO 12. In the event of an AC outage, there is a risk for feeding too much or too little.Ī NodeMCU project is available as well. The schedule is relative to the boot time of the arduino.
#Automatic betta fish feeder code#
Programming the schedule requires to change the software code and flash the arduino with the new program.There is an arduino sketch providing basic functionality. Tested on a prusa i3 mk2 It took a little bit of grinding to get them all to fit together. Ready-to-print STL files are available under hardware/. This way you'll get the smoothest possible surfaces and prevent food from getting stuck into the mechanism. You will probably need to modify it so that it fits your specific servo.īe sure to print the surfaces that will be in contact with the rotor facing the bottom. The disk is actionned by a servomotor at scheduled times. How it worksĪ hole on a rotating disk alternatively aligns with a food reservoir on top and a dispensing hole at the bottom. If you do lose power when the servo moves, connect the servo's red and black wire through a breadboard and put one or two capacitors of more than 100uF in between.

I found that the capacitors on the board are sufficient to operate the servo without loss of power.

Mount the servomotor on top and connect it to the arduino's VCC (red wire), Gnd (black wire) and pin 9 (remaining wire). Make sure to leverage the base plate of your printer to get smooth surfaces for the inside of the case and the base of the rotor (this will prevent food from getting caught between the rotor and the case). Print and assemble all parts according to the cad model. An arduino board OR a NodeMCU / ESP-12 or any esp8266-based board supported by NodeMCU.Robust design with only one moving part.Large autonomy: The system works as long as there is food left in the reservoir.

