View previous topic :: View next topic |
Author |
Message |
Da_vipin Frequent Visitor to IAH

Joined: Jan 31, 2008 Posts: 150 Location: Mumbai
Status: Offline
|
Posted: Thu Jun 01, 2017 5:25 pm Post subject: DIY LED Hood Build & Aquarium Automation - Completed ! |
|
|
Hello all!
Initially this was going to be only a diy LED hood build. But one thing led to another and since I was using arduino anyway, I decided to upgrade to automation as well...
Features:
Bluetooth control: All settings are accessed through phone via Bluetooth. User interface is kind of command based chats, wherein user replies appropriate inputs using onscreen guide sent from arduino to phone. (Better explained in images below)
Individual Channel Brightness: There's 3 LED channels - cool whites, warm whites and supplementary colours (deep red / royal blue / cyan). Each channel brightness can be set individually and helps a bit in tweaking the looks / colour temperature and also the maximum overall brightness.
Timer: Can set 2 on / off cycles per day. This helps if I need a noon siesta sometimes.
Ramp: Instead of sudden turn on and off of lights, I can enable Ramp up and Down settings. The duration of transition / ramp up & down can be set from 1 minute to 1 hour. Currently its 15 mins.
Temperature: Takes tank and room temperature every ~15 minutes and decides whether or not to switch on fans if temperature is above user defined threshold temperature.
Fans: Can set on / off time of cooling fans. Its also linked to temperature settings above. Means even if time control says fan to turn on, it wont if temperature is already below user defined temperature limit. Currently that's 28 deg.
Co2: Can set on / off time of Pressurised Co2
Feeder: Can set upto 2 feed time per day. The feeder is simple mg90s servo attached with tic tac container.
Dosing: Can set volume (ml), time and frequency of dosing macros and traces individually. Frequency can be daily / alternate days / twice a week.
One Button: There's just one button that has mulitiple functions i) Single clicks - Turn on / off lights manually (over ride timer settings). Manual turn on only stays for 30 mins, this is for safeguarding against forgetting to switch off again. ii) Double clicks - Turn on / off Bluetooth for 10 mins. iii) Triple clicks - feed fishes from feeder.
View / Save: All changes made in settings are stored in RAM and not in EEPROM. This reduces EEPROM write cycles. Settings in RAM and EEPROM can be reviewed before final save command.
There’s over 500 lines of code written from scratch by myself for arduino programming. It took a fair amount of time to get it polished and compact for Arduino Pro Mini which has low memory compared to an Arduino Mega board. Mostly people use a Mega board for automation, but that also helps in adding rich features like colour lcd screen, rich UI etc
Some pics:
LEDs:
Dosing Pumps:
User Menu:
Controller Mount and PCB:
 |
|
|
Back to top |
|
 |
Preeths Committed Member of IAH

Joined: Nov 07, 2007 Posts: 2041 Location: Bangalore
Status: Offline
|
Posted: Thu Jun 01, 2017 6:35 pm Post subject: Re: DIY LED Hood Build & Aquarium Automation - Completed |
|
|
Cool nice to know more PPL are getting into DIY ....  |
|
|
Back to top |
|
 |
Andrew Regular Poster on IAH

Joined: Apr 03, 2014 Posts: 393 Location: Coimbatore
Status: Offline
|
Posted: Thu Jun 01, 2017 6:57 pm Post subject: Re: DIY LED Hood Build & Aquarium Automation - Completed |
|
|
Nice DIY setup , do post once everything is setup. |
|
|
Back to top |
|
 |
mkk19800 IAH New Member

Joined: Nov 03, 2015 Posts: 63 Location: Bengaluru
Status: Offline
|
Posted: Thu Jun 01, 2017 7:39 pm Post subject: Re: DIY LED Hood Build & Aquarium Automation - Completed |
|
|
awesome ...!
--Manish |
|
|
Back to top |
|
 |
pxk587 Frequent Visitor to IAH

Joined: Mar 27, 2015 Posts: 105 Location: Chennai
Status: Offline
|
Posted: Fri Jun 02, 2017 11:32 am Post subject: Re: DIY LED Hood Build & Aquarium Automation - Completed |
|
|
Nice Idea towards Artificial Intelligence !!
~Mohan |
|
|
Back to top |
|
 |
Planthead Frequent Visitor to IAH

Joined: May 17, 2013 Posts: 104 Location: Bangalore
Status: Offline
|
Posted: Fri Jun 02, 2017 2:29 pm Post subject: Re: DIY LED Hood Build & Aquarium Automation - Completed |
|
|
for you idea and effort. |
|
|
Back to top |
|
 |
Da_vipin Frequent Visitor to IAH

Joined: Jan 31, 2008 Posts: 150 Location: Mumbai
Status: Offline
|
Posted: Fri Jun 02, 2017 2:36 pm Post subject: Re: DIY LED Hood Build & Aquarium Automation - Completed |
|
|
thanks!!
Sharing some pics of initial prototype board, I could not find a proper long pcb board so had to stick multiple boards. It was functional but looked messy
Then later upgraded to a proper pcb...
 |
|
|
Back to top |
|
 |
mbuna435 IAH New Member

Joined: Nov 04, 2015 Posts: 15
Status: Offline
|
Posted: Fri Jun 02, 2017 3:50 pm Post subject: Re: DIY LED Hood Build & Aquarium Automation - Completed |
|
|
Nice setup
Hope you had good learning experience and satisfaction post this setup.
Just curious - Where you got the fixture to connect 2 LED rails/heat sinks?
--RK |
|
|
Back to top |
|
 |
Da_vipin Frequent Visitor to IAH

Joined: Jan 31, 2008 Posts: 150 Location: Mumbai
Status: Offline
|
Posted: Fri Jun 02, 2017 4:47 pm Post subject: Re: DIY LED Hood Build & Aquarium Automation - Completed |
|
|
Yes it was indeed a great learning experience. I fried 2 arduino boards and a bluettooth module in the process
Those are 3mm and 6mm acrylic, I designed them in inkscape and got it laser cut at acrylic shop...
Thanks |
|
|
Back to top |
|
 |
Da_vipin Frequent Visitor to IAH

Joined: Jan 31, 2008 Posts: 150 Location: Mumbai
Status: Offline
|
Posted: Wed Dec 20, 2017 2:09 pm Post subject: Re: DIY LED Hood Build & Aquarium Automation - Completed |
|
|
Quick update...
Made an android app
 |
Last edited by Da_vipin on Thu Dec 28, 2017 9:16 pm; edited 1 time in total |
|
Back to top |
|
 |
Da_vipin Frequent Visitor to IAH

Joined: Jan 31, 2008 Posts: 150 Location: Mumbai
Status: Offline
|
Posted: Thu Dec 28, 2017 9:12 pm Post subject: Re: DIY LED Hood Build & Aquarium Automation - Completed |
|
|
Hello there!
Made an addition of temperature graph feature in the app. 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..
Regards, |
|
|
Back to top |
|
 |
Nidhi Committed Member of IAH

Joined: Nov 23, 2011 Posts: 1881 Location: Bangalore, Prakashnagar.
Status: Offline
|
Posted: Fri Dec 29, 2017 9:30 am Post subject: Re: DIY LED Hood Build & Aquarium Automation - Completed |
|
|
Super Vipin..  |
|
|
Back to top |
|
 |
|