Adjust dosing pump with joystick
-
Adam
- Posts: 38
- Joined: Sun Jan 29, 2012 8:03 am
Adjust dosing pump with joystick
Hi, I was woundering if there is a way I can change the seconds that each dosing pump runs with the joy stick on the controler. I don't have the wifi yet, and I would like to be able to increase or decrease the amount of time each pump runs with out taking it out and hooking it to my pc every time I want to change the seconds pump 1 and pump 2 run. I know it would be a custom menu but I don't know how to make a custom menu that will let me change the seconds the pumps run. Can this be done from the joystick on the controler or is it way more codding than I can do...which is almost none.
-
rimai
- Posts: 12857
- Joined: Fri Mar 18, 2011 6:47 pm
Re: Adjust dosing pump with joystick
You can use this app instead:
http://forum.reefangel.com/viewtopic.php?f=8&t=246
Or the Client:
http://forum.reefangel.com/viewtopic.php?f=8&t=175
http://forum.reefangel.com/viewtopic.php?f=8&t=246
Or the Client:
http://forum.reefangel.com/viewtopic.php?f=8&t=175
Roberto.
-
rimai
- Posts: 12857
- Joined: Fri Mar 18, 2011 6:47 pm
Re: Adjust dosing pump with joystick
Also, if you use this on the features file, it will enable the setup with joystick:
Code: Select all
#define DosingPumpSetup
Roberto.
-
Adam
- Posts: 38
- Joined: Sun Jan 29, 2012 8:03 am
Re: Adjust dosing pump with joystick
Thanks, I didn't think it was that easy. I've been looking in the libraries and watching tutotrals and yet most of this is still over my head.
-
Adam
- Posts: 38
- Joined: Sun Jan 29, 2012 8:03 am
Re: Adjust dosing pump with joystick
I'm getting an error reefangelclass has no member named DosingPumpSetup. It is high lighting the Void MenuEntry1. I guess I don't have the proper wording for what I want the menu to do and I'm not sure on what I need to put in.
// Autogenerated file by RAGen (v1.2.1.158), (02/17/2012 09:10)
// RA_021712_0910.ino
//
// This version designed for v0.9.0 or later
/* The following features are enabled for this File:
#define DisplayImages
#define DateTimeSetup
#define DisplayLEDPWM
#define DosingPumpSetup
#define CUSTOM_MENU
#define CUSTOM_MENU_ENTRIES 3
*/
#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 <ReefAngel.h>
#include <avr/pgmspace.h>
prog_char menu0_label[] PROGMEM = "Dosing Pump";
prog_char menu1_label[] PROGMEM = "PH Calibration";
prog_char menu2_label[] PROGMEM = "Date / Time";
PROGMEM const char *menu_items[] = {
menu0_label, menu1_label, menu2_label };
void MenuEntry1()
{
ReefAngel.DosingPumpSetup(); <---here is the error, how do I fix it
ReefAngel.DisplayedMenu = ALT_SCREEN_MODE;
}
void MenuEntry2()
{
ReefAngel.SetupCalibratePH();
ReefAngel.DisplayedMenu = ALT_SCREEN_MODE;
}
void MenuEntry3()
{
ReefAngel.SetupDateTime();
ReefAngel.DisplayedMenu = ALT_SCREEN_MODE;
}
void setup()
{
ReefAngel.Init(); //Initialize controller
ReefAngel.InitMenu(pgm_read_word(&(menu_items[0])),SIZE(menu_items));
// Ports that are always on
ReefAngel.Relay.On(Port1);
ReefAngel.Relay.On(Port2);
ReefAngel.Relay.On(Port3);
}
void loop()
{
// Specific functions
ReefAngel.StandardLights(Port4);
ReefAngel.DosingPump1(Port5);
ReefAngel.DosingPump2(Port6);
ReefAngel.StandardHeater(Port7);
ReefAngel.StandardFan(Port8);
ReefAngel.PWM.SetActinic(PWMSlope(10,0,22,0,15,100,60,15));
ReefAngel.PWM.SetDaylight(PWMSlope(11,0,21,0,0,100,60,0));
ReefAngel.ShowInterface();
}
// Autogenerated file by RAGen (v1.2.1.158), (02/17/2012 09:10)
// RA_021712_0910.ino
//
// This version designed for v0.9.0 or later
/* The following features are enabled for this File:
#define DisplayImages
#define DateTimeSetup
#define DisplayLEDPWM
#define DosingPumpSetup
#define CUSTOM_MENU
#define CUSTOM_MENU_ENTRIES 3
*/
#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 <ReefAngel.h>
#include <avr/pgmspace.h>
prog_char menu0_label[] PROGMEM = "Dosing Pump";
prog_char menu1_label[] PROGMEM = "PH Calibration";
prog_char menu2_label[] PROGMEM = "Date / Time";
PROGMEM const char *menu_items[] = {
menu0_label, menu1_label, menu2_label };
void MenuEntry1()
{
ReefAngel.DosingPumpSetup(); <---here is the error, how do I fix it
ReefAngel.DisplayedMenu = ALT_SCREEN_MODE;
}
void MenuEntry2()
{
ReefAngel.SetupCalibratePH();
ReefAngel.DisplayedMenu = ALT_SCREEN_MODE;
}
void MenuEntry3()
{
ReefAngel.SetupDateTime();
ReefAngel.DisplayedMenu = ALT_SCREEN_MODE;
}
void setup()
{
ReefAngel.Init(); //Initialize controller
ReefAngel.InitMenu(pgm_read_word(&(menu_items[0])),SIZE(menu_items));
// Ports that are always on
ReefAngel.Relay.On(Port1);
ReefAngel.Relay.On(Port2);
ReefAngel.Relay.On(Port3);
}
void loop()
{
// Specific functions
ReefAngel.StandardLights(Port4);
ReefAngel.DosingPump1(Port5);
ReefAngel.DosingPump2(Port6);
ReefAngel.StandardHeater(Port7);
ReefAngel.StandardFan(Port8);
ReefAngel.PWM.SetActinic(PWMSlope(10,0,22,0,15,100,60,15));
ReefAngel.PWM.SetDaylight(PWMSlope(11,0,21,0,0,100,60,0));
ReefAngel.ShowInterface();
}
-
rimai
- Posts: 12857
- Joined: Fri Mar 18, 2011 6:47 pm
Re: Adjust dosing pump with joystick
You can't use custom menu nor simple menu.
Use this features file:
And this code:
Use this features file:
Code: Select all
#ifndef __REEFANGEL_FEATURES_H__
#define __REEFANGEL_FEATURES_H__
#define DateTimeSetup
#define VersionMenu
#define DisplayLEDPWM
#define DosingPumpSetup
#endif // __REEFANGEL_FEATURES_H__
Code: Select all
// Autogenerated file by RAGen (v1.2.1.158), (02/17/2012 09:10)
// RA_021712_0910.ino
//
// This version designed for v0.9.0 or later
/* The following features are enabled for this File:
#define DisplayImages
#define DateTimeSetup
#define DisplayLEDPWM
#define DosingPumpSetup
#define CUSTOM_MENU
#define CUSTOM_MENU_ENTRIES 3
*/
#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 <ReefAngel.h>
void setup()
{
ReefAngel.Init(); //Initialize controller
// Ports that are always on
ReefAngel.Relay.On(Port1);
ReefAngel.Relay.On(Port2);
ReefAngel.Relay.On(Port3);
}
void loop()
{
// Specific functions
ReefAngel.StandardLights(Port4);
ReefAngel.DosingPump1(Port5);
ReefAngel.DosingPump2(Port6);
ReefAngel.StandardHeater(Port7);
ReefAngel.StandardFan(Port8);
ReefAngel.PWM.SetActinic(PWMSlope(10,0,22,0,15,100,60,15));
ReefAngel.PWM.SetDaylight(PWMSlope(11,0,21,0,0,100,60,0));
ReefAngel.ShowInterface();
}
Roberto.
-
Adam
- Posts: 38
- Joined: Sun Jan 29, 2012 8:03 am
Re: Adjust dosing pump with joystick
Ok I think I got it, hows this look?
// Autogenerated file by RAGen (v1.2.1.158), (02/17/2012 12:11)
// RA_021712_1211.ino
//
// This version designed for v0.9.0 or later
/* The following features are enabled for this File:
#ifndef __REEFANGEL_FEATURES_H__
#define __REEFANGEL_FEATURES_H__
#define DisplayImages
#define DosingPumpSetup
#define DateTimeSetup
#define VersionMenu
#define DisplayLEDPWM
#define StandardLightSetup
#endif // __REEFANGEL_FEATURES_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 <ReefAngel.h>
void setup()
{
ReefAngel.Init(); //Initialize controller
// Ports that are always on
ReefAngel.Relay.On(Port1);
ReefAngel.Relay.On(Port2);
ReefAngel.Relay.On(Port3);
}
void loop()
{
// Specific functions
ReefAngel.StandardLights(Port4);
ReefAngel.DosingPump1(Port5);
ReefAngel.DosingPump2(Port6);
ReefAngel.StandardHeater(Port7);
ReefAngel.StandardFan(Port8);
ReefAngel.PWM.SetActinic(PWMSlope(10,0,22,0,15,100,60,15));
ReefAngel.PWM.SetDaylight(PWMSlope(11,0,21,0,0,100,60,0));
ReefAngel.ShowInterface();
}
// Autogenerated file by RAGen (v1.2.1.158), (02/17/2012 12:11)
// RA_021712_1211.ino
//
// This version designed for v0.9.0 or later
/* The following features are enabled for this File:
#ifndef __REEFANGEL_FEATURES_H__
#define __REEFANGEL_FEATURES_H__
#define DisplayImages
#define DosingPumpSetup
#define DateTimeSetup
#define VersionMenu
#define DisplayLEDPWM
#define StandardLightSetup
#endif // __REEFANGEL_FEATURES_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 <ReefAngel.h>
void setup()
{
ReefAngel.Init(); //Initialize controller
// Ports that are always on
ReefAngel.Relay.On(Port1);
ReefAngel.Relay.On(Port2);
ReefAngel.Relay.On(Port3);
}
void loop()
{
// Specific functions
ReefAngel.StandardLights(Port4);
ReefAngel.DosingPump1(Port5);
ReefAngel.DosingPump2(Port6);
ReefAngel.StandardHeater(Port7);
ReefAngel.StandardFan(Port8);
ReefAngel.PWM.SetActinic(PWMSlope(10,0,22,0,15,100,60,15));
ReefAngel.PWM.SetDaylight(PWMSlope(11,0,21,0,0,100,60,0));
ReefAngel.ShowInterface();
}
-
rimai
- Posts: 12857
- Joined: Fri Mar 18, 2011 6:47 pm
Re: Adjust dosing pump with joystick
I just want to make sure you understand that the features file I mentioned is an actual file located at "Document\Arduino\libraries\ReefAngel_Features.h"
You have to replace the contents of it with what I posted above.
You have to replace the contents of it with what I posted above.
Roberto.
-
binder
- Posts: 2865
- Joined: Fri Mar 18, 2011 6:20 pm
- Location: Illinois
- Contact:
Re: Adjust dosing pump with joystick
Yeah, those setup screens require a lot of space to include them. That is why the simple and custom menus have most of them removed.
-
Adam
- Posts: 38
- Joined: Sun Jan 29, 2012 8:03 am
Re: Adjust dosing pump with joystick
I do now. Thanks for the help, sorry for being a pain in the ass.
-
rimai
- Posts: 12857
- Joined: Fri Mar 18, 2011 6:47 pm
-
Adam
- Posts: 38
- Joined: Sun Jan 29, 2012 8:03 am
Re: Adjust dosing pump with joystick
OK this is what was in that file
#ifndef __REEFANGEL_FEATURES_H__
#define __REEFANGEL_FEATURES_H__
#define DisplayImages
#define DosingPumpSetup
#define DateTimeSetup
#define VersionMenu
#define DisplayLEDPWM
#define StandardLightSetup
#endif // __REEFANGEL_FEATURES_H__
Do I replace it with exactly what you posted.
#ifndef __REEFANGEL_FEATURES_H__
#define __REEFANGEL_FEATURES_H__
#define DisplayImages
#define DosingPumpSetup
#define DateTimeSetup
#define VersionMenu
#define DisplayLEDPWM
#define StandardLightSetup
#endif // __REEFANGEL_FEATURES_H__
Do I replace it with exactly what you posted.
-
rimai
- Posts: 12857
- Joined: Fri Mar 18, 2011 6:47 pm
-
Adam
- Posts: 38
- Joined: Sun Jan 29, 2012 8:03 am
Re: Adjust dosing pump with joystick
Ok, so this should be it?
// Autogenerated file by RAGen (v1.2.1.158), (02/17/2012 12:11)
// RA_021712_1211.ino
//
// This version designed for v0.9.0 or later
/* The following features are enabled for this File:
#define DisplayImages
#define DosingPumpSetup
#define DateTimeSetup
#define VersionMenu
#define DisplayLEDPWM
#define StandardLightSetup
*/
#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 <ReefAngel.h>
void setup()
{
ReefAngel.Init(); //Initialize controller
// Ports that are always on
ReefAngel.Relay.On(Port1);
ReefAngel.Relay.On(Port2);
ReefAngel.Relay.On(Port3);
}
void loop()
{
// Specific functions
ReefAngel.StandardLights(Port4);
ReefAngel.DosingPump1(Port5);
ReefAngel.DosingPump2(Port6);
ReefAngel.StandardHeater(Port7);
ReefAngel.StandardFan(Port8);
ReefAngel.PWM.SetActinic(PWMSlope(10,0,22,0,15,100,60,15));
ReefAngel.PWM.SetDaylight(PWMSlope(11,0,21,0,0,100,60,0));
ReefAngel.ShowInterface();
}
// Autogenerated file by RAGen (v1.2.1.158), (02/17/2012 12:11)
// RA_021712_1211.ino
//
// This version designed for v0.9.0 or later
/* The following features are enabled for this File:
#define DisplayImages
#define DosingPumpSetup
#define DateTimeSetup
#define VersionMenu
#define DisplayLEDPWM
#define StandardLightSetup
*/
#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 <ReefAngel.h>
void setup()
{
ReefAngel.Init(); //Initialize controller
// Ports that are always on
ReefAngel.Relay.On(Port1);
ReefAngel.Relay.On(Port2);
ReefAngel.Relay.On(Port3);
}
void loop()
{
// Specific functions
ReefAngel.StandardLights(Port4);
ReefAngel.DosingPump1(Port5);
ReefAngel.DosingPump2(Port6);
ReefAngel.StandardHeater(Port7);
ReefAngel.StandardFan(Port8);
ReefAngel.PWM.SetActinic(PWMSlope(10,0,22,0,15,100,60,15));
ReefAngel.PWM.SetDaylight(PWMSlope(11,0,21,0,0,100,60,0));
ReefAngel.ShowInterface();
}
-
rimai
- Posts: 12857
- Joined: Fri Mar 18, 2011 6:47 pm
-
Adam
- Posts: 38
- Joined: Sun Jan 29, 2012 8:03 am
Re: Adjust dosing pump with joystick
yeah I think i already noticed it wont work, its 31400 bytes and my internal memory is 4944 bytes. 4088 bytes to much.
-
rimai
- Posts: 12857
- Joined: Fri Mar 18, 2011 6:47 pm
-
Adam
- Posts: 38
- Joined: Sun Jan 29, 2012 8:03 am
Re: Adjust dosing pump with joystick
Good news, it worked. I can change Dosing pump 1 and 2 time it comes on and the seconds they run. I can also change standerd light time , heater/fan temp, calibrate ph,feeding mode, and water change mode. It will run pwmslope but you can't change the values, you can manualy chage the % the leds are at. It still has all the display of temp, ph,led, and sockets. This is the perfect program thanks to ALOT of help from Roberto!
// Autogenerated file by RAGen (v1.2.1.158), (02/17/2012 12:11)
// RA_021712_1211.ino
//
// This version designed for v0.9.0 or later
/* The following features are enabled for this File:
#define DisplayImages
#define DosingPumpSetup
#define DateTimeSetup
#define VersionMenu
#define DisplayLEDPWM
#define StandardLightSetup
*/
#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 <ReefAngel.h>
void setup()
{
ReefAngel.Init(); //Initialize controller
// Ports that are always on
ReefAngel.Relay.On(Port1);
ReefAngel.Relay.On(Port2);
ReefAngel.Relay.On(Port3);
}
void loop()
{
// Specific functions
ReefAngel.StandardLights(Port4);
ReefAngel.DosingPump1(Port5);
ReefAngel.DosingPump2(Port6);
ReefAngel.StandardHeater(Port7);
ReefAngel.StandardFan(Port8);
ReefAngel.PWM.SetActinic(PWMSlope(10,0,22,0,15,100,60,15));
ReefAngel.PWM.SetDaylight(PWMSlope(11,0,21,0,0,100,60,0));
ReefAngel.ShowInterface();
}
// Autogenerated file by RAGen (v1.2.1.158), (02/17/2012 12:11)
// RA_021712_1211.ino
//
// This version designed for v0.9.0 or later
/* The following features are enabled for this File:
#define DisplayImages
#define DosingPumpSetup
#define DateTimeSetup
#define VersionMenu
#define DisplayLEDPWM
#define StandardLightSetup
*/
#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 <ReefAngel.h>
void setup()
{
ReefAngel.Init(); //Initialize controller
// Ports that are always on
ReefAngel.Relay.On(Port1);
ReefAngel.Relay.On(Port2);
ReefAngel.Relay.On(Port3);
}
void loop()
{
// Specific functions
ReefAngel.StandardLights(Port4);
ReefAngel.DosingPump1(Port5);
ReefAngel.DosingPump2(Port6);
ReefAngel.StandardHeater(Port7);
ReefAngel.StandardFan(Port8);
ReefAngel.PWM.SetActinic(PWMSlope(10,0,22,0,15,100,60,15));
ReefAngel.PWM.SetDaylight(PWMSlope(11,0,21,0,0,100,60,0));
ReefAngel.ShowInterface();
}
-
rimai
- Posts: 12857
- Joined: Fri Mar 18, 2011 6:47 pm
-
Adam
- Posts: 38
- Joined: Sun Jan 29, 2012 8:03 am
Re: Adjust dosing pump with joystick
I was checking my dosing pumps at the time they were supose to run I noticed they are not running at all. The pumps still work but the controller isn't turning on plugs 5 and 6. On the display screen the 5 and 6 stay red. I have it set to run at 10 am for 40 seconds.
-
rimai
- Posts: 12857
- Joined: Fri Mar 18, 2011 6:47 pm
Re: Adjust dosing pump with joystick
Bug 
Thanks for finding it!!!
I fixed it.
Will release soon.
Thanks for finding it!!!
I fixed it.
Will release soon.
Roberto.
-
Adam
- Posts: 38
- Joined: Sun Jan 29, 2012 8:03 am
Re: Adjust dosing pump with joystick
Hey if you need it broken I'm your man.
-
rimai
- Posts: 12857
- Joined: Fri Mar 18, 2011 6:47 pm
Re: Adjust dosing pump with joystick
Curt just told me he pushed 0.9.1.
Do you want to try it now?
You can update your libraries with the update utility.
http://www.reefangel.com/update
Do you want to try it now?
You can update your libraries with the update utility.
http://www.reefangel.com/update
Roberto.
-
Adam
- Posts: 38
- Joined: Sun Jan 29, 2012 8:03 am
Re: Adjust dosing pump with joystick
Yes, I will down load it and try it. I will besure to run the updater again in a few days incase MR.Bender changes something.
-
Adam
- Posts: 38
- Joined: Sun Jan 29, 2012 8:03 am
Re: Adjust dosing pump with joystick
I did a dry run right here at my desk, and it did turn on the port for my dosing pump. I will watch today and make sure everything works right.
-
Adam
- Posts: 38
- Joined: Sun Jan 29, 2012 8:03 am
Re: Adjust dosing pump with joystick
Had a strange issue with my dosing pump last night. The pumps kicked on at 8pm when they are clearly set to run one time at 10am for 45 seconds. I have not noticed if they have run at any other times I haven't watched it that close. Only thing I can come up with is in the internal memory it has DP1 and DP2 repeatinterval_write (60). But when I made the code with RAGen I did not select dosingpump repeat interval.
I will reload the internal memory with 0 next to the repeat interval to see if that fixes it.
I will reload the internal memory with 0 next to the repeat interval to see if that fixes it.
-
rimai
- Posts: 12857
- Joined: Fri Mar 18, 2011 6:47 pm
Re: Adjust dosing pump with joystick
I think you just found another bug 
I think what is happening is that when we changed the code to this new method, we broke a fundamental requirement that it is supposed to be used one time only.
What is happening right now is that because you set it to 10am, the controller calculates how many minutes from midnight it should run, in this case, it is 600 minutes (10hours). Then, every 600 minutes, it will do that again. Which means that at 1200 minutes (8pm) it will repeat the cycle.
I'll have to work on a fix to this bug.
If you schedule the dosing in the pm instead of am, it will only dose once, until I get a fix for this.
I think what is happening is that when we changed the code to this new method, we broke a fundamental requirement that it is supposed to be used one time only.
What is happening right now is that because you set it to 10am, the controller calculates how many minutes from midnight it should run, in this case, it is 600 minutes (10hours). Then, every 600 minutes, it will do that again. Which means that at 1200 minutes (8pm) it will repeat the cycle.
I'll have to work on a fix to this bug.
If you schedule the dosing in the pm instead of am, it will only dose once, until I get a fix for this.
Roberto.
-
Adam
- Posts: 38
- Joined: Sun Jan 29, 2012 8:03 am
Re: Adjust dosing pump with joystick
OK I think I have one more for you. I watched the pumps run at 10am, dp1 is set by the controller to run for 45 sec. Dp2 is set to run 40 secin the internal memory. They both ran 40 sec. So changing the setting from the controller isn't working either. I think I will just unplug the pumps for now and dose manually may alk has gone up to fast in the past 2 days.
-
rimai
- Posts: 12857
- Joined: Fri Mar 18, 2011 6:47 pm
Re: Adjust dosing pump with joystick
Please download the latest libraries using the update utility.
http://www.reefangel.com/update
http://www.reefangel.com/update
Roberto.
-
Adam
- Posts: 38
- Joined: Sun Jan 29, 2012 8:03 am
Re: Adjust dosing pump with joystick
It seems to be working, looks like that fixed it. Thanks again for all the help.
