🐟 DIY Fish-o-Meter (know if someone in the house fed the fish) With Files!

We had some amazing neighbors down the block who unfortunately left Hawai`i, and they gave their Betta fish to my daughter.

When she went to school we wouldn’t know if the fish ate that day, and the fish also needed 1 day a week where you didn’t feed it. (too much to keep track of)

So I picked up an ESP32-s3 board

https://www.amazon.com/dp/B0BRTT727Z

And coded it with chatgpt, back and forth and put it into arduino:

Here is the code:

fishometer.txt.zip (4.6 KB)

With these settings in the Arduino App:

Set the Tools menu like this, top to bottom:

  1. Board: ESP32S3 Dev Module
  2. Port: select the current /dev/cu.usbmodem... port for the board
  3. USB CDC On Boot: Enabled
  4. CPU Frequency: 240MHz (WiFi)
  5. Core Debug Level: None
  6. USB DFU On Boot: Disabled
  7. Erase All Flash Before Sketch Upload: Disabled
  8. Events Run On: Core 1
  9. Flash Mode: QIO 80MHz
  10. Flash Size: 16MB (128Mb)
  11. JTAG Adapter: Disabled
  12. Arduino Runs On: Core 1
  13. USB Firmware MSC On Boot: Disabled
  14. Partition Scheme: 16M Flash (3MB APP/9.9MB FATFS)
  15. PSRAM: OPI PSRAM
  16. Upload Mode: UART0 / Hardware CDC
  17. Upload Speed: 921600
  18. USB Mode: Hardware CDC and JTAG
  19. Zigbee Mode: Disabled

Just be sure to update your wifi info in the text file if you are doing this.
const char* WIFI_SSID = “YOUR_WIFI_NAME”;
const char* WIFI_PASSWORD = “YOUR_WIFI_PASSWORD”;

(wifi because it sets the time / date from the internet, so it knows when to reset every day)

It is currently coded to turn the screen off at I think 8pm which is the kids bedtime, (the fish needs to sleep also) and turns on at 5am.

It works great, but you needed to press the little button on the screen which wasn’t satisfying.

So I picked up a pack of low profile 30mm arcade buttons. (I wanted low profile concave, but no luck finding them)

https://www.amazon.com/OBSF-30-Bright-Tournament-Joystick-Compatible/dp/B005BZ3Y8Y/

(I got the buttons from aliexpress, the price from amazon was too high, aliexpress was a few bucks, but I can’t find the link) (this is what I really got below)

And wired it to ground and GPIO43

Then of course needed to design a little box for the button:

Here is the SVG for the button box, just incase you need to make one also.

fishbutton.svg.zip (11.1 KB)

Now I need to make one for my morning medication, because it is so fun to press the button.

And one for the dog food. :slight_smile:

Oh, and on friday… it is Fish Fast Friday… hehe

And the boot up screen. :slight_smile:

Have fun!!!

~ Aloha

27 Likes

I would say this is a great practical cut - but I feel it is almost over the top. When you have the time and the tools, however, might as well go for it. May the fish live a long and healthy life.

17 Likes

Thank you! It totally is over the top, and it probably needs a servo motor to just feed the fish, but what’s the fun in that. mashing an arcade button every day is fun! ALSO it was super fun to program that esp32 with a screen! Adding a button to it wasn’t tough, and makes it satisfying.

13 Likes

I absolutely love this, as it is SOOOOO over-engineered. Gives me a lot of inspiration. We don’t have fish, but the concept can go so many different directions. Most any little project. I’m wondering if there is a way to do this without a real-time clock?

Given time I could put vareants of this all over the place. The wood can come from cutoffs I keep; a Raspberry Pi Pico costs next to nothing; I just need a cheap display that works.

EDIT: several minor for clarity

15 Likes

Wow super cool

12 Likes

Practical, cool, way over engineered and FUN! :fish:

11 Likes

Almost makes me wish I had fish! Almost. Been there, done that, fish died anyway. :frowning: And we have enough animals to take care of, much less fish. But I love your creativity in this! Bet your daughter does too!

12 Likes

Very fun! Who doesn’t love a highly engineered project?!

12 Likes

Wow! Fun! It is so easy to achieve things these days. Great project. Wait…people would choose to leave Hawaii? Wait, a day of no feeding? Hmmm…who knew.

12 Likes

in the old days you didn’t have chatgpt to code for you :slight_smile:

11 Likes

haha but to quote Ferris Buehler, it is so choice…

11 Likes

next level…

gifmov

16 Likes

This makes me happy. Well done!

11 Likes

These are truly amazing and so fun looking. I would love to make one for my grandkids to feed their dog but afraid it’s a bit above my knowledge base!

Thanks for sharing, love it!

12 Likes

I ordered one because of you to do something like this. :slight_smile:

11 Likes

Wow! That is a lot. My solution would have been completely manual. :smiley: This is great!

I had never heard of this! I’ve had a betta before, but it was a really long time ago.

10 Likes