Just getting started, need help with lights first
-
- Posts: 29
- Joined: Sat Jun 09, 2012 11:18 pm
Just getting started, need help with lights first
I'm just beginning and would like some help to start with the lights. I've got a pretty ambitious list but to get started the first thing I need to do is set all PWM channels to 100% so I can adjust the current on the Meanwell LED drivers. There will be 4 channels to start with a Meanwell P series driver on each.
I have a new RA Plus unit and what appears to be a 2nd gen PWM expansion module so I guess the first question is do I need to place any jumpers or toggle any dip switches? After that I just need some basic code to set the PWM channels to 100%.
Next I'll need to some kind of interface to adjust the intensity of each channel to get everything dialed in.
Thanks in advance.
Sean
I have a new RA Plus unit and what appears to be a 2nd gen PWM expansion module so I guess the first question is do I need to place any jumpers or toggle any dip switches? After that I just need some basic code to set the PWM channels to 100%.
Next I'll need to some kind of interface to adjust the intensity of each channel to get everything dialed in.
Thanks in advance.
Sean
Re: Just getting started, need help with lights first
Yes, you need to make sure you have jumpers on the head unit.
If I have not left them there already. Some of the RA+ got shipped with them installed.
Then, to set the % to 100, use this:
If I have not left them there already. Some of the RA+ got shipped with them installed.
Then, to set the % to 100, use this:
Code: Select all
#include <Salinity.h>
#include <ReefAngel_Features.h>
#include <Globals.h>
#include <RA_Wifi.h>
#include <Wire.h>
#include <OneWire.h>
#include <Time.h>
#include <DS1307RTC.h>
#include <InternalEEPROM.h>
#include <RA_NokiaLCD.h>
#include <RA_ATO.h>
#include <RA_Joystick.h>
#include <LED.h>
#include <RA_TempSensor.h>
#include <Relay.h>
#include <RA_PWM.h>
#include <Timer.h>
#include <Memory.h>
#include <InternalEEPROM.h>
#include <RA_Colors.h>
#include <RA_CustomColors.h>
#include <RF.h>
#include <IO.h>
#include <ORP.h>
#include <AI.h>
#include <ReefAngel.h>
void setup()
{
ReefAngel.Init(); //Initialize controller
}
void loop()
{
ReefAngel.PWM.SetChannel(0,100);
ReefAngel.PWM.SetChannel(1,100);
ReefAngel.PWM.SetChannel(2,100);
ReefAngel.PWM.SetChannel(3,100);
ReefAngel.PWM.SetChannel(4,100);
ReefAngel.PWM.SetChannel(5,100);
ReefAngel.ShowInterface();
}
Roberto.
-
- Posts: 29
- Joined: Sat Jun 09, 2012 11:18 pm
Re: Just getting started, need help with lights first
Many thanks, I didn't see any extra jumpers packaged so we'll assume they're installed for now.
Here's my code now, I used the PWM expansion menu and see each channel set at 100 on the head unit.
The 12v power supply for the PWM expansion module is plugged into the jack next to the USB plug and the green light is on. Can you confirm this is okay and pins 8 and 9 don't need to be used? I measure 9.6v on pins 0, 1, 2, 3, 4 and 5. Using pin 7 as the GND and 8 and 9 are unused.
Here's my code now, I used the PWM expansion menu and see each channel set at 100 on the head unit.
Code: Select all
#include <Salinity.h>
#include <ReefAngel_Features.h>
#include <Globals.h>
#include <RA_Wifi.h>
#include <Wire.h>
#include <OneWire.h>
#include <Time.h>
#include <DS1307RTC.h>
#include <InternalEEPROM.h>
#include <RA_NokiaLCD.h>
#include <RA_ATO.h>
#include <RA_Joystick.h>
#include <LED.h>
#include <RA_TempSensor.h>
#include <Relay.h>
#include <RA_PWM.h>
#include <Timer.h>
#include <Memory.h>
#include <InternalEEPROM.h>
#include <RA_Colors.h>
#include <RA_CustomColors.h>
#include <RF.h>
#include <IO.h>
#include <ORP.h>
#include <AI.h>
#include <ReefAngel.h>
byte x,y;
char text[10];
void DrawCustomMain()
{
// the graph is drawn/updated when we exit the main menu &
// when the parameters are saved
ReefAngel.LCD.Clear(BtnActiveColor,5,0,127,11);
ReefAngel.LCD.DrawText(DefaultBGColor,BtnActiveColor,30,3,"My Reef Angel");
ReefAngel.LCD.DrawDate(6, 122);
pingSerial();
ReefAngel.LCD.DrawMonitor(15, 20, ReefAngel.Params,
ReefAngel.PWM.GetDaylightValue(), ReefAngel.PWM.GetActinicValue());
pingSerial();
ReefAngel.LCD.Clear(DefaultFGColor,5,52,127,52);
ReefAngel.LCD.DrawText(COLOR_DARKGOLDENROD,DefaultBGColor,30,55,"PWM Expansion");
x=15;
y=68;
for (int a=0;a<6;a++)
{
if (a>2) x=75;
if (a==3) y=68;
ReefAngel.LCD.DrawText(COLOR_DARKGOLDENROD,DefaultBGColor,x,y,"Ch :");
ReefAngel.LCD.DrawText(COLOR_DARKGOLDENROD,DefaultBGColor,x+12,y,a);
ConvertNumToString(text, ReefAngel.PWM.GetChannelValue(a), 1);
strcat(text," ");
ReefAngel.LCD.DrawText(COLOR_DARKGOLDENROD,DefaultBGColor,x+24,y,text);
y+=10;
}
pingSerial();
byte TempRelay = ReefAngel.Relay.RelayData;
TempRelay &= ReefAngel.Relay.RelayMaskOff;
TempRelay |= ReefAngel.Relay.RelayMaskOn;
ReefAngel.LCD.DrawOutletBox(12, 103, TempRelay);
}
void DrawCustomGraph()
{
}
/*
To be able to use the custom main screen and PWM Expansion, please make sure that you enabled custom main screen and pwm expansion on your features file.
Open RAGen and make sure you have Custom Main Screen and PWM Expansion checked under the Features tab.
Or, you can manually edit the file.
The file is located at "Documents\Arduino\libraries\ReefAngel_Features.h" file and has to include this line in it:
#define CUSTOM_MAIN
#define PWMEXPANSION
*/
void setup()
{
ReefAngel.Init(); //Initialize controller
// Ports that are always on
ReefAngel.Relay.On(Port8);
////// Place additional initialization code below here
////// Place additional initialization code above here
}
void loop()
{
// Specific functions that use Internal Memory values
ReefAngel.StandardLights(Port1);
ReefAngel.StandardLights(Port2);
ReefAngel.StandardLights(Port3);
ReefAngel.StandardLights(Port4);
ReefAngel.StandardHeater(Port5);
ReefAngel.StandardFan(Port6);
ReefAngel.StandardFan(Port7);
////// Place your custom code below here
ReefAngel.PWM.SetChannel(0,100);
ReefAngel.PWM.SetChannel(1,100);
ReefAngel.PWM.SetChannel(2,100);
ReefAngel.PWM.SetChannel(3,100);
ReefAngel.PWM.SetChannel(4,100);
ReefAngel.PWM.SetChannel(5,100);
////// Place your custom code above here
// This should always be the last line
ReefAngel.ShowInterface();
}
Re: Just getting started, need help with lights first
You are good.
If you want to use pin 8 and 9, they are both extra GND pins on the gen2 module. I need to update the manual.
Sorry for the confusion.
If you want to use pin 8 and 9, they are both extra GND pins on the gen2 module. I need to update the manual.
Sorry for the confusion.
Roberto.
-
- Posts: 29
- Joined: Sat Jun 09, 2012 11:18 pm
Re: Just getting started, need help
Many thanks for the help with the lights Roberto. The new aquarium is all setup now and will be ready to cycle soon.
Now it's time to program everything. The list isn't as long as it looks but I wasn't sure where to start. Hoping you can point me towards some examples of code I could look at and modify for my own use. Here's the list of channel assignments and functions:
1-1 White LED's (1-hour slope to 50%, start 11AM, stop 10PM)
1-2 Royal Blue #1 (1-hour slope to 100%, start 10AM, stop 11PM)
1-3 Royal Blue #2 (1-hour slope to 100%, start 10AM, stop 11PM)
1-4 UV LED's (1-hour slope 50-100 and 100-50, start 10AM, stop 11pm) UV stays on at night at 50%
1-5 Fans - LED's (ON at 10AM, OFF at 11PM)
1-6 Fan - sump (ON at 77.5 F, OFF at 77.0 F)
1-7 Chiller (ON at 79.0 F, OFF at 77.0 F) OFF during water change mode
1-8 Heater (ON at 76.0 F, OFF at 77.0 F) OFF during water change mode
2-1 ATO (Always ON) OFF during waterchange mode
2-2 UV sterilizer (Always ON) OFF during waterchange mode
2-3 Kalk reactor (ON for 10 minutes 4x a day, 6AM, 12noon, 6PM, 12midnight)
2-4 Skimmer (Always ON) OFF during waterchange mode and feeding mode
2-5 Sump light (ON at 10:30PM, OFF at 10:30AM)
2-6 Return pump (Always ON) OFF during waterchange and feeding mode
2-7 Vortech #1 (Always ON)
2-8 Vortech #2 (Always ON)
Not sure if it will make a difference when programming the PWM slope but in testing I've found the LED's turn ON at 12%. Does that mean the slope can start at 10 or 11%?
Thanks,
Sean
Now it's time to program everything. The list isn't as long as it looks but I wasn't sure where to start. Hoping you can point me towards some examples of code I could look at and modify for my own use. Here's the list of channel assignments and functions:
1-1 White LED's (1-hour slope to 50%, start 11AM, stop 10PM)
1-2 Royal Blue #1 (1-hour slope to 100%, start 10AM, stop 11PM)
1-3 Royal Blue #2 (1-hour slope to 100%, start 10AM, stop 11PM)
1-4 UV LED's (1-hour slope 50-100 and 100-50, start 10AM, stop 11pm) UV stays on at night at 50%
1-5 Fans - LED's (ON at 10AM, OFF at 11PM)
1-6 Fan - sump (ON at 77.5 F, OFF at 77.0 F)
1-7 Chiller (ON at 79.0 F, OFF at 77.0 F) OFF during water change mode
1-8 Heater (ON at 76.0 F, OFF at 77.0 F) OFF during water change mode
2-1 ATO (Always ON) OFF during waterchange mode
2-2 UV sterilizer (Always ON) OFF during waterchange mode
2-3 Kalk reactor (ON for 10 minutes 4x a day, 6AM, 12noon, 6PM, 12midnight)
2-4 Skimmer (Always ON) OFF during waterchange mode and feeding mode
2-5 Sump light (ON at 10:30PM, OFF at 10:30AM)
2-6 Return pump (Always ON) OFF during waterchange and feeding mode
2-7 Vortech #1 (Always ON)
2-8 Vortech #2 (Always ON)
Not sure if it will make a difference when programming the PWM slope but in testing I've found the LED's turn ON at 12%. Does that mean the slope can start at 10 or 11%?
Thanks,
Sean
Re: Just getting started, need help with lights first
Give the Reef Angel Wizard a try 
You should be able to get pretty much all you want with it.
Open Arduino and go to menu Tools->Reef Angel Wizard
If you still can't get it going, paste the code you got from the wizard and we can change the stuff you couldn't get done.

