Smart fish tank

Arduino controlled fish tank, Lights, and circulation pump

Similar projects worth following
Im wanting to control two lights for day night modes a circulation pump to help with water flow. I'm wanting to mount the whole project into the cabinet and have a display with readouts.

I'm wanting to have the lights and circulation pump fully automated, I'm wanting a mains (230V light for the day time and then I want to use a neopixal strip for the night time. The circulation pump will come on for 15 minutes every hour while the mains light is on. The neopixal I want to be white at first then gradually go dark over a couple hours mimicking sunset

Fastled 3.1.3 librarie

Zip Archive - 255.53 kB - 05/01/2017 at 10:48


ds3231 RTC librarie

Zip Archive - 380.27 kB - 05/01/2017 at 10:46



sunrise/sunset source

ino - 3.48 kB - 05/01/2017 at 10:44



fish tank controller source code

ino - 2.93 kB - 05/01/2017 at 10:43


  • 2 × Arduino micro
  • 1 × Ds3231 RTC
  • 1 × 8ch Solid state rela
  • 1 × Adafruit neo pixels
  • 1 × HD44780 20x4 LCD module

  • Source code uploaded

    dannyritchie05/01/2017 at 10:50 0 comments

    Just uploaded the current source code for this project. Should hopefully have to build instructions done in the next couple of days.

  • Sunrise/sunset strip getting there

    dannyritchie04/17/2017 at 21:02 2 comments

    after scratching my head for a while I decided to open up .stack to see if any one was willing to help.

    All though the code I was shown was very helpfull I didn't use any, Maybe when my project gets a bit more finalised then I will probs go back to have a look. I did manage to find a library that I had managed to over look before and that is fastLed.. From this I have managed to create a custom colour pallet which is basically white,yellow,orange,red, purple then blue. Yes I know it's not traditional sunset colours but am sure it will do for now. THe time lapse video doesn't really give the colours much justice but at least can see I starting to get somewhere with it.

    Hopfully will be able to get the code up on the main board to send a pin high for sunrise and another pin high for sunset. I have already created a sunrise colour pallet and that is a basically the same as sunset but just in reverse order.

  • MainLight and circulation pumps timers

    dannyritchie03/29/2017 at 20:59 0 comments

    well not been to bad of a start I have the main light, second light, and circulation pump all working with a timer. Basically just got the main light on for 9 hours and then the second light for 2 hours. The circulation pump activates for 15 minutes every hour but only when the main light is on. The timer is controlled from a ds3231 rtc and the time and output states are displayed on a 1602 LCD display. The outputs are then going through a 8ch solid state relay board which is mains rated. I've just whipped out some neopixels from the parts draw and am wanting to replace the second light output with them. The plan is to have the neoplixels to come on straight after the main light in white then gradually turn off or a dull blur while mimicking a sunset.

View all 3 project logs

Enjoy this project?



Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates