Jebao battery backup and feeding mode

Expansion modules and attachments
Post Reply
wolffman64
Posts: 62
Joined: Mon Feb 24, 2014 9:38 pm
Location: Sydney, Australia

Jebao battery backup and feeding mode

Post by wolffman64 »

Hi,
I just rewired the whole RA setup over the weekend (will post pics later), and also installed the Jebao battery backup. The backup worked great right out of the box (just need to monitor the solar charger over the next days). I tested the power cut scenario, and the backup kicked in as planned, but I was pleasantly surprised at how much power that was still supplied to my two WP-40 when they were on battery power.

I have one problem though, and it's in the feeding mode. When I start feeding mode, which powers off my 5 circulation pumps including the WP-40, the backup interprets this as a power cut and the battery backup kicks in. This is of course not what I want.

Have I wired it incorrectly, or is there something that needs to be changed in the programming??
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Jebao battery backup and feeding mode

Post by rimai »

I think instead of shutting down the relay ports, you should add this to setup():

Code: Select all

  ReefAngel.DCPump.FeedingSpeed=0;
  ReefAngel.DCPump.WaterChangeSpeed=0;
Roberto.
wolffman64
Posts: 62
Joined: Mon Feb 24, 2014 9:38 pm
Location: Sydney, Australia

Re: Jebao battery backup and feeding mode

Post by wolffman64 »

Ah, I see! Thanks Roberto you're a star :-)
davaraj
Posts: 98
Joined: Sun Jul 21, 2013 8:18 am

Re: Jebao battery backup and feeding mode

Post by davaraj »

rimai wrote:I think instead of shutting down the relay ports, you should add this to setup():

Code: Select all

  ReefAngel.DCPump.FeedingSpeed=0;
  ReefAngel.DCPump.WaterChangeSpeed=0;
I added the above code for feeding mode, but the jebao wavemakers are still running with battery backup. I am not using the DCPump class in the code. My wavemakers have these codes:

ReefAngel.PWM.SetDaylight(SineMode(32,40,30,true) ); //SineMode from 30% to 40% for 30 seconds on sync mode
ReefAngel.PWM.SetActinic(SineMode(32,40,30,false) ); //SineMode from 30% to 40% for 30 seconds on anti-sync mode

Is there another code I can add to slow the pump speed to '0' when switched to feeding mode.

Dr Davaraj
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Jebao battery backup and feeding mode

Post by rimai »

Just to be sure, your battery backup is connected to the wall outlet, correct?
Roberto.
davaraj
Posts: 98
Joined: Sun Jul 21, 2013 8:18 am

Re: Jebao battery backup and feeding mode

Post by davaraj »

The battery backup is connected to batteries which are in turn connected to a sloar panel. Not connected to wall outlet.
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Jebao battery backup and feeding mode

Post by rimai »

Sorry, I meant the Jebao power supplies.
Roberto.
davaraj
Posts: 98
Joined: Sun Jul 21, 2013 8:18 am

Re: Jebao battery backup and feeding mode

Post by davaraj »

rimai wrote:Sorry, I meant the Jebao power supplies.
The Jebao power supplies are on port 5 and port 6 of the relay box (not wireless).
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Jebao battery backup and feeding mode

Post by rimai »

If you want to keep them on the relay box, make sure to not turn them off when on feeding or the battery is going to kick in.
Roberto.
davaraj
Posts: 98
Joined: Sun Jul 21, 2013 8:18 am

Re: Jebao battery backup and feeding mode

Post by davaraj »

rimai wrote:If you want to keep them on the relay box, make sure to not turn them off when on feeding or the battery is going to kick in.
So if I take this off from the code:

ReefAngel.FeedingModePorts = Port5Bit | Port6Bit;

and keep this on:

ReefAngel.DCPump.FeedingSpeed=0;


it should work.

Dr Davaraj
Image
Post Reply