Page 1 of 1
Getting started...help
Posted: Sun Mar 11, 2012 10:46 am
by grafspee1217
I've done some reading and I have a few questions. I know the basic code will get you up and running. Will it support the wifi and the client software as well or do you have to modify the code? I'm concerned because I am code stupid. While the included code will work with my standard T5 lights, I have an LED fixture on order that supports sunrise and sunset via a 0-10 v analog signal. I don't believe the included code supports it (correct me if I am wrong). Is this something I have to learn how to code myself? (remember I am code stupid)?
Re: Getting started...help
Posted: Sun Mar 11, 2012 12:51 pm
by binder
The preloaded code will not currently support wifi and the client software.
Converting to the main libraries (Development Libraries) is a breeze. RAGen will handle everything you need it to and you will not have to code anything. I am saying this based on what you have said here of what you want to do.
You will have to set your on / off times for your lights. You will have to include the PWM Slope (to handle sunrise and sunset). You will have to specify the start & stop percentages on your LED fixture plus you will have to specify how long of a duration you want sunrise and sunset to be (60 minutes is the default).
All of this can be done via "point and click" or typing in values in the edit boxes.
If you have not done so yet, I encourage you to watch the "Walk through" videos on using RAGen.
http://forum.reefangel.com/viewtopic.php?f=15&t=60
The application has improved since the videos were made. One screen has moved...the Internal Memory tab is now located under the Controller menu and Internal Memory.... So that's a slight difference there.
If after you watch the video and play around with the software and you are still having some trouble, look at the example codes for ideas or simply post what is generated for you and ask if the code will do exactly what you think it will do.
Everybody here is very willing to help.
Re: Getting started...help
Posted: Sun Mar 11, 2012 12:53 pm
by rossbryant1956
I am pretty sure you will want to move to the development libraries and some extended code as soon as you are sure everything works. It is pretty well detailed here, and in the dox, on how to do that. I haven't attempted LED yet either but after several weeks I have everything else working beautifully. My suggestion is get started, get as much fixed as you can, then start studying your LED.
Be advised, I am not a coder either, I am a cut and paster; and I am doing fine. Thx
Re: Getting started...help
Posted: Sun Mar 11, 2012 1:51 pm
by N2VSW
Thank You Curt,
I downloaded everything via the Reefangel installer and have been playing with it. I opened RAGen but where in the program do you set the PWM slope? I see the controller, features, and relay tab but I don't see anything related to the slope percentage other than adding it to the code under the controller tab?
Re: Getting started...help
Posted: Sun Mar 11, 2012 2:38 pm
by grafspee1217
I don't see it either. I see where the internal memory is under the controller menu. What do you enter for metal halide and standard lights if you are using neither?
Re: Getting started...help
Posted: Sun Mar 11, 2012 2:47 pm
by rimai
Curt is working on a new internal memory window where you would be able to enter the PWM values.
For now, it would have to be either changed with smart phone app or manually changed on the InitialInternalMemory.ino code, which can be found on Arduino menu File->Sketchbook->Example Codes
The other simple alternative is to just code it in your INO code itself.
Something like this:
Code: Select all
ReefAngel.PWM.SetActinic (PWMSlope(9,0,21,0,15,100,60,0));
Check out this thread for more info:
http://forum.reefangel.com/viewtopic.php?f=12&t=16