Amuzed01
Fri, 10th Jan 2014, 04:57 PM
After a couple of mistakes with the drivers from Steve's LEDs I have decided to build my own. Using the board designed by rrasco I will be using 16 meanwell LDD 700h drivers running 126 luxeon 3 watt leds. The wiring has taken a bit of time but hopefully I can finish and get my lights turned back on over my 210.
Sent from my HTC One using Tapatalk
Amuzed01
Fri, 10th Jan 2014, 04:58 PM
Pics so far.
Sent from my HTC One using Tapatalk
envy
Fri, 10th Jan 2014, 08:11 PM
what happen with the drivers. I have Steves Leds and didnt have any problems. They have a really good customer service.
rrasco
Fri, 10th Jan 2014, 10:30 PM
It's awesome how much these boards have evolved. I was just reading up on the original thread and am glad they are still being used. Kinda funny to see coralux selling a similar design. Oh well, as long as it helps people.
Amuzed01
Fri, 10th Jan 2014, 10:40 PM
The customer service IS great (I didn't mean a mistake by Steves....the mistake was all mine). My problem was that the drivers did not do what I needed/wanted. I purchased the complete setup that included 6 drivers with 3 chips per, which means I get control over 21 LED's per channel. The new setup allows me to control any amount down to 7 LEDS per channel. I know there is no need for control down to that level, but I bought DIY for a reason, so I can make it do what I want, lol.
The issue started when I received the set up from steve, the made a mistake and sent me the 95% complete set, so instead of receiving 126 individual LED's I have 6 strips that 7 white and 7 blue and 3 strips with 14 blue already reflowed on. It was great in the fact that it made install easy, but after having the LEDs for 6 months I wanted to do more things, like actually have the sunrise start on one side and slowly light the tank as the led's come on. Instead of the all the blues starting at 0% and over an hour going to 100% then all of the whites coming on at 0% and over an hour reaching 100%. I know sounds weird, and there is no benefit for the corals, but once again, it's something I want to do.
Amuzed01
Sat, 11th Jan 2014, 12:33 AM
It's awesome how much these boards have evolved. I was just reading up on the original thread and am glad they are still being used. Kinda funny to see coralux selling a similar design. Oh well, as long as it helps people.
If they work as I have planned, it should be a sweet set-up. If I wouldn't of had the time constraint (blues only for 3 weeks) I would have just used the files and had my own boards build, but meh, what can you do. Coralux had them available to ship, the chips on the other hand are still kind of hard to get.
envy
Sat, 11th Jan 2014, 09:00 PM
That sounds pretty cool. Did you buy the controller? I bought the typhon controller and I only have my lights set at 30%. ramp up slowly but I like the sound of your idea.
Amuzed01
Sat, 11th Jan 2014, 09:52 PM
I use Reef Angel to control them.
rrasco
Sat, 11th Jan 2014, 09:58 PM
I wouldn't mind seeing your code.
Amuzed01
Sun, 12th Jan 2014, 12:31 AM
I will post it up after I get the lights in (hopefully tomorrow).
Amuzed01
Sun, 12th Jan 2014, 12:41 AM
byte vtechmode=0;
#include <avr/pgmspace.h>
prog_char menu0_label[] PROGMEM = "Feeding";
prog_char menu1_label[] PROGMEM = "Water Change";
prog_char menu2_label[] PROGMEM = "ATO Clear";
prog_char menu3_label[] PROGMEM = "Fuge Lights";
prog_char menu4_label[] PROGMEM = "PH Calibration";
prog_char menu5_label[] PROGMEM = "Version";
PROGMEM const char *menu_items[] = {
menu0_label, menu1_label, menu2_label, menu3_label, menu4_label, menu5_label };
void MenuEntry1()
{
ReefAngel.FeedingModeStart();
}
void MenuEntry2()
{
ReefAngel.WaterChangeModeStart();
}
void MenuEntry3()
{
ReefAngel.ATOClear();
ReefAngel.DisplayMenuEntry("Clear ATO Timeout");
}
void MenuEntry4()
{
ReefAngel.Relay.Override(Port3, ReefAngel.Relay.Status(Port3)+1);
ReefAngel.DisplayedMenu = RETURN_MAIN_MODE;
}
void MenuEntry5()
{
ReefAngel.SetupCalibratePH();
ReefAngel.DisplayedMenu = ALT_SCREEN_MODE;
}
void MenuEntry6()
{
ReefAngel.DisplayVersion();
}
////// Place global variable code above here
void setup()
{
// This must be the first line
ReefAngel.Init(); //Initialize controller
ReefAngel.InitMenu(pgm_read_word(&(menu_items[0])),SIZE(menu_items));
// Ports toggled in Feeding Mode
ReefAngel.FeedingModePorts = Port4Bit | Port7Bit;
// Ports toggled in Water Change Mode
ReefAngel.WaterChangePorts = Port1Bit | Port2Bit | Port4Bit | Port7Bit;
// Ports toggled when Lights On / Off menu entry selected
ReefAngel.LightsOnPorts = 0;
// Ports turned off when Overheat temperature exceeded
ReefAngel.OverheatShutoffPorts = Port1Bit;
// Use T1 probe as temperature and overheat functions
ReefAngel.TempProbe = T1_PROBE;
ReefAngel.OverheatProbe = T1_PROBE;
// Feeeding and Water Change mode speed
ReefAngel.DCPump.WaterChangeSpeed=50;
ReefAngel.DCPump.FeedingSpeed=30;
ReefAngel.DCPump.ActinicChannel=Sync; // Now you're pump will be affected by the portal settings.
ReefAngel.DCPump.DaylightChannel=AntiSync; // Now you're pump will be affected by the portal settings.
// Ports that are always on
ReefAngel.Relay.On( Port4 );
ReefAngel.Relay.On( Port5 );
ReefAngel.Relay.On( Port7 );
////// Place additional initialization code below here
////// Place additional initialization code above here
}
void loop()
{
ReefAngel.StandardLights( Port6,10,0,20,0 );;
ReefAngel.StandardHeater( Port1 );
ReefAngel.SingleATO(true,Port2,6000,0);
if (!ReefAngel.HighATO.IsActive()==false) ReefAngel.Relay.Off(Port2);
ReefAngel.MoonLights( Port3 );
ReefAngel.Relay.Set(Port8, now()%1440<30);
ReefAngel.PWM.SetChannel( 0, PWMSlope(9,0,21,0,0,75,60,0) );
ReefAngel.PWM.SetChannel( 1, PWMSlope(9,0,21,0,0,75,60,0) );
ReefAngel.PWM.SetChannel( 2, PWMSlope(10,00,20,00,0,70,60,0) );
////// Place your custom code below here
if (hour()<8 || hour()>=21) {
vtechmode=1;
ReefAngel.DCPump.UseMemory=false;
ReefAngel.DCPump.Mode=Constant;
ReefAngel.DCPump.Speed=30;
} else if (InternalMemory.DCPumpMode_read()==Custom) {
vtechmode=2;
ReefAngel.DCPump.UseMemory=false;
ReefAngel.DCPump.Mode=Constant; // Won't really be constant. See next line.
ReefAngel.DCPump.Speed=ElseMode(50,20,true ); // ElseMode on sync mode, 40 +/- 20%
} else {
ReefAngel.DCPump.UseMemory=true; // Use whatever is in the portal
}
////// Place your custom code above here
// This should always be the last line
ReefAngel.Portal( "Amuzed01" );
ReefAngel.ShowInterface();
}
//Custom Main, Graph & Menu
void DrawCustomMain()
{
byte x = 6;
byte y = 2;
byte t;
char text[7];
ReefAngel.LCD.DrawDate(6, 4);
ReefAngel.LCD.Clear(COLOR_BLACK, 1, 11, 132, 11);
pingSerial();
ReefAngel.LCD.DrawLargeText(0,255,10,16," WP40 Mode:");
if (vtechmode == 0) ReefAngel.LCD.DrawLargeText(COLOR_LIMEGREEN,255,35 ,27,"Constant");
else if(vtechmode == 1) ReefAngel.LCD.DrawLargeText(COLOR_GOLD,255,42,26,"Lagoon");
else if (vtechmode == 2) ReefAngel.LCD.DrawLargeText(COLOR_GOLD,255,25,26,"Reef Crest");
else if (vtechmode == 3) ReefAngel.LCD.DrawLargeText(COLOR_CORNFLOWERBLUE,2 55,22,26,"Short Pulse");
else if (vtechmode == 4) ReefAngel.LCD.DrawLargeText(COLOR_PINK,255,25,26,"Long Pulse");
else if (vtechmode == 5) ReefAngel.LCD.DrawLargeText(COLOR_MAGENTA,255,8,26 ,"Nutrient Trnsp.");
else if (vtechmode == 6) ReefAngel.LCD.DrawLargeText(COLOR_MAGENTA,255,23,2 6,"Tidal Swell");
else if (vtechmode == 9) ReefAngel.LCD.DrawLargeText(COLOR_WHITE,255,45,26,"Night");
ReefAngel.LCD.DrawLargeText(0,255,17,49,"Sump");
ConvertNumToString(text, ReefAngel.Params.Temp[T1_PROBE], 10);
ReefAngel.LCD.DrawHugeText(COLOR_RED, 255, 12, 65, text, Num12x16);
pingSerial();
ReefAngel.LCD.DrawLargeText(0,255,100,40,"pH");
ConvertNumToString(text, ReefAngel.Params.PH, 100);
ReefAngel.LCD.DrawLargeText(COLOR_BLUE, 255, 89, 55, text, Num8x8);
pingSerial();
ReefAngel.LCD.DrawText(COLOR_CORNFLOWERBLUE,255,15 ,89, "WP40L");
ReefAngel.LCD.DrawText(COLOR_BLACK,255,20,100, ReefAngel.PWM.GetDaylightValue());
ReefAngel.LCD.DrawText(COLOR_CORNFLOWERBLUE,255,88 ,89, "WP40R");
ReefAngel.LCD.DrawText(COLOR_BLACK,255,95,100, ReefAngel.PWM.GetActinicValue());
pingSerial();
byte TempRelay = ReefAngel.Relay.RelayData;
TempRelay &= ReefAngel.Relay.RelayMaskOff;
TempRelay |= ReefAngel.Relay.RelayMaskOn;
ReefAngel.LCD.DrawOutletBox(12, 113, TempRelay);
}
void DrawCustomGraph()
{
}
byte ElseMode( byte MidPoint, byte Offset, boolean WaveSync )
{
// Static's only initialize the first time they are called
static unsigned long LastChange=millis(); // Set the inital time that the last change occurred
static int Delay = random( 500, 3000); // Set the initial delay
static int NewSpeed = MidPoint; // Set the initial speed
static int AntiSpeed = MidPoint; // Set the initial anti sync speed
if ((millis()-LastChange) > Delay) // Check if the delay has elapsed
{
Delay=random(500,5000); // If so, come up with a new delay
int ChangeUp = random(Offset); // Amount to go up or down
if (random(100)<50) // 50/50 chance of speed going up or going down
{
NewSpeed = MidPoint - ChangeUp;
AntiSpeed = MidPoint + ChangeUp;
}
else
{
NewSpeed = MidPoint + ChangeUp;
AntiSpeed = MidPoint - ChangeUp;
}
LastChange=millis(); // Reset the time of the last change
}
if (WaveSync)
{
return NewSpeed;
}
else
{
return AntiSpeed;
}
}
Amuzed01
Wed, 15th Jan 2014, 11:02 AM
The ldd drivers are working great, with the PWM dimming module I only have control of 6 channels, but that is enough to allow my sunrise sunset accross the tank. I may make a vid to show how it works
Sent from my HTC One using Tapatalk
OneReef
Thu, 6th Feb 2014, 03:17 PM
Awesome! I'm about to start my build, ordered my LED's from Rapid and got a 8up PCB w/ Fan control built into it from 02Surplus on RC. Want to use 6 channels for the fixture then the other two for the fuge light I'll make with the 7up XP-G's I have. How do you like the Reef Angel? Can you control more than 6 channels with it if you get another PWM module? That's also on my list.
rrasco
Thu, 6th Feb 2014, 03:25 PM
Awesome! I'm about to start my build, ordered my LED's from Rapid and got a 8up PCB w/ Fan control built into it from 02Surplus on RC. Want to use 6 channels for the fixture then the other two for the fuge light I'll make with the 7up XP-G's I have. How do you like the Reef Angel? Can you control more than 6 channels with it if you get another PWM module? That's also on my list.
Should be able to. The dimming expansion adds 6 channels. Not sure if you can retain the original 2, but I would presume so.
I've been meaning to update my boards to add the SCW for fan control. I really have not been able to keep up with that thread so I have some reading to do before I make any new versions.
I REALLY want to get some of the new Lumia 5.2s.
rrasco
Thu, 6th Feb 2014, 03:26 PM
byte vtechmode=0;
I didn't realize you posted your code. Awesome. I'll have to review it later.
OneReef
Thu, 6th Feb 2014, 03:32 PM
I saw those lumia 5.2's too, thought about getting one of those and an Auora puck but opted for pretty much the same LED's as a radion since I've seen Minh's tank and the colors and growth were awesome. If i'm not satisfied, then I'll order the lumia and give it a try. Just wish there were more reviews out on them.
rrasco
Thu, 6th Feb 2014, 03:55 PM
They've only been for sale for about 2 weeks. From what I hear, the spectrum is spot on. I want to test one before upgrading my DT though.
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.