Hội chế đồ, nơi tụ tập của các DIY-er

How to make a pet feeder from water pipe – Part 4 : Firmware & mobile app

1/ Firmware :

Please download the following programs and files:

  • ESP8266Flasher.exe
  • feeder.ino.bin

You always need to clear everything in the NodeMCU memory first before a fresh installation. To select the right COM port, look at your Device Manager in your computer after plugging in the NodeMCU board.

The parameters that we are using are as in the following pictures:

Click the flash button in the Operation tab and wait for flashing to be done.

You are now ready to flash the firmware. Go to Config tab again and browse for feeder.ino.bin (Go to Download section to download). Then click Flash button in Operation tab and have a little break.

When everything is done, put the NodeMCU back in your board and you can connect the power source.

2/ How to use the Android app & configure the feeder first time

* It is important to plug NodeMCU onto the center board before following these steps, there is a pin connect to the tact switch to clear all the NodeMCU memory if get HIGH. By default, that pin always gets HIGH if not connect to the circuit, and your credentials will be formatted right after they get saved and NodeMCU resets.

Steps :

First, you need to install the Pet Feeder – DIYOracle from Google Play Store, just type “diyoracle” in the searching textbox then you will see it. Register a new account if you don’t have one. Login with your account and you will see a default feeder displayed in the list. Choose it and go to CONFIG tab, touch the token string to copy.

Second, power on the feeder and look for xxxxxx_Feeder displayed in wifi hotspot list and connect. Type 192.168.4.1 in address bar of any web browser to open the configuration portal. Choose Configure WiFi in the menu, type in your wifi uid, pass and finally paste the copied token. Click Save to finish saving them into the NodeMCU memory.

* In case the wifi credentials is changed later, you need to push the button on the board to clear all saved data and do configuration step as described again. Remember pushing the button while the power is on.

Third, connect the phone back to the Internet. The feeder is now ready to be controlled by the app. The icon status on the right should go green to indicate that the connection with the feeder has been made successfully. Try to change the amount and click Feed button to test the operation. All timers are set in the SCHEDULES tab, remember to change the timezone to suite your location otherwise it will not run on time.

Finally, you can add more feeders if you want, there is an ADD button on top of the right in the list screen. Each feeder need to provide a unique token to work properly.

Leave a Reply

LATEST POSTS

INFORMATION

496 Duong Quang Ham, ward 6, Go Vap district, HCM city
Get in touch with us via diyoracle@gmail.com. We will reply as soon as possible.

DONATION

Please make donation if the provided information is useful for you. We will spend more time to do better thing for you.

COPYRIGHT

All content are under GPL-3.0 license.

Please add reference link to related post if you redistribute content from this site .