You should be able to get pretty much all you want with it.
Open Arduino and go to menu Tools->Reef Angel Wizard
If you still can't get it going, paste the code you got from the wizard and we can change the stuff you couldn't get done.
Roberto.
- DrewPalmer04
- Posts: 818
- Joined: Tue May 29, 2012 2:12 pm
- Location: Christopher, IL
Re: Just getting started, need help with lights first
Way to plan ahead. Good work!
-
- Posts: 29
- Joined: Sat Jun 09, 2012 11:18 pm
Re: Just getting started, need help with lights first
Thanks much, it's the syntax for the functions and how to define ports on the second module that I was struggling with. Some sample code helped and then the pieces started falling together.
Here's what I have so far, I think it does everything I listed above with the exception of setting the ports on the second module for waterchange and feed modes. I can't figure out the syntax to specify which Box the Port is on for these two modes.
For the cooling fans on the LED's I used the StandardLights function so I could define the times they turn ON and OFF, not sure if there's a better way to do that but it seems like it should work.
Here's what I have so far, I think it does everything I listed above with the exception of setting the ports on the second module for waterchange and feed modes. I can't figure out the syntax to specify which Box the Port is on for these two modes.
Code: Select all
#include <ReefAngel_Features.h>
#include <Globals.h>
#include <RA_Wifi.h>
#include <Wire.h>
#include <OneWire.h>
#include <Time.h>
#include <DS1307RTC.h>
#include <InternalEEPROM.h>
#include <RA_NokiaLCD.h>
#include <RA_ATO.h>
#include <RA_Joystick.h>
#include <LED.h>
#include <RA_TempSensor.h>
#include <Relay.h>
#include <RA_PWM.h>
#include <Timer.h>
#include <Memory.h>
#include <IO.h>
#include <ReefAngel.h>
////// Place global variable code below here
////// Place global variable code above here
void setup()
{
// This must be the first line
ReefAngel.Init(); //Initialize controller
//Ports that are always on
ReefAngel.Relay.On(Box2_Port1);
ReefAngel.Relay.On(Box2_Port2);
ReefAngel.Relay.On(Box2_Port4);
ReefAngel.Relay.On(Box2_Port6);
ReefAngel.Relay.On(Box2_Port7);
ReefAngel.Relay.On(Box2_Port8);
// Ports toggled in Feeding Mode
ReefAngel.FeedingModePorts = 0;
// Ports toggled in Water Change Mode
ReefAngel.WaterChangePorts = Port7Bit | Port8Bit;
// Ports turned off when Overheat temperature exceeded
ReefAngel.OverheatShutoffPorts = 0;
// Ports toggled when Lights On / Off menu entry selected
ReefAngel.LightsOnPorts = Port1Bit | Port2Bit | Port3Bit | Port4Bit;
////// Place additional initialization code below here
////// Place additional initialization code above here
}
void loop()
{
// Specific functions that use Internal Memory values
ReefAngel.StandardLights(Box1_Port1,11,0,22,0);
ReefAngel.StandardLights(Box1_Port2,10,0,23,0);
ReefAngel.StandardLights(Box1_Port3,10,0,23,0);
ReefAngel.StandardLights(Box1_Port4);
ReefAngel.StandardLights(Box1_Port5,10,0,23,30);
ReefAngel.StandardFan(Box1_Port6, 775,770);
ReefAngel.StandardFan(Box1_Port7, 790,770);
ReefAngel.StandardHeater(Box1_Port8,760,770);
ReefAngel.DosingPumpRepeat(Box2_Port3,0,360,600);
ReefAngel.StandardLights(Box2_Port5,22,30,10,30);
////// Place your custom code below here
ReefAngel.PWM.SetChannel(0,PWMSlope(11,0,22,0,12,50,60,12));
ReefAngel.PWM.SetChannel(1,PWMSlope(10,0,23,0,12,100,60,12));
ReefAngel.PWM.SetChannel(2,PWMSlope(10,0,23,0,12,100,60,12));
ReefAngel.PWM.SetChannel(3,PWMSlope(10,0,23,0,50,100,60,50));
////// Place your custom code above here
// This sends all the data to the portal
// Do not add any custom code that changes any relay status after this line
// The only code after this line should be the ShowInterface function
ReefAngel.Portal("????", "????");
// This should always be the last line
ReefAngel.ShowInterface();
}
Re: Just getting started, need help with lights first
Cool.
Waterchange and feeding for the expansion box would be:
Waterchange and feeding for the expansion box would be:
Code: Select all
ReefAngel.FeedingModePortsE[0] = Port4Bit | Port6Bit ;
ReefAngel.WaterChangePortsE[0] = Port1Bit | Port2Bit | Port4Bit | Port6Bit ;
Roberto.
Re: Just getting started, need help with lights first
Oh, StandardLights for the cooling fans work fine. What's what I use too. The function can be misleading sometimes. There is a motion to change them to TimedPort or something similar to avoid this notion.
https://github.com/reefangel/Libraries/issues/10
https://github.com/reefangel/Libraries/issues/10
Roberto.
-
- Posts: 29
- Joined: Sat Jun 09, 2012 11:18 pm
Re: Just getting started, need help with lights first
Hi Roberto, I'm trying to setup the RF module now but having some trouble. When I upload the VortechSetup code the RF module isn't blinking blue and green, it's blinking blue only.
Was there a jumper I was supposed to add on the board? None shipped but I might have an old hard-drive laying around if they're they same size.
Was there a jumper I was supposed to add on the board? None shipped but I might have an old hard-drive laying around if they're they same size.
Re: Just getting started, need help with lights first
Yes, they should be the same size.
The new head units are coming with them pre-installed, but with offset.
You just need to move them over.
The new head units are coming with them pre-installed, but with offset.
You just need to move them over.
Roberto.
-
- Posts: 29
- Joined: Sat Jun 09, 2012 11:18 pm
Re: Just getting started, need help with lights first
Okay, jumpers not needed apparently. There were already jumpers on the SCA and SCL pins.
What can I try next? The RF module needs to be blinking green and blue signifying it's the master before I can assign the pumps as slaves right?
What can I try next? The RF module needs to be blinking green and blue signifying it's the master before I can assign the pumps as slaves right?
Re: Just getting started, need help with lights first
I wonder if the green channel is not lighting up.
Can you try syncing it anyway, even though it is not blinking blue/green?
Can you try syncing it anyway, even though it is not blinking blue/green?
Roberto.
-
- Posts: 29
- Joined: Sat Jun 09, 2012 11:18 pm
Re: Just getting started, need help with lights first
I've tried it on both pumps a couple times, they won't go into slave mode. I can set either pump into master and the other to slave as they were before but they won't go into slave mode if there isn't a master set already.
Re: Just getting started, need help with lights first
What color does your RF module show with this code?
What about this one?
Code: Select all
#include <Salinity.h>
#include <ReefAngel_Features.h>
#include <Globals.h>
#include <RA_Wifi.h>
#include <Wire.h>
#include <OneWire.h>
#include <Time.h>
#include <DS1307RTC.h>
#include <InternalEEPROM.h>
#include <RA_NokiaLCD.h>
#include <RA_ATO.h>
#include <RA_Joystick.h>
#include <LED.h>
#include <RA_TempSensor.h>
#include <Relay.h>
#include <RA_PWM.h>
#include <Timer.h>
#include <Memory.h>
#include <InternalEEPROM.h>
#include <RA_Colors.h>
#include <RA_CustomColors.h>
#include <RF.h>
#include <IO.h>
#include <ORP.h>
#include <AI.h>
#include <PH.h>
#include <WaterLevel.h>
#include <ReefAngel.h>
void setup()
{
ReefAngel.Init();
ReefAngel.AddRFExpansion();
}
void loop()
{
ReefAngel.RF.UseMemory=false;
ReefAngel.RF.SetMode(Constant,50,0);
ReefAngel.ShowInterface();
}
Code: Select all
#include <Salinity.h>
#include <ReefAngel_Features.h>
#include <Globals.h>
#include <RA_Wifi.h>
#include <Wire.h>
#include <OneWire.h>
#include <Time.h>
#include <DS1307RTC.h>
#include <InternalEEPROM.h>
#include <RA_NokiaLCD.h>
#include <RA_ATO.h>
#include <RA_Joystick.h>
#include <LED.h>
#include <RA_TempSensor.h>
#include <Relay.h>
#include <RA_PWM.h>
#include <Timer.h>
#include <Memory.h>
#include <InternalEEPROM.h>
#include <RA_Colors.h>
#include <RA_CustomColors.h>
#include <RF.h>
#include <IO.h>
#include <ORP.h>
#include <AI.h>
#include <PH.h>
#include <WaterLevel.h>
#include <ReefAngel.h>
void setup()
{
ReefAngel.Init();
ReefAngel.AddRFExpansion();
}
void loop()
{
ReefAngel.RF.UseMemory=false;
ReefAngel.RF.SetMode(LongPulse,50,100);
ReefAngel.ShowInterface();
}
Roberto.
-
- Posts: 29
- Joined: Sat Jun 09, 2012 11:18 pm
Re: Just getting started, need help with lights first
Okay, the RF module was still blinking blue when I uploaded the first set of code and it continued to blink blue.
I disconnected the USB from the RF module and plugged it back in and the color turned solid purple.
I uploaded the first set of code again and it remained purple.
I uploaded the second set of code and it remained solid purple.
I disconnected the USB and plugged it in again and it remained solid purple.
I uploaded the second set of code again and it remained purple.
I then went back and tried the Vortechsetup code again and it started to blink blue.
I disconnected the USB and plugged it back in and the RF unit had no light at all.
I uploaded the Vortechsetup code again and it started to blink blue.
For sh*ts and giggles I tried it again with my Vortech pumps turned off but no change.
I disconnected the USB from the RF module and plugged it back in and the color turned solid purple.
I uploaded the first set of code again and it remained purple.
I uploaded the second set of code and it remained solid purple.
I disconnected the USB and plugged it in again and it remained solid purple.
I uploaded the second set of code again and it remained purple.
I then went back and tried the Vortechsetup code again and it started to blink blue.
I disconnected the USB and plugged it back in and the RF unit had no light at all.
I uploaded the Vortechsetup code again and it started to blink blue.
For sh*ts and giggles I tried it again with my Vortech pumps turned off but no change.
Re: Just getting started, need help with lights first
Ok, let's try this one:
Code: Select all
#include <Salinity.h>
#include <ReefAngel_Features.h>
#include <Globals.h>
#include <RA_Wifi.h>
#include <Wire.h>
#include <OneWire.h>
#include <Time.h>
#include <DS1307RTC.h>
#include <InternalEEPROM.h>
#include <RA_NokiaLCD.h>
#include <RA_ATO.h>
#include <RA_Joystick.h>
#include <LED.h>
#include <RA_TempSensor.h>
#include <Relay.h>
#include <RA_PWM.h>
#include <Timer.h>
#include <Memory.h>
#include <InternalEEPROM.h>
#include <RA_Colors.h>
#include <RA_CustomColors.h>
#include <RF.h>
#include <IO.h>
#include <ORP.h>
#include <AI.h>
#include <PH.h>
#include <WaterLevel.h>
#include <ReefAngel.h>
void setup()
{
ReefAngel.Init();
}
void loop()
{
ReefAngel.RF.UseMemory=false;
if (now()%30<5) ReefAngel.RF.SetMode(Constant,50,0);
if (now()%30>=5 && now()%30<10) ReefAngel.RF.SetMode(ReefCrest,50,10);
if (now()%30>=10 && now()%30<15) ReefAngel.RF.SetMode(ShortPulse,50,10);
if (now()%30>=15 && now()%30<20) ReefAngel.RF.SetMode(LongPulse,50,10);
if (now()%30>=20 && now()%30<25) ReefAngel.RF.SetMode(NutrientTransport,50,10);
if (now()%30>=25 && now()%30<30) ReefAngel.RF.SetMode(Storm,50,10);
ReefAngel.ShowInterface();
}
Roberto.
-
- Posts: 29
- Joined: Sat Jun 09, 2012 11:18 pm
Re: Just getting started, need help with lights first
Okay, lights were still blink blue when I uploaded and it continued to blink blue.
Disconnected the USB and reconnected and it turned solid purple.
Uploaded the code again and it remained solid purple.
Disconnected the USB and reconnected and it turned solid purple.
Uploaded the code again and it remained solid purple.
Re: Just getting started, need help with lights first
It should change colors every 5 seconds. Is it not changing colors?
Roberto.
-
- Posts: 29
- Joined: Sat Jun 09, 2012 11:18 pm
Re: Just getting started, need help with lights first
Oops! I was copying the same code into the editor
Let's back up to the first of the two set's of code from your previous post because I didn't test the first one correctly. The first bit of code the RF unit did not light up. Seeing how this was the constant mode it seems we're on to something.
I tested the code from your last past again and it does change every 5 seconds but when it gets to the constant mode the LED turns off, no green.

