|
05/13/2010, 08:59 AM | #26 |
Registered Member
Join Date: Aug 2009
Location: Northern VA
Posts: 4,618
|
SWINGRRR,
I think the AVR programing language is C. RTC stands for real time clock. It is a hardware device attached to the IIC bus I think. The Arduino development package has function that will make those calls easier. Does this help? Or what do you want a sketch of? |
05/13/2010, 09:05 AM | #27 |
Team RC Member
Join Date: Sep 2003
Location: NY
Posts: 17,749
|
FishMan, "sketch" is the Arduino term for program, FWIW.
SWINGRRR, once the hardware is here, my plan is to write a sketch that includes basic logic and a menu system to display on the LCD - in other words, it runs the device in a default mode, such that the ONLY thing an end user has to do to get basic LED control is build the device, upload the sketch, and then set basic parameters through the front end (i.e. buttons and LCD). In other words, you won't have to even know how the code works, or what an RTC does, etc. My plan for this interface is that for each channel of LEDs, you'll be able to set an ON time, an OFF time, a max intensity, and a fade "slope."
__________________
Inconveniencing marine life since 1992 "It is my personal belief that reef aquaria should be thriving communities of biodiversity, representative of their wild counterparts, and not merely collections of pretty specimens growing on tidy clean rock shelves covered in purple coralline algae." (Eric Borneman) |
05/13/2010, 09:16 AM | #28 | ||
Premium Member
Join Date: Sep 2007
Location: Pcola FL
Posts: 2,504
|
Quote:
Quote:
__________________
Have you ever tried to hold a monkey still if it is not drunk ~ insteng Current Tank Info: 45gal Rimless mixed reef--SWC 150BMK--2xMP10ESW--Giesemann 150W HQI |
||
05/13/2010, 09:20 AM | #29 |
Team RC Member
Join Date: Sep 2003
Location: NY
Posts: 17,749
|
More or less - except I've never used a Litermeter so I'm guessing.
__________________
Inconveniencing marine life since 1992 "It is my personal belief that reef aquaria should be thriving communities of biodiversity, representative of their wild counterparts, and not merely collections of pretty specimens growing on tidy clean rock shelves covered in purple coralline algae." (Eric Borneman) |
05/17/2010, 04:14 PM | #30 |
Registered Member
Join Date: Dec 2009
Posts: 146
|
No sleep for me tonight. Took about 5 minutes to get it up and running, 30 seconds to load the basic blinking led and git it working, and 2 minutes to configure a squad car light bar, LOL... Now I just have to research something more useful, like a single Cree XR-E for moonlighting.... Jeff
|
05/17/2010, 07:22 PM | #31 |
Registered Member
Join Date: Sep 2007
Location: N. Mesa, Az
Posts: 524
|
Here is my arduino project. It does more than just lights, it runs my whole tank in the most energy efficient way.
http://reefprojects.com |
05/17/2010, 08:15 PM | #32 | |
Registered Member
Join Date: Dec 2009
Posts: 146
|
Quote:
|
|
05/18/2010, 07:54 AM | #33 |
Registered Member
Join Date: May 2009
Posts: 379
|
Very interesting, I've been thinking about something like this to integrate into some LED lights.
|
05/18/2010, 09:04 AM | #34 |
Registered Member
Join Date: Feb 2010
Location: Michigan
Posts: 66
|
I will be using an atmega328 along with a 7" 480X240 display for information. With the XRE on a meanwell 60-48P. I intend on using a photosensor to send a signal to the arduino. based on the strength of the signal from the photocell, The lights will ramp up.
I am a coder by training, so writing the arduino code won't be an issue. |
05/18/2010, 09:05 AM | #35 |
Registered Member
Join Date: Apr 2007
Location: mission viejo
Posts: 524
|
... can't wait for a BOM (shopping list) and the software available for download
|
05/18/2010, 09:20 AM | #36 |
1x10^12 Hz
Join Date: Oct 2009
Location: Stamford, CT
Posts: 1,185
|
DWZM, interesting idea, however I don't think it is worth it. Here is why:
Mouser parts: basic arduino(caps, resistors, resonators, sockets, headers etc) + rtc(with battery) will be around $20($30 with PSU) + shipping ($6.95) Modern devices parts: AVR, LCD and programming cable/board: $28.50 + shipping ($7.90?) PCB (assuming 10 ppl get together to do a group buy) - $2 + shipping (figure $1) So total so far is $50.50+shipping or about $65. Add the PSU and you're looking at $75 just to gather the parts without a project box. And hopefully the person has all tools to do the soldering. If you order an arduino board ( even the arduino nano 3.0 at $35 ), LCD and RTC parts from mouser + radioshack protoboard for the RTC, the cost will be the same, will give you the same functionality and will save many hours of work. With that option you don't need the programming cable either, just a plain USB one. That being said I don't think an LCD is even needed. After you've configured the arduino, the only useful info on that LCD will be the time Others might think differently, but for me it is not worth it to spend the extra time building a standard arduino, when a commercial arduinos cost $30 and come with the programming interface built in. It might be more useful to put together some documentation how to build an RTC module, hook it to any arduino and provide the software to program and configure the controller once and forget about it. THz |
05/18/2010, 09:24 AM | #37 |
Registered Member
Join Date: Feb 2010
Location: Michigan
Posts: 66
|
My LCD will be for display of information. Temp and other various crap. Intention is to use latching relays to control the heaters/chiller, as well as a RTC to control the moonlights.
|
05/18/2010, 11:17 AM | #38 | |
Premium Member
Join Date: Sep 2007
Location: Pcola FL
Posts: 2,504
|
Quote:
Or ask questions and Im sure those in the know will help or point you in the right direction.
__________________
Have you ever tried to hold a monkey still if it is not drunk ~ insteng Current Tank Info: 45gal Rimless mixed reef--SWC 150BMK--2xMP10ESW--Giesemann 150W HQI |
|
05/18/2010, 11:22 AM | #39 | ||
Team RC Member
Join Date: Sep 2003
Location: NY
Posts: 17,749
|
Quote:
Obviously when I started this post I was really excited. You're starting to temper that excitement. Quote:
So, let's hear it from the masses - assuming cost isn't the main issue, which would you rather do? Assemble and off the shelf Arduino with a well-documented external circuit (i.e. a "shield") that included the LED-specific functions, or build something custom like this from the ground up?
__________________
Inconveniencing marine life since 1992 "It is my personal belief that reef aquaria should be thriving communities of biodiversity, representative of their wild counterparts, and not merely collections of pretty specimens growing on tidy clean rock shelves covered in purple coralline algae." (Eric Borneman) |
||
05/18/2010, 11:34 AM | #40 |
Registered Member
Join Date: Aug 2009
Location: Northern VA
Posts: 4,618
|
For the masses unless there is a significant saving I would say pre built. I realize the soldering is not hard (and I am not trying to put it any one down), but there is a lot of room for error. I follow enough threads to realize there seem to be some pretty basic question asked multiple times. If someone gets a bad board (wasn't that you terahz). or crosses shorts a trace a lot of people won't know where to start to fix the problem. Yes, they can get help here, but some of the issue will be really hard to track down. Just my $0.02.
|
05/18/2010, 11:49 AM | #41 | |
Registered Member
Join Date: May 2009
Posts: 379
|
Quote:
|
|
05/18/2010, 12:06 PM | #42 | |
1x10^12 Hz
Join Date: Oct 2009
Location: Stamford, CT
Posts: 1,185
|
Sorry about that
Quote:
|
|
05/18/2010, 01:29 PM | #43 |
Premier World Traveler
Join Date: Nov 2000
Location: Ohio
Posts: 4,293
|
All I want to do with this is ramp at least 2 and as many as 8 channels of LEDs on and off with the appropriate duration and at the appropriate time. I have everything else covered. For me until I have time to figure out the coding which I'm not sure I have a lot of use for otherwise a couple ready made sketches maybe including itermitant clouds would do anything I want. Some sort of over ride to manually turn on or off the lights would be useful as well.
Tim
__________________
"The moment you doubt whether you can fly, you cease forever to be able to do it..." J.M. Barrie Current Tank Info: 210 AGA RR, Apex, 3x Kessil A360W & 2x 80W T5s, GEO 618 Ca Rx, BM220 CS2 skimmer, Tunze 6100s, 42" ETSS/AE Tech refugium/sump |
05/18/2010, 02:06 PM | #44 | |
Registered Member
Join Date: Apr 2010
Location: Western Wisconsin
Posts: 13
|
Quote:
And let me state my appreciation for everyone here & the work & sharing.
__________________
Fugitive from the freshwater world - a planted tank geek. I don't keep any saltwater fish. But I like the saltwater technology. Current Tank Info: 200 gallon putrifying tank. I fought the BGA and the BGA won. |
|
05/18/2010, 03:34 PM | #45 |
Registered Member
Join Date: Mar 2005
Location: Ohio
Posts: 1,308
|
I see the advantages of both. The tinker in me wants to have an understanding of what is going on and therefore be able to troubleshoot if neccessary if there are any malfunctions. I also see the advantage of having it mostly put together.
|
05/18/2010, 04:16 PM | #46 | |
Registered Member
Join Date: Dec 2009
Posts: 146
|
Quote:
|
|
05/18/2010, 05:38 PM | #47 |
Moved On
Join Date: Feb 2003
Location: Kent, WA
Posts: 1,548
|
I am like many people here at RC doesnt know anything about arduino, maybe Im just old school... But I can do DIY and solder....
What if? 1) Find the cheapest assembled arduino and use it for this project. I believe the cheapest i found is $16??? http://www.moderndevice.com/products/bbb-kit , mind you I dont even know what im pointing to? the difference between this $16 against the $30 or the $50 kits you can easily find on the net. 2) As the arduino will be the base, then maybe we can add the lighting control as a separate add-on module? and start this project from there? 3) and if we get lucky (for us beginners) then maybe we can add another function to control something? You see, me reading the full blown controller on the other thread makes my limited knowledge to arduino feels like a head spin everytime i try to read it. is this possible? still way out of $30 budget??? |
05/18/2010, 06:18 PM | #48 |
Registered Member
Join Date: Apr 2007
Location: mission viejo
Posts: 524
|
well, selfishly I would probably vote for the arduino board and the rtc, lcd and others...
option 2 basically. It is not that I would not be willing to assemble the whole thing from the ground up, but more that I would not feel too comfortable with the troubleshooting mentioned above from shorts and such (which I would most likely be very good at creating, lol) I will of course see what the consensus is and then decide. Another THANK YOU to everyone here and the work and sharing |
05/19/2010, 06:57 AM | #49 | |
Team RC Member
Join Date: Sep 2003
Location: NY
Posts: 17,749
|
Quote:
It sounds like the general consensus here is "off the shelf." If this is the case, there are a variety of tools and projects out there already, maybe people don't know about them. The project jener8tionx posted above is a really good example. Not specifically designed as an LED controller, but it's built off a standard Arduino and includes a lot of reef-specific functionality.
__________________
Inconveniencing marine life since 1992 "It is my personal belief that reef aquaria should be thriving communities of biodiversity, representative of their wild counterparts, and not merely collections of pretty specimens growing on tidy clean rock shelves covered in purple coralline algae." (Eric Borneman) |
|
05/19/2010, 07:46 AM | #50 |
Premium Member
Join Date: Sep 2004
Location: Bronx, New York
Posts: 180
|
i'm in favor of whatever is more educational. i dont know much about the programming and circuitry aspect of this but would like a simple starting point to jump in. i also like the fact that it takes a very popular DIY project (led lighting) and ties it in with the controller DIY projects, i think many (of the inexperienced) will appreciate this and just haven't voiced their opinions yet (lurking or havent come across this thread).
__________________
what the human mind can conceive and believe, the human mind can achieve... Current Tank Info: 65g eheim pro 20k & 10k hqi and single ended hob refugium |
Thread Tools | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cheap Moonlight | ticklesworth | New to the Hobby | 3 | 04/04/2010 04:09 PM |
Cheap Moonlight | ticklesworth | Do It Yourself | 0 | 04/03/2010 08:52 AM |
Arduino base controller - power pack ONLY TODAY | MaLi | Do It Yourself | 0 | 03/07/2010 05:56 AM |
Sumps 101: Cheap, simple and effective for small tanks | cody6766 | Central Oklahoma Marine Aquarium Society | 8 | 01/06/2009 10:57 AM |