Page 1 of 1
Jebao battery backup and feeding mode
Posted: Mon Oct 13, 2014 3:49 pm
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??
Re: Jebao battery backup and feeding mode
Posted: Mon Oct 13, 2014 6:04 pm
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;
Re: Jebao battery backup and feeding mode
Posted: Tue Oct 14, 2014 5:43 am
by wolffman64
Ah, I see! Thanks Roberto you're a star
Re: Jebao battery backup and feeding mode
Posted: Sun Feb 01, 2015 7:34 am
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
Re: Jebao battery backup and feeding mode
Posted: Sun Feb 01, 2015 9:00 am
by rimai
Just to be sure, your battery backup is connected to the wall outlet, correct?
Re: Jebao battery backup and feeding mode
Posted: Sun Feb 01, 2015 3:34 pm
by davaraj
The battery backup is connected to batteries which are in turn connected to a sloar panel. Not connected to wall outlet.
Re: Jebao battery backup and feeding mode
Posted: Sun Feb 01, 2015 4:18 pm
by rimai
Sorry, I meant the Jebao power supplies.
Re: Jebao battery backup and feeding mode
Posted: Sun Feb 01, 2015 7:24 pm
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).
Re: Jebao battery backup and feeding mode
Posted: Sun Feb 01, 2015 7:25 pm
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.
Re: Jebao battery backup and feeding mode
Posted: Sun Feb 01, 2015 7:53 pm
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