View Single Post
Unread 10/29/2013, 11:17 PM   #99
sdtimer
Registered Member
 
Join Date: Jul 2013
Posts: 12
Quote:
Originally Posted by d0ughb0y View Post
I don't think you can add that routine into ISR. The ISRs currently take about 100-200us time to execute. The LED functions contain a lot of floating point operations and will take a lot of time inside the ISR. Besides, you cannot call analogWrite inside an ISR, you have to write directly to timer registers. I can see a time based ramp up/ ramp down can work in ISR, but not a sunrise/sunset based function with a lot of floating point calculations.

What LED are you using? If I can get a unit to test and use, I can write a code for it.

It is possible to add ORP, Wifi etc. ORP and Conductivity/Salinity (specific gravity) probes are currently supported when using the htm with Neptune Apex controller. Arduino Wifi shield will be easier to convert. Using wifi like RN-XV wifly with serial interface will take a lot more work to convert. Do you have any low cost wifi module you plan to use?

Please email me regarding your plan with the controller.
The LED is own Diy, have 5 channel:
1, Cree white 7000-8300K 8pcs;
2, Cree blue 465-470nm 8 pcs;
2, PHILIPS deepblue 450-455nm 8 pcs;
3, Purple 415-420nm 4 pcs;
Purple 400-410nm 4 pcs;
4, Yellow 585-595nm 2pcs;
Green 515-530nm 4pcs;
Red 655-660nm 4pcs;
Per cnannel 1 Meanwell LDD-1000H. The power is Meanwell 360W 36V.
I am using arduino 2560 pin 2,3,9,11,12 Control PWM is OK.

And how much wp25&wp40 in USA.



Last edited by sdtimer; 10/29/2013 at 11:26 PM.
sdtimer is offline   Reply With Quote