Let's back up to the first of the two set's of code from your previous post because I didn't test the first one correctly. The first bit of code the RF unit did not light up. Seeing how this was the constant mode it seems we're on to something.
I tested the code from your last past again and it does change every 5 seconds but when it gets to the constant mode the LED turns off, no green.
Re: Just getting started, need help with lights first
That's what I was suspecting.
The green channel LED is not working and that's why it doesn't blink blue/green.
It should've synced though. It's just a visual problem.
It's defective and needs to be sent back for repair to get the green channel working again.
PM me.
The green channel LED is not working and that's why it doesn't blink blue/green.
It should've synced though. It's just a visual problem.
It's defective and needs to be sent back for repair to get the green channel working again.
PM me.
Roberto.
-
- Posts: 29
- Joined: Sat Jun 09, 2012 11:18 pm
Re: Just getting started, need help with lights first
I went back and tried it again working with the assumption that just the green LED wasn't working. The pumps kept flashing the red/blue code signifying it wasn't communicating successfully and all 3 units are sitting on a table an inch from each other.
I tried it again holding the RF module a few inches above the Vortech modules and the pumps synced this time.
Thanks much for the all the help. I don't want to send it back for just a status LED so long as it's functioning and we seem to be in business now.
I tried it again holding the RF module a few inches above the Vortech modules and the pumps synced this time.
Thanks much for the all the help. I don't want to send it back for just a status LED so long as it's functioning and we seem to be in business now.
-
- Posts: 29
- Joined: Sat Jun 09, 2012 11:18 pm
Re: Just getting started, need help with lights first
Looking for some help setting up a kalk reactor. I've never used one before and concerned about overshooting the pH.
How would I insert a case statement to turn a port off based on the pH? The idea was to turn the ATO pump off if the pH is over 8.3.
Any other suggestions for setting the kalk reactor are welcome. I have the RA dosing pump unit on order so I could either use the second dosing pump to add regular RO/DI water when the pH is above 8.3 or maybe use it to dose magnesium.
How would I insert a case statement to turn a port off based on the pH? The idea was to turn the ATO pump off if the pH is over 8.3.
Any other suggestions for setting the kalk reactor are welcome. I have the RA dosing pump unit on order so I could either use the second dosing pump to add regular RO/DI water when the pH is above 8.3 or maybe use it to dose magnesium.
Re: Just getting started, need help with lights first
How do you want to feed the kalk?
With ato, dose every x minutes, everytime ph drops?
With ato, dose every x minutes, everytime ph drops?
-
- Posts: 29
- Joined: Sat Jun 09, 2012 11:18 pm
Re: Just getting started, need help with lights first
Well right now I have the reactor connected to the ATO but it will overshoot the pH during the day if I leave it on. I guess having it dose whenever the pH drops below 8.3 would be a good place to start. That should have it drip over the evening when the pH drops normally.
Re: Just getting started, need help with lights first
Did you try the wizard?
It has a ph control function.
It has a ph control function.
Roberto.
-
- Posts: 29
- Joined: Sat Jun 09, 2012 11:18 pm
Re: Just getting started, need help with lights first
Is that RAGen? I looked but didn't see anything.
Re: Just getting started, need help with lights first
no. the wizard is inside arduino.reefer gladness wrote:Is that RAGen? I looked but didn't see anything.