Awesome. Glad you are up and running again.aranax wrote:Thanks Curt. I'm back up and running. As usual, the support you guys provide is top notch. Thanks again.
-J
Reef Angel Installer 0.9.0 released
Re: Reef Angel Installer 0.9.0 released
Re: Reef Angel Installer 0.9.0 released
Hey guys,
Everything works but...is it possible that you "fixed" a bug that now causes my drivers to blink? I have the meanwell "P" drivers that only work from 15% to 100% but I never had a problem running these at ~5% to 15%. I thought I got lucky as they worked between 5% and 15% without issue (no blinking). Since I updated, I'm running into the "expected" below 15% "blinking". I didn't change anything from a hardware standpoint so I don't know what it could be.
I had to change my PWMSlope from:
PWMChannel[LEDPWM0]=PWMSlope(12,30,22,00,0,80,240,PWMChannel[LEDPWM0]);
PWMChannel[LEDPWM1]=PWMSlope(12,00,22,15,0,70,240,PWMChannel[LEDPWM1]);
PWMChannel[LEDPWM2]=PWMSlope(13,30,21,30,0,30,180,PWMChannel[LEDPWM2]);
PWMChannel[LEDPWM3]=PWMSlope(15,0,23,00,0,60,180,PWMChannel[LEDPWM3]);
to
if ((hour() >= 22,00) && (hour() <= 12,30))PWMChannel[LEDPWM0]=0;
else PWMChannel[LEDPWM0]=PWMSlope(12,30,22,00,15,80,240,PWMChannel[LEDPWM0]);
if ((hour() >= 22,00) && (hour() <= 12,30))PWMChannel[LEDPWM1]=0;
else PWMChannel[LEDPWM1]=PWMSlope(12,00,22,15,15,70,240,PWMChannel[LEDPWM1]);
if ((hour() >= 22,00) && (hour() <= 12,30))PWMChannel[LEDPWM2]=0;
else PWMChannel[LEDPWM2]=PWMSlope(12,00,22,15,15,50,240,PWMChannel[LEDPWM2]);
if (hour()>22 && hour()<4)PWMChannel[LEDPWM3]=MoonPhase();
else PWMChannel[LEDPWM3]=PWMSlope(15,0,22,00,15,60,180,PWMChannel[LEDPWM3]);
Does this make sense or did I make a mistake? Thanks.
-J
Everything works but...is it possible that you "fixed" a bug that now causes my drivers to blink? I have the meanwell "P" drivers that only work from 15% to 100% but I never had a problem running these at ~5% to 15%. I thought I got lucky as they worked between 5% and 15% without issue (no blinking). Since I updated, I'm running into the "expected" below 15% "blinking". I didn't change anything from a hardware standpoint so I don't know what it could be.
I had to change my PWMSlope from:
PWMChannel[LEDPWM0]=PWMSlope(12,30,22,00,0,80,240,PWMChannel[LEDPWM0]);
PWMChannel[LEDPWM1]=PWMSlope(12,00,22,15,0,70,240,PWMChannel[LEDPWM1]);
PWMChannel[LEDPWM2]=PWMSlope(13,30,21,30,0,30,180,PWMChannel[LEDPWM2]);
PWMChannel[LEDPWM3]=PWMSlope(15,0,23,00,0,60,180,PWMChannel[LEDPWM3]);
to
if ((hour() >= 22,00) && (hour() <= 12,30))PWMChannel[LEDPWM0]=0;
else PWMChannel[LEDPWM0]=PWMSlope(12,30,22,00,15,80,240,PWMChannel[LEDPWM0]);
if ((hour() >= 22,00) && (hour() <= 12,30))PWMChannel[LEDPWM1]=0;
else PWMChannel[LEDPWM1]=PWMSlope(12,00,22,15,15,70,240,PWMChannel[LEDPWM1]);
if ((hour() >= 22,00) && (hour() <= 12,30))PWMChannel[LEDPWM2]=0;
else PWMChannel[LEDPWM2]=PWMSlope(12,00,22,15,15,50,240,PWMChannel[LEDPWM2]);
if (hour()>22 && hour()<4)PWMChannel[LEDPWM3]=MoonPhase();
else PWMChannel[LEDPWM3]=PWMSlope(15,0,22,00,15,60,180,PWMChannel[LEDPWM3]);
Does this make sense or did I make a mistake? Thanks.
-J
Re: Reef Angel Installer 0.9.0 released
On a machine that previously did not have any RA software installed (XP SP3) I installed the 0.9.0 package from the download page, which installed with no errors. As an initial test, I opened RA Generator, and selected the items similar to my running sketch (which was done on another machine). After saving from RA Generator, and launching arduino 1.0, I tried to compile the sketch and got this error:
C:\Documents and Settings\Admin\My Documents\Arduino\libraries\RA_Wifi\RA_Wifi.cpp: In function 'void SendXMLData(bool)':
C:\Documents and Settings\Admin\My Documents\Arduino\libraries\RA_Wifi\RA_Wifi.cpp:982: internal compiler error: Illegal instruction
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://sourceforge.net/tracker/?atid=52 ... unc=browse> for instructions.
The specific error changes if I select different options on the Controller tab in Generator. Removing the wifi option throws this compiler error instead:
C:\Program Files\Reef Angel Controller\libraries\Wire\Wire.cpp: In member function 'virtual size_t TwoWire::write(const uint8_t*, size_t)':
C:\Program Files\Reef Angel Controller\libraries\Wire\Wire.cpp:264: internal compiler error: Illegal instruction
I tried to reset to the default values and remove the features I'd checked (Watchdog, ATO logging, direct temp sensor) but got the same error after saving and compiling.
RA Generator -> Show Library Version displays Version 0.9.0.
Any suggestions? Thanks in advance.
C:\Documents and Settings\Admin\My Documents\Arduino\libraries\RA_Wifi\RA_Wifi.cpp: In function 'void SendXMLData(bool)':
C:\Documents and Settings\Admin\My Documents\Arduino\libraries\RA_Wifi\RA_Wifi.cpp:982: internal compiler error: Illegal instruction
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://sourceforge.net/tracker/?atid=52 ... unc=browse> for instructions.
The specific error changes if I select different options on the Controller tab in Generator. Removing the wifi option throws this compiler error instead:
C:\Program Files\Reef Angel Controller\libraries\Wire\Wire.cpp: In member function 'virtual size_t TwoWire::write(const uint8_t*, size_t)':
C:\Program Files\Reef Angel Controller\libraries\Wire\Wire.cpp:264: internal compiler error: Illegal instruction
I tried to reset to the default values and remove the features I'd checked (Watchdog, ATO logging, direct temp sensor) but got the same error after saving and compiling.
RA Generator -> Show Library Version displays Version 0.9.0.
Any suggestions? Thanks in advance.
Re: Reef Angel Installer 0.9.0 released
thanks for the quick reply. Are there any other prerequisites to the 0.9.0 installer?rimai wrote:I have not seen these errors before.
Re: Reef Angel Installer 0.9.0 released
OK, no worries. I will do the configuration work on a more modern machine. The one that is throwing the errors is an older industrial PC that I am using to run the client software (works fine) so it may be the hardware that is challenged.... it's a 500MHz Via processor with 512 MB RAM ...
Thanks again for the quick reply. I've been really impressed with your support.
Thanks again for the quick reply. I've been really impressed with your support.
Re: Reef Angel Installer 0.9.0 released
This did the trick; no problems on a different PC.JoshSD wrote:OK, no worries. I will do the configuration work on a more modern machine.
Re: Reef Angel Installer 0.9.0 released
Glad you got it working and thanks for sharing that old computers may have issues.
Roberto.
Re: Reef Angel Installer 0.9.0 released
Hey guys,
My MoonPhase is still not working properly. Even if I comment out the IF statement and just set PWM3 to MoonPhase
ie. PWMChannel[LEDPWM3]=MoonPhase();
that channel never goes past 1% ON. It's been on 1% for the past 2 hours and my unit is NOT frozen. Any ideas? Thanks.
-J
My MoonPhase is still not working properly. Even if I comment out the IF statement and just set PWM3 to MoonPhase
ie. PWMChannel[LEDPWM3]=MoonPhase();
that channel never goes past 1% ON. It's been on 1% for the past 2 hours and my unit is NOT frozen. Any ideas? Thanks.
-J
Re: Reef Angel Installer 0.9.0 released
Well, we have a new moon...
It's supposed to be at 1%.
It will follow the lunar cycle. If you want it to be lit all the time, you can just set to any percentage between 0 and 100%.
It's supposed to be at 1%.
It will follow the lunar cycle. If you want it to be lit all the time, you can just set to any percentage between 0 and 100%.
Roberto.
Re: Reef Angel Installer 0.9.0 released
Can I change the range to 15 - 100 (15 being new moon and 100 being full)? Thanks.
-J
-J
Re: Reef Angel Installer 0.9.0 released
Try this:
Code: Select all
PWMChannel[LEDPWM3]=(MoonPhase()*.85)+15;
Roberto.
Re: Reef Angel Installer 0.9.0 released
Can a link be posted to the old RA installer? I looked on the download page and only saw the new .90 one. Thanks!
Re: Reef Angel Installer 0.9.0 released
Cool, thanks Roberto.rimai wrote:http://reefangel.com/files/devlibs_0.8.5.19.zip
Oh, this is just the old Dev libs, I was looking for the old installer that had the older version of Arduino.