r/arduino • • 8d ago

Look what I made! I built a small digital aquarium using Arduino IDE

Components are a waveshare esp32c6 1.47 touchless board, a latching switch, and a lipo battery I recycled from a vape.

I prompted AI for the arduino sketch code, bugfixed for a while until it looked and functioned how I wanted, had it render the fish and plants with math geometry so no AI art stolen or generated.

I soldered a couple jumper wires to the waveshare’s 5v and ground pins. I soldered the wires up, wired ground to battery, wired 5v to latching switch (making sure its off when soldering), then wired the + switch to the battery.

Open source code will be available on my github soon.

Edit: It's alive! Sparkadium/Digital-Aquarium: For the Waveshare ESP32C6-1.47-LCD :)

1.2k Upvotes

38 comments sorted by

23

u/gbatx 8d ago

Does it work in landscape mode? Would be a great addition to small models, like trains, doll houses or lego buildings!

14

u/CommunityFan89 8d ago

It wouldn't be difficult to make it have a landscape mode. I'll get that implemented before publishing to github. :)

9

u/jlangager 8d ago

So the animation is purely via Arduino IDE? I've been playing around with Raspberry pi + waveshare displays, using Godot to program the game play. But this seems waaaay more compact.

1

u/CommunityFan89 6d ago

Yes! The whole thing, with 5 different fish tank modes and optional landscape/portrait toggle, is 192KB before compiling.

2

u/jlangager 6d ago

Crazy.

2

u/jlangager 6d ago

Thanks for sharing... genuinely helpful to me.

12

u/kaylee716 8d ago

What is this, an aquarium for fish fry?

Jk, it's cool

6

u/zagriza 8d ago

Man, that's so cool, great job! Looks amazing

6

u/0miker0 Software Help 8d ago

I like it! If it’s Waveshare board then why all the wires?

10

u/CommunityFan89 8d ago

I posted this to another subreddit and got trolled for it being usb and not battery powered, so I soldered the battery and latching switch on it. I'm not good with wire management tbh haha

9

u/guru242 8d ago

I like it. Good job. Forget the trolls and keep building and sharing.

5

u/Dickulture 8d ago

Good ol' fish screensaver from the 90s. I may need to steal this one for myself as Macintosh aren't pocket sized and it's impractical to drag my Quadra 650, LCD monitor, and a portable gas generator just to watch the fish on the bus

3

u/Xsurv1veX 7d ago

Please publish to GitHub!

2

u/CommunityFan89 7d ago

It's on github now! :)

2

u/Xsurv1veX 6d ago

Thanks!

2

u/drugquests 8d ago

This makes me want to do a mini feeding frenzy game on it 🤓

3

u/NuncioBitis 8d ago

Like you can throw in body parts?

1

u/drugquests 7d ago

It's an old computer game

3

u/nshire 8d ago

More of an Insaniquarium guy myself

2

u/SomnambulisticTaco 7d ago

Ridiculous Fishing for me

2

u/motofoto 8d ago

That’s really cool. 

2

u/anz507 8d ago

Intersting project, saved the post for github link

2

u/CommunityFan89 7d ago

I updated the post with the github link :)

2

u/anz507 7d ago

Sweet!

2

u/nshire 8d ago

Did you happen to buy those at Micro Center?

2

u/xincailiao 7d ago

漂亮

2

u/Jerrygalspy 7d ago

This is so cool, you gotta build a little enclosure or set to embed it into

2

u/LIS_YAKI 5d ago

Cool!!

2

u/qufur 1d ago

This looks so cool! Nice work :)

1

u/JustARegularPawn 8d ago

Dunno how i feel about the ai part, but i do love the effect! Wanna share how to do it?

8

u/CommunityFan89 8d ago

For the most part I described to the AI the parameters of the aquatic environments I wanted (a realistic tank with small math-based fish, as well as other modes with different fish not shown in this video), compared two different AI models (claude opus 5.5 and chatgpt-astra) how it looked and how the fish/plants moved, and told it which device I'd be using as a display. The bulk of effort from me was soldering on the battery and latching switch to the board.

4

u/JustARegularPawn 7d ago

Dear Sir, I can't wait for you to publish the project on github. kudos to you

2

u/CommunityFan89 7d ago

I just updated the post with the github link :)

1

u/TopSearch4810 1d ago

Will your fingers smell like fish?

-9

u/This-Artichoke9052 8d ago

Why???

3

u/enigmamonkey 8d ago

Probably for fun.

Because he can.