dosing pumps help

Do you have a question on how to do something.
Ask in here.
Post Reply
tunatime
Posts: 11
Joined: Sun Nov 03, 2013 10:26 pm

dosing pumps help

Post by tunatime »

how do i track when a pump comes on so i know that they are running when they should and what not.

i also saw some one calibrating the pumps and dosing by the ml.

i know you need custom code to do this stuff but i dont know to much about coding or what lines i need to use. does any one have any code that i can use that's just for this?
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: dosing pumps help

Post by lnevo »

That would be me. I did write a standalone batch of code that was easier to use, you'd have to search for it though. If you can find the thread I'll help you get it integrated for your code.
tunatime
Posts: 11
Joined: Sun Nov 03, 2013 10:26 pm

Re: dosing pumps help

Post by tunatime »

I finely have a chance to play around whit the ra this week and I looked and I dont see just that code posted anywhere.

And for some reason my alk is 1/2 full and the ca is about 3/4 full whit the pumps runing the same amount of time a hour and the drip rate looks about the same between pumps.

I would really like a way to track that the pumps are runing when they should be but have no cule how to do this
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: dosing pumps help

Post by lnevo »

No two dosing pumps will pump the same rate. You need to calibrate them to find the actual rate. Post your code and I'll see what I can find thats been done so you can load. I may have some time tomorrow to get you something back. You'll still need to do the calibration at some point.
tunatime
Posts: 11
Joined: Sun Nov 03, 2013 10:26 pm

Re: dosing pumps help

Post by tunatime »

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 <InternalEEPROM.h>
#include <RA_Colors.h>
#include <RA_CustomColors.h>
#include <Salinity.h>
#include <RF.h>
#include <IO.h>
#include <ORP.h>
#include <AI.h>
#include <PH.h>
#include <WaterLevel.h>
#include <Humidity.h>
#include <DCPump.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
    ReefAngel.Use2014Screen();  // Let's use 2014 Screen 
    // Ports toggled in Feeding Mode
    ReefAngel.FeedingModePorts = Port4Bit;
    // Ports toggled in Water Change Mode
    ReefAngel.WaterChangePorts = Port4Bit | Port5Bit;
    // Ports toggled when Lights On / Off menu entry selected
    ReefAngel.LightsOnPorts = 0;
    // Ports turned off when Overheat temperature exceeded
    ReefAngel.OverheatShutoffPorts = Port6Bit;
    // Use T1 probe as temperature and overheat functions
    ReefAngel.TempProbe = T1_PROBE;
    ReefAngel.OverheatProbe = T1_PROBE;
    // Set the Overheat temperature setting
    InternalMemory.OverheatTemp_write( 840 );

    // Feeeding and Water Change mode speed
    ReefAngel.DCPump.FeedingSpeed=0;
    ReefAngel.DCPump.WaterChangeSpeed=0;


    // Ports that are always on
    ReefAngel.Relay.On( Port1 );
    ReefAngel.Relay.On( Port2 );
    ReefAngel.Relay.On( Port3 );
    ReefAngel.Relay.On( Port4 );
    ReefAngel.Relay.On( Port5 );

    ////// Place additional initialization code below here
    

    ////// Place additional initialization code above here
}

void loop()
{
    ReefAngel.StandardHeater( Port6,780,790 );
    ReefAngel.DosingPumpRepeat( Port7,0,60,5 );
    ReefAngel.DosingPumpRepeat( Port8,5,60,7 );
    ReefAngel.DCPump.UseMemory = false;
    ReefAngel.DCPump.SetMode( ReefCrest,75,10 );
    ReefAngel.DCPump.DaylightChannel = Sync;
    ReefAngel.DCPump.ActinicChannel = AntiSync;
    ////// Place your custom code below here
    

    ////// Place your custom code above here

    // This should always be the last line
    ReefAngel.Portal( "tunatime" );
    ReefAngel.ShowInterface();
}

does that look right?
mudcat1
Posts: 133
Joined: Sun Dec 09, 2012 7:23 pm

Re: dosing pumps help

Post by mudcat1 »

lnevo wrote:That would be me. I did write a standalone batch of code that was easier to use, you'd have to search for it though. If you can find the thread I'll help you get it integrated for your code.
Lee, does this post http://forum.reefangel.com/viewtopic.php?f=12&t=3262 contain the standalone batch code that you are referring too?
Rwejn12
Posts: 1
Joined: Wed Nov 26, 2014 11:30 pm

Re: dosing pumps help

Post by Rwejn12 »

I'm new to this forum
Then no idea, I let the experts answer.
Last edited by Rwejn12 on Sun Nov 30, 2014 11:08 pm, edited 1 time in total.
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: dosing pumps help

Post by lnevo »

Thats the post. There's another where I helped ecam with his also.
Post Reply