Page 1 of 1

Aquarium Automation

PostPosted: Thu Dec 28, 2017 3:00 pm
by da_vipin
Hi All,

I'm new here, thought of sharing my DIY arduino based aquarium automation build..

The interface is through bluetooth. I can control brightness of 3 LED channels individually. The features include timer for lights, fans, co2. Theres temperature sensors for Room and Tank. The fans are dependent on temperature of tank. There's also a DIY feeder made with servo motor and 3d printed parts. Feeding time can be set for upto 2 times a day. Macro and Trace fertilizers are dosed automatically. The dosing time, days and volume can be set individually.

Some pics;

LEDs:
Image

Dosing Pumps
Image

PCB
Image

This project was completed around 6 months ago and it has been working great without any major issues. Recently I made a dedicated android app for this project, sharing some pics of it as well..

The App:
Image

Temperature Graph:
Image

The app retrieves log of 5 days from the microcontroller and then plots it into a graph. It shows some interesting facts! The room temperature can fluctuate drastically in just one hour, while the tank temperature responds gradually over a period of 3 - 4 hours. During 23/12/17 to 25/12/17, I had kept the fan settings as to turn on at 7am and turn off at 11pm, also the threshold tank temperature at which the fan will actually turn on was kept at 27 deg. However as you can see the tank temperature never touched 27deg, so the fans never turned on. But since 26/12/17 i changed the threshold temperature to 24deg and as you can observe the tank temperature is maintained at 24deg during 7 am to 11 pm after which the fans are switched off and temperature rises to ambient room temp at night. At some point the difference in room and tank temp was 6 deg! Shows how effective a simple cooling fan can be... If i keep some realistic temperature threshold, say 28deg during summers, i hope the tank temperature to remain constant throughout day. The fans will automatically turn on and off every few minutes if deviation is observed..

And finally, the tank which does not bothers me much except for weekly trimming and water changes :)

Image

Regards

Re: Aquarium Automation

PostPosted: Fri Dec 29, 2017 7:11 pm
by mr_feynman
da_vipin wrote:Hi All,

I'm new here, thought of sharing my DIY arduino based aquarium automation build..

The interface is through bluetooth. I can control brightness of 3 LED channels individually. The features include timer for lights, fans, co2. Theres temperature sensors for Room and Tank. The fans are dependent on temperature of tank. There's also a DIY feeder made with servo motor and 3d printed parts. Feeding time can be set for upto 2 times a day. Macro and Trace fertilizers are dosed automatically. The dosing time, days and volume can be set individually.

Some pics;

LEDs:
Image

Dosing Pumps
Image

PCB
Image

This project was completed around 6 months ago and it has been working great without any major issues. Recently I made a dedicated android app for this project, sharing some pics of it as well..

The App:
Image

Temperature Graph:
Image

The app retrieves log of 5 days from the microcontroller and then plots it into a graph. It shows some interesting facts! The room temperature can fluctuate drastically in just one hour, while the tank temperature responds gradually over a period of 3 - 4 hours. During 23/12/17 to 25/12/17, I had kept the fan settings as to turn on at 7am and turn off at 11pm, also the threshold tank temperature at which the fan will actually turn on was kept at 27 deg. However as you can see the tank temperature never touched 27deg, so the fans never turned on. But since 26/12/17 i changed the threshold temperature to 24deg and as you can observe the tank temperature is maintained at 24deg during 7 am to 11 pm after which the fans are switched off and temperature rises to ambient room temp at night. At some point the difference in room and tank temp was 6 deg! Shows how effective a simple cooling fan can be... If i keep some realistic temperature threshold, say 28deg during summers, i hope the tank temperature to remain constant throughout day. The fans will automatically turn on and off every few minutes if deviation is observed..

And finally, the tank which does not bothers me much except for weekly trimming and water changes :)

Image

Regards


Excellent work! :YMAPPLAUSE:
Mine is Arduino Mega...

Re: Aquarium Automation

PostPosted: Sat Dec 30, 2017 1:42 pm
by suku_patel_22
Excellent, I would love to know what parts you used and the code as well. If possible could you share it with us?

Sent from my Pixel XL using Tapatalk

Re: Aquarium Automation

PostPosted: Sun Dec 31, 2017 6:11 am
by da_vipin
Thanks Mr_Feynman & Suku_Patel.

The parts used are Arduino Pro Mini, DS1307 Clock, HC05 Bluetooth Module, DS18B20 Temperature sensors, LM2596 and Mini 360 DC Converter, Meanwell LDD drivers, MG390S Servo, 12VDC coil solenoid valve for CO2 regulator, 6VDC Peristaltic Pumps, Logic level mosfets for controlling - Fans, Bluetooth Module, Solenoid Valve, Dosing Pumps...

As for the code, sorry i cant share it. But I can help you out if you get stuck somewhere. I have extensively used String Class functions for BLE interface, which is quite easy once you start working with it.

Regards,

Re: Aquarium Automation

PostPosted: Tue Jan 02, 2018 7:13 am
by mithun
Hello Vipin,

brilliant clean work there. why have you opted for HC05 rather than ESPs which could be more versatile with Internet in place and remote interfacing would be much easier!

Also, could you please share the source of those peristaltic pumps, looks pretty good build quality!

Re: Aquarium Automation

PostPosted: Wed Jan 03, 2018 6:16 am
by da_vipin
Thanks mithun da, I have used HC05 for its simplicity. Not as complicated as ESPs. I bought the pumps from aliexpress..

Regards,

Re: Aquarium Automation

PostPosted: Wed Jan 03, 2018 7:18 am
by mithun
Thanks... found them! How are they performing? vibrations/jittery etc or smooth rotation?

I had made an Autodoser before with different pumps from AE. they ended up being too jittery after a month or so and needed frequent calibration!

Re: Aquarium Automation

PostPosted: Wed Jan 03, 2018 10:33 am
by da_vipin
mithun wrote:Thanks... found them! How are they performing? vibrations/jittery etc or smooth rotation?

I had made an Autodoser before with different pumps from AE. they ended up being too jittery after a month or so and needed frequent calibration!


Hi, yes they vibrate a bit when unmounted. But once tightened to frame it is not much noticeable. They have been working fine till now, but since you mentioned i'll keep a close eye /:)

Regards,

Re: Aquarium Automation

PostPosted: Wed Jan 10, 2018 5:37 am
by kumar
wow! you made it look so simple using HC-05. Awesome man! I shouldnt have broke me head on ESP, rather looked up to simple to start solution.

Re: Aquarium Automation

PostPosted: Wed Jan 17, 2018 12:59 pm
by mithun
you are now offending ESP lovers :P with boards like LoLin32s' out ESP is piece of cake now.. more power, more connectivity, all for just a few pennies