Thank you, all of you :D https://youtu.be/kGDNJE3fyBk

Thank you, all of you :smiley:

That came out amazing! Great work!
The only thing I’d do is make sure your power supply is going through a gfi (ground fault interrupt, not sure if it’s called the same thing where you’re located) since it’s close to water.

@James_G I think it’s called just fi. And this is given in our case

Super table! Really cool project Severin. I can imagine you and your brother learned a lot on this project with all the different things you incorporated. Infinity mirror looks great. Thanks for sharing.

You mentioned you had problems controlling the pump with the Teensy. What sort of issues were you running into?

The copper coil in the relay leaded to high voltage peaks when turning it off. So we builded a circuit against it with a diode. After that we had the problem, and i think we still have it, that in the moment we turn off the pump it still gifes a spark inside the switch… so i added a coil with 10 turns on the 230 side…which worked great but after ten tries it killed one pin on the teensy which i couldn’t explain. So that was the moment when i lost the patience and removed the relais and added a 230v switch… Which still leads to the problem with the “dead” stripe or at least i guess its that…

Crazy project! Now you need to add fish! You will probably want a ‘voltage snubber RC circuit’ or a diode across the relay for the motor: some good information here:

Voltage spikes when driving DC motor with N-channel MOSFET - Electrical Engineering Stack Exchange.

A large motor with momentum can really wreak havoc unless that voltage has somewhere to go.

Thats excactly what we did for the 5v side for the relay… I don’t trust my brother to keep fish alive…not even garnelen ;).

Perhaps something like an optocoupler relay could be used to protect the micro controller.

I used exactly one like that
Google Photos