Reef Angel Installer 0.9.0 released

Community contributed apps
binder
Posts: 2871
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Reef Angel Installer 0.9.0 released

Post by binder »

aranax wrote:Thanks Curt. I'm back up and running. As usual, the support you guys provide is top notch. Thanks again.

-J
Awesome. :D Glad you are up and running again.
aranax
Posts: 120
Joined: Thu Jun 02, 2011 11:54 pm

Re: Reef Angel Installer 0.9.0 released

Post by aranax »

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
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Reef Angel Installer 0.9.0 released

Post by rimai »

Nothing was changed for those.
Roberto.
JoshSD
Posts: 37
Joined: Sun Dec 04, 2011 3:19 pm

Re: Reef Angel Installer 0.9.0 released

Post by JoshSD »

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.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Reef Angel Installer 0.9.0 released

Post by rimai »

I have not seen these errors before.
Roberto.
JoshSD
Posts: 37
Joined: Sun Dec 04, 2011 3:19 pm

Re: Reef Angel Installer 0.9.0 released

Post by JoshSD »

rimai wrote:I have not seen these errors before.
thanks for the quick reply. Are there any other prerequisites to the 0.9.0 installer?
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Reef Angel Installer 0.9.0 released

Post by rimai »

No.
Everything should've been installed for you.
Roberto.
JoshSD
Posts: 37
Joined: Sun Dec 04, 2011 3:19 pm

Re: Reef Angel Installer 0.9.0 released

Post by JoshSD »

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.
JoshSD
Posts: 37
Joined: Sun Dec 04, 2011 3:19 pm

Re: Reef Angel Installer 0.9.0 released

Post by JoshSD »

JoshSD wrote:OK, no worries. I will do the configuration work on a more modern machine.
This did the trick; no problems on a different PC.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Reef Angel Installer 0.9.0 released

Post by rimai »

Glad you got it working and thanks for sharing that old computers may have issues.
Roberto.
aranax
Posts: 120
Joined: Thu Jun 02, 2011 11:54 pm

Re: Reef Angel Installer 0.9.0 released

Post by aranax »

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
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Reef Angel Installer 0.9.0 released

Post by rimai »

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%.
Roberto.
aranax
Posts: 120
Joined: Thu Jun 02, 2011 11:54 pm

Re: Reef Angel Installer 0.9.0 released

Post by aranax »

Can I change the range to 15 - 100 (15 being new moon and 100 being full)? Thanks.

-J
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Reef Angel Installer 0.9.0 released

Post by rimai »

Try this:

Code: Select all

PWMChannel[LEDPWM3]=(MoonPhase()*.85)+15;
Roberto.
StuGotz
Posts: 95
Joined: Sat Oct 15, 2011 9:17 am

Re: Reef Angel Installer 0.9.0 released

Post by StuGotz »

Can a link be posted to the old RA installer? I looked on the download page and only saw the new .90 one. Thanks!
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Reef Angel Installer 0.9.0 released

Post by rimai »

Roberto.
StuGotz
Posts: 95
Joined: Sat Oct 15, 2011 9:17 am

Re: Reef Angel Installer 0.9.0 released

Post by StuGotz »

Cool, thanks Roberto.


Oh, this is just the old Dev libs, I was looking for the old installer that had the older version of Arduino.
Post Reply