Go Back   Aquarium Advice - Aquarium Forum Community > General Aquarium Forums > DIY Projects
Click Here to Login

Join Aquarium Advice Today
Reply
 
Thread Tools Search this Thread Display Modes
Please support our sponsors and let them know you heard about them on AquariumAdvice.com
 
Old 07-10-2010, 09:33 AM   #41
Aquarium Advice Addict
 
BigJim's Avatar
 
Join Date: Jul 2009
Location: Oak Forest, IL
Posts: 4,388
Have you considered driving the system with a clock? I haven't figured out the specifics yet, but I'm hoping to use a clock IC as a trigger.
__________________

__________________
BigJim is offline   Reply With Quote
Old 07-10-2010, 11:13 AM   #42
Aquarium Advice Freak
 
Join Date: Feb 2010
Posts: 478
Quote:
Originally Posted by BigJim View Post
Have you considered driving the system with a clock? I haven't figured out the specifics yet, but I'm hoping to use a clock IC as a trigger.
Yes, yes I have. I actually mentioned it earlier. It's called a RTC or "real time clock". And yes, it would have made this project 1000x easier. But I wanted to build this thing with mostly stuff I had available, and when something didn't work, I didn't feel like reworking my code to incorporate a clock. Next time though, I'm definitely using one, and I suggest using a clock to anybody trying to do something like this. The only thing is that when you use a clock, I would suggest buying one that's already on a board. Why? If you JUST put the clock chip on a board, with nothing else, you'd have to reset it every time the power went out. While yes you probably do that with your microwave every time, but resetting a clock on a microchip is a little harder. So all prebuilt chips have battery backup systems, and some even use rechargeable batteries, so you never have to replace them.
__________________

__________________
corrado33 is offline   Reply With Quote
Old 07-10-2010, 05:37 PM   #43
Aquarium Advice Freak
 
Join Date: Feb 2010
Posts: 478
Double post, but....

The camera is set up! The lights are supposed to go off at six ish, so we'll see what happens! I have no doubt that it'll work. I have it set to record a lot of frames, I think it's every 30 seconds it records 1 second worth of video. I know it'll make the video really long(20 some minutes), but that's good for me, it'll help me make more accurate calculations for my delays. I'll shorten the vid when I put it online.
__________________
corrado33 is offline   Reply With Quote
Old 07-11-2010, 12:26 PM   #44
Aquarium Advice Freak
 
Join Date: Feb 2010
Posts: 478
Ok, so the vid is uploading to youtube right now, it has 83 mins remaining... lol Anyway, the vid turned out ok, the camera had a hard time focusing and keeping the lighting right. Also, it was hard to see my moonlights because they are so dim. You could only see the one in the middle, but trust me, I can see all three. You can almost see the one on the left when it turns on, but since it has nothing to reflect off of besides the bottom, the camera really dosen't see a lot of it. Also, I think I forgot to add the correct delay for the "sunrise". And my delays are WAY off. The whole cycle was done by midnight.

The sunset worked well though. The camera made it look like a big difference between the sunset LEDs and the normal lights. There really isn't THAT much of a difference, it just looks like it. I'll post a link as soon as it uploads.
__________________
corrado33 is offline   Reply With Quote
Old 07-11-2010, 01:55 PM   #45
Aquarium Advice Freak
 
Join Date: Feb 2010
Posts: 478
Here ya go.

I think I'm going to change out the purple moonlights for blue ones, the blue ones are brighter, and they show up better. The cool thing is, it's extremely easy for me to change them out.

YouTube - Moonlights/Sunrise/Sunset Aquarium Lights

EDIT: It's done!

EDIT2: The project isn't done though. I still have a lot of tuning. Like I said, I'm going to switch to blue LEDs, I have to adjust the brightness of those, and I have to fix the timing. It'll be done within a week though.
__________________
corrado33 is offline   Reply With Quote
Old 07-11-2010, 03:30 PM   #46
Aquarium Advice Addict
 
thincat's Avatar
 
Join Date: Nov 2008
Posts: 5,330
Looking great. Good luck on the fine tuning.
__________________
Happy Reefing,
TC
thincat is offline   Reply With Quote
Old 07-11-2010, 05:09 PM   #47
Aquarium Advice Addict
 
Aquarium1's Avatar
 
Join Date: Jul 2009
Location: Central Kentucky
Posts: 8,617
Send a message via Skype™ to Aquarium1
That's pretty awesome. How'd you make the video like that? Jw.
Aquarium1 is offline   Reply With Quote
Old 07-11-2010, 05:12 PM   #48
Aquarium Advice Freak
 
Join Date: Feb 2010
Posts: 478
Quote:
Originally Posted by Aquarium1 View Post
That's pretty awesome. How'd you make the video like that? Jw.

Thanks guys. My video camera has an "Interval" record mode, so I can record things like this.

I'm going to try to turn my lights off a bit early tonight, switch out the LEDs, and adjust the delays a bit, then put the hood back on so I can do another test/recording. Should only take me 10 mins or so to switch the LEDs and adjust the delays.

EDIT: Ah, my sunrise was off by a power of 10, some my delay(9000) got changed to delay(900). The numbers VERY roughly correspond to milliseconds, so 1000 = 1 second. So with the sunrise and sunset, there are 255 steps, so (255 * 9seconds)/60 seconds = 38.25 minutes, which is pretty much how long it takes for the "sunset" to happen, if you watch the clock.
__________________
corrado33 is offline   Reply With Quote
Old 07-11-2010, 09:51 PM   #49
Aquarium Advice Freak
 
Join Date: Feb 2010
Posts: 478
Round two, going on right now!
__________________
corrado33 is offline   Reply With Quote
Old 07-20-2010, 03:52 PM   #50
Aquarium Advice Addict
 
BigJim's Avatar
 
Join Date: Jul 2009
Location: Oak Forest, IL
Posts: 4,388
Any updates?
__________________

__________________
BigJim is offline   Reply With Quote
Reply

Tags
12 gallon, 2 gallon, diy, diy hood, hood, light, lights, moving, sunset

Please support our sponsors and let them know you heard about them on AquariumAdvice.com

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cooling Fans for Hood Doug01 General Hardware/Equipment Discussion 5 12-11-2008 07:23 PM
DIY cooling system sango DIY Projects 1 01-24-2006 03:48 PM
Cooling Fans for CF-Retro-Hood? Tiffi DIY Projects 7 09-28-2005 04:43 PM
Need help cooling my DIY canopy and DIY lights Electrobes DIY Projects 10 12-12-2003 01:09 PM
DIY hood for 30 gallon Joshsmit56001 DIY Projects 3 12-03-2003 07:06 PM







» Photo Contest Winners








Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -4. The time now is 02:24 AM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.